Predict.class: Get predicted class probability
Description
Get predicted class probability
Usage
Predict.class(x.train, y.train, x.test, clsMethod = "pls", lvNum,
imp.out = F)
Arguments
x.train
Input the x training samples
y.train
Input the y training samples
x.test
Input the x testing samples
clsMethod
Se the classification method, default is set to pls
lvNum
Input the number of levels
imp.out
Logical, set to F by default