File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -78,9 +78,7 @@ each tree of the forest will be provided a balanced bootstrap sample
7878 BalancedRandomForestClassifier(...)
7979 >>> y_pred = brf.predict(X_test)
8080 >>> balanced_accuracy_score(y_test, y_pred) # doctest: +ELLIPSIS
81- 0.80...
82- >>> brf.feature_importances_ # doctest: +ELLIPSIS
83- array([ 0.57..., 0.42...])
81+ 0.8...
8482
8583.. _boosting :
8684
@@ -99,7 +97,7 @@ a boosting iteration [SKHN2010]_::
9997 RUSBoostClassifier(...)
10098 >>> y_pred = rusboost.predict(X_test)
10199 >>> balanced_accuracy_score(y_test, y_pred) # doctest: +ELLIPSIS
102- 0.66 ...
100+ 0.6 ...
103101
104102A specific method which uses ``AdaBoost `` as learners in the bagging classifier
105103is called EasyEnsemble. The :class: `EasyEnsembleClassifier ` allows to bag
@@ -113,7 +111,7 @@ ensemble as::
113111 EasyEnsembleClassifier(...)
114112 >>> y_pred = eec.predict(X_test)
115113 >>> balanced_accuracy_score(y_test, y_pred) # doctest: +ELLIPSIS
116- 0.62 ...
114+ 0.6 ...
117115
118116.. topic :: Examples
119117
You can’t perform that action at this time.
0 commit comments