Skip to content

Commit

Permalink
DOCS: Refer to sklearn's permutation_importance()
Browse files Browse the repository at this point in the history
  • Loading branch information
sebp committed Jan 4, 2025
1 parent ed98073 commit 9abf0e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sksurv/ensemble/forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ class RandomSurvivalForest(SurvivalAnalysisMixin, _BaseSurvivalForest):
`min_impurity_decrease` or `min_impurity_split` are absent.
In addition, the `feature_importances_` attribute is not available.
It is recommended to estimate feature importances via
`permutation-based methods <https://eli5.readthedocs.io>`_.
:func:`sklearn.inspection.permutation_importance`.
The features are always randomly permuted at each split. Therefore,
the best found split may vary, even with the same training data,
Expand Down

0 comments on commit 9abf0e1

Please sign in to comment.