【发布时间】:2019-11-22 10:32:28
【问题描述】:
我正在使用 XGBClassifier 对不平衡的多类目标进行建模。我有几个问题:
First I would like to now where should I use the parameter weight on the instantion of the classifier or on the fit step of the pipeline?
Second question is how I calculate a weights. I assume that the sum of the array should be 1.
Third: Is there any order of the weight array that maps the diferent label classes?
提前谢谢大家
【问题讨论】:
标签: python scikit-learn xgboost