Skip to content

Conversation

ngtduc693
Copy link
Contributor

@ngtduc693 ngtduc693 commented Oct 5, 2025

Summary

This PR introduces a new implementation of the Decision Tree algorithm (ID3, binary classification) to this module. Decision Trees are widely used in AI/ML for interpretable classification tasks, especially with categorical features.

Unit Test Evidence

image

Build Passed Evidence

image
  • I have performed a self-review of my code
  • My code follows the style guidelines of this project
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Comments in areas I changed are up to date
  • I have added comments to hard-to-understand areas of my code
  • I have made corresponding changes to the README.md

@ngtduc693 ngtduc693 marked this pull request as ready for review October 5, 2025 03:35
@ngtduc693 ngtduc693 requested a review from siriak as a code owner October 5, 2025 03:35
Copy link

codecov bot commented Oct 5, 2025

Codecov Report

❌ Patch coverage is 90.19608% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.58%. Comparing base (e2c20ed) to head (a304f19).

Files with missing lines Patch % Lines
Algorithms/MachineLearning/DecisionTree.cs 90.19% 6 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #541      +/-   ##
==========================================
- Coverage   96.64%   96.58%   -0.06%     
==========================================
  Files         275      276       +1     
  Lines       10865    10967     +102     
  Branches     1541     1563      +22     
==========================================
+ Hits        10500    10592      +92     
- Misses        232      238       +6     
- Partials      133      137       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ngtduc693 ngtduc693 marked this pull request as draft October 5, 2025 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant