8000 ENH Improve speed plot_adaboost_multiclass.py (#21651) · scikit-learn/scikit-learn@9b34ed5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9b34ed5

Browse files
Sven Eschlbeckglemaitre
Sven Eschlbeck
authored andcommitted
ENH Improve speed plot_adaboost_multiclass.py (#21651)
1 parent 3cebf71 commit 9b34ed5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/ensemble/plot_adaboost_multiclass.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
y_train, y_test = y[:n_split], y[n_split:]
4747

4848
bdt_real = AdaBoostClassifier(
49-
DecisionTreeClassifier(max_depth=2), n_estimators=600, learning_rate=1
49+
DecisionTreeClassifier(max_depth=2), n_estimators=300, learning_rate=1
5050
)
5151

5252
bdt_discrete = AdaBoostClassifier(
5353
DecisionTreeClassifier(max_depth=2),
54-
n_estimators=600,
54+
n_estimators=300,
5555
learning_rate=1.5,
5656
algorithm="SAMME",
5757
)

0 commit comments

Comments
 (0)
0