koplsConfusionMatrix {kopls} | R Documentation |
Calculates a confusion matrix from classification results.
koplsConfusionMatrix(true, pred)
true |
True class belongings. |
pred |
Predicted class belongings. |
The confusion matrix.
Max Bylesjo and Mattias Rantalainen
Rantalainen M, Bylesjo M, Cloarec O, Nicholson JK, Holmes E and Trygg J. Kernel-based orthogonal projections to latent structures (K-OPLS), J Chemometrics 2007; 21:376-385. doi:10.1002/cem.1071.