SharpLearning icon indicating copy to clipboard operation
SharpLearning copied to clipboard

Add IWeigtedLearner and IWeigtedIndexedLearner interfaces to Common.Interfaces

Open mdabros opened this issue 9 years ago • 0 comments

Add interface for learners supporting sample weights:

IPredictorModel<TPrediction> Learn(F64Matrix observations, double[] targets, 
double[] sampleWeights);

Add interface for learners supporting sample indices and sample weights:

IPredictorModel<TPrediction> Learn(F64Matrix observations, double[] targets, 
double[] sampleWeights, int[] indices);

mdabros avatar Sep 24 '17 19:09 mdabros