Exemple #1
0
 public WinLossSurplusObjectiveFunction(Dataset trainSet, short[] labels, WinLossSurplusCommandLineArgs cmd)
     : base(trainSet, labels, cmd)
 {
 }
 protected override ScoreTracker ConstructScoreTracker(string name, Dataset set, double[] initScores)
 {
     return(new ScoreTracker(name, set, initScores));
 }
Exemple #3
0
 public void GetOutputs(Dataset dataset, double[] outputs)
 {
     GetOutputs(dataset, outputs, -1);
 }
 public GradientDescent(Ensemble ensemble, Dataset trainData, double[] initTrainScores, IGradientAdjuster gradientWrapper)
     : base(ensemble, trainData, initTrainScores)
 {
     _gradientWrapper = gradientWrapper;
     _treeScores      = new List <double[]>();
 }