powered by
This function builds a classification model using Canonical Discriminant Analysis.
CDA(train, labels, tune = FALSE, ...)
The training set (description), as a data.frame.
data.frame
Class labels of the training set (vector or factor).
vector
factor
If true, the function returns paramters instead of a classification model.
Other parameters.
The classification model, as an object of class glmnet.
glmnet
plot.cda, predict.cda, cda-class
plot.cda
predict.cda
cda-class
# NOT RUN { require (datasets) data (iris) CDA (iris [, -5], iris [, 5]) # }
Run the code above in your browser using DataLab