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

class weights #65

Open
p-schaefer opened this issue Jan 7, 2020 · 0 comments
Open

class weights #65

p-schaefer opened this issue Jan 7, 2020 · 0 comments

Comments

@p-schaefer
Copy link

I left a note here: #35, but thought it might warrant its own issue (if this package is still being developed). scale_pos_weight is only for binary classification, is there an alternative for dealing with class imbalance in multiclass classifications? I don't know mlr well, but perhaps xgboost.DMatrix(..., weight = *weight array for individual weights*), or passing .weights to trainLearner.classif.xgboost, or perhaps there is a better alternative?

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