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

Oversample minority class in target variable #20

Open
Essejran opened this issue Aug 11, 2024 · 1 comment
Open

Oversample minority class in target variable #20

Essejran opened this issue Aug 11, 2024 · 1 comment
Assignees

Comments

@Essejran
Copy link
Collaborator

No description provided.

@Essejran Essejran self-assigned this Aug 11, 2024
@Essejran
Copy link
Collaborator Author

Tried SMOTE, which was supposed to be a relatively computationally cheap way to get the job done, but the computer kept crashing so I ended up completely uninstalling imblearn (the package used for resampling imbalanced datasets) and opted for regular balanced class weights within logreg. Next step is to check if a simple undersampling of majority class in target variable is computationally affordable.

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