-
Notifications
You must be signed in to change notification settings - Fork 5
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
Class imbalance #21
Comments
Do you mean how to handle it? The simplest way is to tack a keyword argument onto the Predictor à la sklearn. Hypothetically a class balancer could be part of a pipeline but in my opinion this is a problem for the Predictor to deal with. |
One option would be to have a knob between 0 and 1. |
Sounds good to me. For my own curiosity: In what situation would a value of, say, 0.5 be useful? |
If the astronomer wants to take care of class imbalance (say interested in rare classes), but does not trust that the class proportion observed in the current labelled set is the true class proportions. This kind of reasoning is typical in machine learning. We assume that we know how to adjust if we know the true population value. But we really don't know, so we estimate the value based on data. But we don't trust the estimate, so we hedge. |
No description provided.
The text was updated successfully, but these errors were encountered: