8000 Updated documentation for RandomTreesEmbedding attributes · scikit-learn/scikit-learn@7b87aef · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b87aef

Browse files
committed
Updated documentation for RandomTreesEmbedding attributes
1 parent 0ed036b commit 7b87aef

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

sklearn/ensemble/_forest.py

+16
Original file line numberDiff line numberDiff line change
@@ -2094,9 +2094,25 @@ class RandomTreesEmbedding(BaseForest):
20942094
20952095
Attributes
20962096
----------
2097+
base_estimator_ : DecisionTreeClassifier
2098+
The child estimator template used to create the collection of fitted
2099+
sub-estimators.
2100+
20972101
estimators_ : list of DecisionTreeClassifier
20982102
The collection of fitted sub-estimators.
20992103
2104+
feature_importances_ : ndarray of shape (n_features,)
2105+
The feature importances (the higher, the more important the feature).
2106+
2107+
n_features_ : int
2108+
The number of features when ``fit`` is performed.
2109+
2110+
n_outputs_ : int
2111+
The number of outputs when ``fit`` is performed.
2112+
2113+
one_hot_encoder_ : OneHotEncoder
2114+
Returns the one-hot encoder used to create the sparse matrix.
2115+
21002116
References
21012117
----------
21022118
.. [1] P. Geurts, D. Ernst., and L. Wehenkel, "Extremely randomized trees",

0 commit comments

Comments
 (0)
0