Skip to content

Commit

Permalink
add more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
auguste-probabl committed Mar 3, 2025
1 parent c41f36d commit 98f25b8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ def coefficients(self) -> pd.DataFrame:
def mean_decrease_impurity(self):
"""Retrieve the mean decrease impurity of a forest model.
This method is available for estimators that expose a `feature_importances_`
attribute. See for example the
`sklearn.ensemble.GradientBoostingClassifier documentation <https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.GradientBoostingClassifier.html#sklearn.ensemble.GradientBoostingClassifier.feature_importances_>`_.
Examples
--------
>>> from sklearn.datasets import make_classification
Expand Down

0 comments on commit 98f25b8

Please sign in to comment.