Closed ablaom closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 88.07%. Comparing base (
44ca101
) to head (059703a
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
A model that supports features importances exposes these via the method
feature_importances
. However, these importances are hidden if the model is wrapped inTransformedTargetModel
or is part of a pipeline. This PR implementsfeature_importances
(and the traitreports_feature_importances
) for these two wrappers by forwarding the atomic methods.For testing purposes, the test model
DecisionTreeClassifier
in /test/_models/DecisionTree.jl has been updated to support feature importances.@OkonSamuel