Example #1
0
 public double CalculateExampleLost(DataRow example)
 {
     double[] estimators = this.FeedForward(example.Features);
     return(example.Labels.Zip(estimators, (l, e) => ErrorFunction.GetValue(l, e)).Sum());
 }