Skip to content

[DOC] How to specify class for balanced random forest classifier? #941

@sandra-tilmon

Description

@sandra-tilmon

Describe the issue linked to the documentation

https://imbalanced-learn.org/stable/references/generated/imblearn.ensemble.BalancedRandomForestClassifier.html

When setting sampling_strategy as 'str', there is no instruction on how to specify the class targeted for resampling. I would like to know how to set the class as 'not majority'.

Suggest a potential alternative/fix

Please provide an example or instructions on how to set the class when sampling_strategy is 'str' for multiple value rebalancing.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    For: DocumentationIndicates a need for improvements or additions to documentationType: Questiongood 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