protected bool Equals(DataPoint other) { return Pixels.SequenceEqual(other.Pixels) && string.Equals(Label, other.Label); }
private double Score(DataPoint dataPoint) { var label = classifier.Predict(dataPoint.Pixels); return label == dataPoint.Label ? 1.0 : 0.0; }