Skip to content

Commit 4fb6c88

Browse files
committed
DOC: narrative documentation on feature importances
1 parent 46f4e91 commit 4fb6c88

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

doc/modules/ensemble.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,11 @@ a :class:`ExtraTreesClassifier` model.
199199
:align: center
200200
:scale: 75
201201

202-
In practice those estimates can be computed by explicitly passing
203-
``compute_importances=True`` to the constructor of the decision trees,
204-
random forest and extremely randomized trees models. The result is stored
205-
as an attribute named ``feature_importances_`` on the fitted model. This
206-
is an array with shape ``(n_features,)`` whose values are positive and sum
207-
to 1.0. The higher the value, the more important is the contribution of
208-
the matching feature to the prediction function.
202+
In practice those estimates are stored as an attribute named
203+
``feature_importances_`` on the fitted model. This is an array with shape
204+
``(n_features,)`` whose values are positive and sum to 1.0. The higher
205+
the value, the more important is the contribution of the matching feature
206+
to the prediction function.
209207

210208
.. topic:: Examples:
211209

0 commit comments

Comments
 (0)