Skip to content

DOC: Add visible warning about limitations of oversampling methods#1161

Open
omlende0410 wants to merge 1 commit intoscikit-learn-contrib:masterfrom
omlende0410:doc-smote-warning
Open

DOC: Add visible warning about limitations of oversampling methods#1161
omlende0410 wants to merge 1 commit intoscikit-learn-contrib:masterfrom
omlende0410:doc-smote-warning

Conversation

@omlende0410
Copy link

Fixes #1101

Adds a warning note at the beginning of the over-sampling user guide.

The note highlights some important considerations when using over-sampling
methods such as SMOTE and ADASYN:

  • they may have limited impact on ranking-based metrics (e.g. ROC-AUC),
  • they can affect probability calibration,
  • and they are not always necessary depending on the learning objective.

The warning also points users to alternative approaches such as
class_weight and sample_weight for handling class imbalance.

This change aims to make new users aware of these trade-offs and help them
choose an appropriate strategy for their specific use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOC] User warning over sampling methods

1 participant