Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QBC stratified bootstrapping #178

Open
Wojtek-Rokicki opened this issue Aug 28, 2023 · 1 comment
Open

QBC stratified bootstrapping #178

Wojtek-Rokicki opened this issue Aug 28, 2023 · 1 comment

Comments

@Wojtek-Rokicki
Copy link

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.

@Wojtek-Rokicki
Copy link
Author

#179

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

No branches or pull requests

1 participant