SharpLearning
SharpLearning copied to clipboard
AdaBoost: Add support for sample weights
Add support for sample weights to the AdaBoost 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 DecisionTreeLearners, used by AdaBoost, already support sample weights, so implementing it only involves setting up the sample weights and forwarding the weights to the DecisionTreeLearner in each boosting iteration. The learners can be found here in the AdaBoost project: AdaBoost
The work is currently in progress in the branch adaboost-sample-weight-support