Skip to content

Improve the ratio explanation in the docstring of the samplers #406

Closed
@amueller

Description

@amueller

http://contrib.scikit-learn.org/imbalanced-learn/dev/generated/imblearn.ensemble.BalancedBaggingClassifier.html#imblearn.ensemble.BalancedBaggingClassifier

'auto': correspond to 'all' with for over-sampling methods and 'not minority' for under-sampling methods. The classes targeted will be over-sampled or under-sampled to achieve an equal number of sample with the majority or minority class.

This is always undersampling in BalancedBaggingClassifier, right? So auto is always 'not minority'? If so, I feel this docstring can be simplified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    For: DocumentationIndicates a need for improvements or additions to documentationStatus: Help WantedIndicates that a maintainer wants help on an issue or pull requestgood first issueIndicates a good issue for first-time contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions