xgboost 設定每條資料的重要性

guotong1988發表於2018-07-25

https://stackoverflow.com/questions/37167795

weights = np.ones(len(labels))
dtrain = xgb.DMatrix(data, label = labels, weight = weights)

相關文章