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

will it work for unbalanced data for classifier? #20

Open
Sandy4321 opened this issue Mar 9, 2020 · 1 comment
Open

will it work for unbalanced data for classifier? #20

Sandy4321 opened this issue Mar 9, 2020 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@Sandy4321
Copy link

will it work for unbalanced data for classifier?
for one hot data: only 0s and 1s in data
is it possible to set class weights like
https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html
class_weight dict or ‘balanced’, default=None
Weights associated with classes in the form {class_label: weight}. If not given, all classes are supposed to have weight one

@Warvito Warvito added enhancement New feature or request question Further information is requested labels Mar 11, 2020
@PedroFerreiradaCosta
Copy link
Collaborator

It depends on how unbalanced the data is but it should work.

Currently we don't have class_weight implemented but it is definitely something that we will look into adding in the next versions of the model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants