ErrorPredClass(CLEg) | R Documentation |
Utility
ErrorPredClass(Train, Test, Cl.Train, Cl.Test, Reg = plsr, ncomp = 5)
Train |
Training sample |
Test |
Test sample |
Cl.Train |
Class in training data. Classes are given as -1 or 1. |
Cl.Test |
Class in test data. Classes are given as -1 or 1. |
Reg |
Method of regression, which can be plsr or pcr |
ncomp |
Number of components taken in the pls/pc regression. For example, ncomp=5 means it will take components 1, 2, ..., 5. |
mis-classification rates
Shahidul Islam