Skip to content

QBC stratified bootstrapping #178

@Wojtek-Rokicki

Description

@Wojtek-Rokicki

I am writing my master thesis on imbalanced dataset impact on active learning methods. I have stumbled upon a problem in bootstrapping. When there is few minority class samples, sometimes models are bootstrapped only majority class samples and it results with:
ValueError: The number of classes has to be greater than one; got 1 class

Would it be reasonable to implement stratified bootstrapping? I will make a pull request soon with the proposition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions