File tree 1 file changed +3
-5
lines changed
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
78
78
BalancedRandomForestClassifier(...)
79
79
>>> y_pred = brf.predict(X_test)
80
80
>>> 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...
84
82
85
83
.. _boosting :
86
84
@@ -99,7 +97,7 @@ a boosting iteration [SKHN2010]_::
99
97
RUSBoostClassifier(...)
100
98
>>> y_pred = rusboost.predict(X_test)
101
99
>>> balanced_accuracy_score(y_test, y_pred) # doctest: +ELLIPSIS
102
- 0.66 ...
100
+ 0.6 ...
103
101
104
102
A specific method which uses ``AdaBoost `` as learners in the bagging classifier
105
103
is called EasyEnsemble. The :class: `EasyEnsembleClassifier ` allows to bag
@@ -113,7 +111,7 @@ ensemble as::
113
111
EasyEnsembleClassifier(...)
114
112
>>> y_pred = eec.predict(X_test)
115
113
>>> balanced_accuracy_score(y_test, y_pred) # doctest: +ELLIPSIS
116
- 0.62 ...
114
+ 0.6 ...
117
115
118
116
.. topic :: Examples
119
117
You can’t perform that action at this time.
0 commit comments