CDA: Classification using Canonical Discriminant Analysis

CDAR Documentation

Classification using Canonical Discriminant Analysis

Description

This function builds a classification model using Canonical Discriminant Analysis.

Usage

CDA(train, labels, tune = FALSE, ...)

Arguments

train

The training set (description), as a data.frame.

labels

Class labels of the training set (vector or factor).

tune

If true, the function returns paramters instead of a classification model.

...

Other parameters.

Value

The classification model, as an object of class glmnet.

See Also

plot.cda, predict.cda, cda-class

Examples

require (datasets)
data (iris)
CDA (iris [, -5], iris [, 5])

fdm2id documentation built on July 9, 2023, 6:05 p.m.

Related to CDA in fdm2id...