'HRLKNNClassifier:trainClassifierWithMatrix:' & 'HRLKNNClassifier:calculateClassificationAccuracyUsingMatrix:' should return an error if the classifier is not trained #5
Return 0 (or any other value) and specify in the documentation that, until the classifier is trained for the first time, the returned values are wrong.
There are a few options: