private static double Score(Observation obs, IClassifier classifier) { return(classifier.Predict(obs.Pixels) == obs.Label ? 1.0 : 0.0); }
private static double Score(Observation obs, IClassifier classifier) { return classifier.Predict(obs.Pixels) == obs.Label ? 1.0 : 0.0; }