JuliaAI / StatisticalTraits.jl

Other
3 stars 2 forks source link

add `reports_feature_importances` trait. #23

Closed OkonSamuel closed 2 years ago

OkonSamuel commented 2 years ago

This PR adds a new trait reports_feature_importances which is overloaded for models reporting intrinsic feature importances e.g RandomForestClassifier.

cc. @ablaom

ablaom commented 2 years ago

@OkonSamuel Unless you have a new argument against it, I think we rename instrinsic_importances -> feature_importances.

codecov-commenter commented 2 years ago

Codecov Report

Merging #23 (b64f800) into dev (b3e4064) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               dev       #23   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           58        59    +1     
=========================================
+ Hits            58        59    +1     
Impacted Files Coverage Δ
src/StatisticalTraits.jl 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b3e4064...b64f800. Read the comment docs.