Example #1
0
 public Task <RegressionPrediction> Predict(RegressionData data)
 {
     return(Task.Run(() =>
     {
         return _model.Predict(data);
     }));
 }
 public override double Predict(BaseVector x)
 {
     return(regressionModel.Predict(x.SubArray(featureInds)));
 }