-
Notifications
You must be signed in to change notification settings - Fork 8
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 feature_importances
stub
#148
Conversation
intrinsic_importances
stub feature_importances
stub
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks @OkonSamuel
Codecov Report
@@ Coverage Diff @@
## dev #148 +/- ##
==========================================
+ Coverage 88.95% 88.99% +0.03%
==========================================
Files 8 8
Lines 326 327 +1
==========================================
+ Hits 290 291 +1
Misses 36 36
Continue to review full report at Codecov.
|
* add `feature_importances` stub (#148) * add intrinsic_importances stub and set fallback to othing. * fix error in intrinsic_importances docstring. * rename intrinsic_importances method to eature_importances. * remove fallback for eature_importances. * Update src/model_api.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * bump 1.5 Co-authored-by: Okon Samuel <[email protected]>
* add `feature_importances` stub (#148) * add intrinsic_importances stub and set fallback to othing. * fix error in intrinsic_importances docstring. * rename intrinsic_importances method to eature_importances. * remove fallback for eature_importances. * Update src/model_api.jl Co-authored-by: Anthony Blaom, PhD <[email protected]> * bump 1.5 * Update `metadata_model` to include traits for feature importances and training losses (#155) * + supports_training_losses,reports_feature_importances to model_metadata * bump 1.5.1 * bump StatisticalTraits = "3.1" Co-authored-by: Okon Samuel <[email protected]>
This PR adds
feature_importances
stub. Models which overload this method must also overload the
reports_feature_importances` trait.Requires:
reports_feature_importances
trait. StatisticalTraits.jl#23Note
feature_importances
stub isn't exported in line with the goals set in this issue