@@ -1570,15 +1570,15 @@ ever-increasing influence. Each subsequent weak learner is thereby forced to
15701570concentrate on the examples that are missed by the previous ones in the sequence
15711571[HTF ]_.
15721572
1573- .. figure :: ../auto_examples/ensemble/images/sphx_glr_plot_adaboost_hastie_10_2_001 .png
1574- :target: ../auto_examples/ensemble/plot_adaboost_hastie_10_2 .html
1573+ .. figure :: ../auto_examples/ensemble/images/sphx_glr_plot_adaboost_multiclass_001 .png
1574+ :target: ../auto_examples/ensemble/plot_adaboost_multiclass .html
15751575 :align: center
15761576 :scale: 75
15771577
15781578AdaBoost can be used both for classification and regression problems:
15791579
15801580 - For multi-class classification, :class: `AdaBoostClassifier ` implements
1581- AdaBoost-SAMME and AdaBoost-SAMME.R [ZZRH2009 ]_.
1581+ AdaBoost.SAMME [ZZRH2009 ]_.
15821582
15831583 - For regression, :class: `AdaBoostRegressor ` implements AdaBoost.R2 [D1997 ]_.
15841584
@@ -1593,7 +1593,7 @@ learners::
15931593 >>> from sklearn.ensemble import AdaBoostClassifier
15941594
15951595 >>> X, y = load_iris(return_X_y=True)
1596- >>> clf = AdaBoostClassifier(n_estimators=100)
1596+ >>> clf = AdaBoostClassifier(n_estimators=100, algorithm="SAMME", )
15971597 >>> scores = cross_val_score(clf, X, y, cv=5)
15981598 >>> scores.mean()
15991599 0.9...
@@ -1608,12 +1608,8 @@ minimum required number of samples to consider a split ``min_samples_split``).
16081608
16091609.. topic :: Examples:
16101610
1611- * :ref: `sphx_glr_auto_examples_ensemble_plot_adaboost_hastie_10_2.py ` compares the
1612- classification error of a decision stump, decision tree, and a boosted
1613- decision stump using AdaBoost-SAMME and AdaBoost-SAMME.R.
1614-
16151611 * :ref: `sphx_glr_auto_examples_ensemble_plot_adaboost_multiclass.py ` shows the performance
1616- of AdaBoost-SAMME and AdaBoost-SAMME.R on a multi-class problem.
1612+ of AdaBoost on a multi-class problem.
16171613
16181614 * :ref: `sphx_glr_auto_examples_ensemble_plot_adaboost_twoclass.py ` shows the decision boundary
16191615 and decision function values for a non-linearly separable two-class problem
@@ -1634,4 +1630,3 @@ minimum required number of samples to consider a split ``min_samples_split``).
16341630
16351631 .. [HTF ] T. Hastie, R. Tibshirani and J. Friedman, "Elements of
16361632 Statistical Learning Ed. 2", Springer, 2009.
1637-
0 commit comments