predict_S3: Predict method in DA for discriminant analysis

Description Usage Arguments Value

Description

Predict method for DA.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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


xinghuq/DA documentation built on July 11, 2021, 8:49 a.m.