Skip to content

Commit b6f124c

Browse files
NicholasWon47rth
authored andcommitted
MAINT Improve variable order in BaseDecisionTree (scikit-learn#15664)
1 parent e254b30 commit b6f124c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/tree/_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ def __init__(self,
104104
self.min_samples_leaf = min_samples_leaf
105105
self.min_weight_fraction_leaf = min_weight_fraction_leaf
106106
self.max_features = max_features
107-
self.random_state = random_state
108107
self.max_leaf_nodes = max_leaf_nodes
108+
self.random_state = random_state
109109
self.min_impurity_decrease = min_impurity_decrease
110110
self.min_impurity_split = min_impurity_split
111111
self.class_weight = class_weight

0 commit comments

Comments
 (0)