koplsConfusionMatrix {kopls}R Documentation

Calculation of confusion matrix

Description

Calculates a confusion matrix from classification results.

Usage

koplsConfusionMatrix(true, pred)

Arguments

true True class belongings.
pred Predicted class belongings.

Value

The confusion matrix.

Author(s)

Max Bylesjo and Mattias Rantalainen

References

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.

Examples






[Package kopls version 1.0.3 Index]