SharpLearning icon indicating copy to clipboard operation
SharpLearning copied to clipboard

GradientBoost: Add support for sample weights

Open mdabros opened this issue 9 years ago • 0 comments

Add support for sample weights to the GradientBoost learners. This will make it possible to handle imbalanced datasets directly in the learners, instead of under/oversampling the dataset inorder to balance it.

The GBMDecisionTreeLearner, used by GradientBoost does not support sample weights, so adding sample weight support to the GradientBoost learners requires first adding it to the GBMDecisionTreeLearner. Adding sample weight support to the GBMDecisionTreeLearner, primarely requires using the wieghts in the loss functions: GradientBoost Loss

Following, sample wieght support can be added to the GradientBoost learners. The learners can be found here in the GradientBoost project: GradientBoost

mdabros avatar Sep 24 '17 19:09 mdabros