-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add multi-label Classification Support #minor #76
Conversation
In the reference paper the exlusive policies make the selection of positive or negative examples based on the notion of the "most specific class" of instance, for example ["1", "1.1"] having the most specific class "1.1". This was not respected before.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #76 +/- ##
=======================================
Coverage ? 96.86%
=======================================
Files ? 11
Lines ? 1086
Branches ? 0
=======================================
Hits ? 1052
Misses ? 34
Partials ? 0 ☔ View full report in Codecov by Sentry. |
The tag skips the check_estimator_sparse_data in the sklearn compatiable_estimator suit. This is done since sklearn requires the result to be at most 2 dimensional, however the multi-label output has 3 dimensions.
For some reason the documentation build is failing with the last commits. @agemcipe can you please take a look? Here is the log and I can also give you access to read the docs if it makes things easier. |
Co-authored-by: mirand863 <[email protected]>
Co-authored-by: mirand863 <[email protected]>
Co-authored-by: mirand863 <[email protected]>
The goal of this PR is to implement multi-label hierarchical classification thereby lifting the restriction that the target variable has to correspond to a single well-defined path from root to most specific class in the hierarchy. Instead, multiple paths can be specified and in turn, trained on and predicted. Closes #23
Additionally, this PR also fixes #75