We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00c2f41 commit 39bd736Copy full SHA for 39bd736
1 file changed
sklearn/ensemble/forest.py
@@ -1896,6 +1896,9 @@ class RandomTreesEmbedding(BaseForest):
1896
1897
"""
1898
1899
+ criterion = 'mse'
1900
+ max_features = 1
1901
+
1902
def __init__(self,
1903
n_estimators='warn',
1904
max_depth=5,
@@ -1925,12 +1928,10 @@ def __init__(self,
1925
1928
verbose=verbose,
1926
1929
warm_start=warm_start)
1927
1930
- self.criterion = 'mse'
1931
self.max_depth = max_depth
1932
self.min_samples_split = min_samples_split
1933
self.min_samples_leaf = min_samples_leaf
1934
self.min_weight_fraction_leaf = min_weight_fraction_leaf
- self.max_features = 1
1935
self.max_leaf_nodes = max_leaf_nodes
1936
self.min_impurity_decrease = min_impurity_decrease
1937
self.min_impurity_split = min_impurity_split
0 commit comments