SharpLearning
SharpLearning copied to clipboard
Ensemble learners: Add support for sample weights
Add support for sample weights to the Ensemble learners. This will make it possible to handle imbalanced datasets directly in the learners, instead of under/oversampling the dataset inorder to balance it.
This task requires #14 to be done first, since the ensemble learners needs to be extended to also support weighted learners in the constructor.
Following the learners must implement weighted learner interfaces and should simply forward the sample weights the learners in the ensemble. The ensemble learners can be found here in the ensemble project: Ensemble learners