Skip to content

Commit

Permalink
fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
auguste-probabl committed Mar 4, 2025
1 parent 974b467 commit aed6a01
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ def mean_decrease_impurity(self):
... )
>>> report.feature_importance.mean_decrease_impurity()
Mean decrease impurity
Feature #0 0.09...
Feature #1 0.32...
Feature #2 0.05...
Feature #3 0.51...
Feature #4 0.01...
Feature #0 0.06...
Feature #1 0.19...
Feature #2 0.01...
Feature #3 0.69...
Feature #4 0.02...
"""
parent_estimator = self._parent.estimator_
estimator = (
Expand Down

0 comments on commit aed6a01

Please sign in to comment.