scikit-learn-contrib / hiclass

A python library for hierarchical classification compatible with scikit-learn
BSD 3-Clause "New" or "Revised" License
114 stars 20 forks source link

Function to change local classifier #100

Open ashishpatel16 opened 11 months ago

ashishpatel16 commented 11 months ago

As of now, there is no functionality to update a classifier, one must recreate a new instance of the Hierarchical classifier. This PR adds a new method to update the local classifier model used.

codecov-commenter commented 11 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (a4c79e8) 98.40% compared to head (13feb3f) 98.25%.

Files Patch % Lines
hiclass/HierarchicalClassifier.py 83.33% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #100 +/- ## ========================================== - Coverage 98.40% 98.25% -0.16% ========================================== Files 8 8 Lines 566 572 +6 ========================================== + Hits 557 562 +5 - Misses 9 10 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.