predict {DA} | R Documentation |
Predict method in DA for discriminant analysis
Description
Predict method for DA.
Usage
## S3 method for class 'KLFDA_mk'
predict(object,prior,testData, ...)
## S3 method for class 'KLFDA'
predict(object,prior,testData, ...)
## S3 method for class 'LDAKPC'
predict(object,prior,testData, ...)
## S3 method for class 'LFDA'
predict(object,prior,testData, ...)
## S3 method for class 'LFDAKPC'
predict(object,prior,testData, ...)
Arguments
object |
One of the trained object from discriminant analysis |
prior |
The weights of the groups. |
testData |
The test data or new data |
... |
Arguments passed to the classifiers |
Value
The predict function will output the predicted points and their predicted possibility
[Package DA version 1.2.0 Index]