| confuMat-methods {MLInterfaces} | R Documentation | 
compute the confusion matrix for a classifier's output
classifOutput
is built on a ``training'' subset of the input data, and the ``test'' subset's
true class labels are available.  This method cross-tabulates the true labels
of the test set against the predictions of the fitted classifier.
library(golubEsets) smallG <- golubMerge[1:50,] k1 <- knnB(smallG, "ALL.AML", 1:30) confuMat(k1)