Skip to content

Commit fc79b98

Browse files
Asif PAsif P
authored andcommitted
[DOC] Add warning about over-sampling limitations
1 parent 6cdb18e commit fc79b98

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

doc/over_sampling.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _over-sampling:
1+
oo.. _over-sampling:
22

33
=============
44
Over-sampling
@@ -12,6 +12,17 @@ A practical guide
1212
You can refer to
1313
:ref:`sphx_glr_auto_examples_over-sampling_plot_comparison_over_sampling.py`.
1414

15+
.. warning::
16+
17+
Over-sampling methods (including random over-sampling, SMOTE, and ADASYN) do
18+
not guarantee improved predictive performance. In particular, they may not
19+
improve ranking metrics such as ROC-AUC and can degrade probability
20+
calibration. We recommend validating the impact using the metric(s) that
21+
matter for your use case, and considering alternatives such as using
22+
``class_weight`` or ``sample_weight`` in the estimator, tuning the decision
23+
threshold, or collecting more minority class data when possible.
24+
25+
1526
.. _random_over_sampler:
1627

1728
Naive random over-sampling

0 commit comments

Comments
 (0)