Predict method for DA.
# S3 method for KLFDA_mk
predict(object,prior,testData, ...)
# S3 method for KLFDA
predict(object,prior,testData, ...)
# S3 method for LDAKPC
predict(object,prior,testData, ...)
# S3 method for LFDA
predict(object,prior,testData, ...)
# S3 method for LFDAKPC
predict(object,prior,testData, ...)
One of the trained object from discriminant analysis
The weights of the groups.
The test data or new data
Arguments passed to the classifiers
The predict function will output the predicted points and their predicted possibility