Skip to content

Commit 8b11705

Browse files
committed
typos
1 parent 2182417 commit 8b11705

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

examples/applications/plot_impact_imbalanced_classes.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,9 @@ def evaluate_classifier(clf, df_scores, clf_name=None):
396396
df_scores
397397

398398
###############################################################################
399-
# When we analyse the results, we can draw a similar conclusion than in the
399+
# When we analyse the results, we can draw similar conclusions than in the
400400
# previous discussion. However, we can observe that the strategy
401-
# `class_weight="balanced"` does not improve the performance. A resampling is
402-
# indeed required. The most effective method remains the
403-
# `BalancedBaggingClassifier` using a GBDT as a base learner.
401+
# `class_weight="balanced"` does not improve the performance when using a
402+
# `RandomForestClassifier`. A resampling is indeed required. The most effective
403+
# method remains the `BalancedBaggingClassifier` using a GBDT as a base
404+
# learner.

0 commit comments

Comments
 (0)