QDAModel: Quadratic Discriminant Analysis Model

View source: R/ML_QDAModel.R

QDAModelR Documentation

Quadratic Discriminant Analysis Model

Description

Performs quadratic discriminant analysis.

Usage

QDAModel(
  prior = numeric(),
  method = c("moment", "mle", "mve", "t"),
  nu = 5,
  use = c("plug-in", "predictive", "debiased", "looCV")
)

Arguments

prior

prior probabilities of class membership if specified or the class proportions in the training set otherwise.

method

type of mean and variance estimator.

nu

degrees of freedom for method = "t".

use

type of parameter estimation to use for prediction.

Details

Response types:

factor

The predict function for this model additionally accepts the following argument.

prior

prior class membership probabilities for prediction data if different from the training set.

Default argument values and further model details can be found in the source See Also links below.

Value

MLModel class object.

See Also

qda, predict.qda, fit, resample

Examples

fit(Species ~ ., data = iris, model = QDAModel)


MachineShop documentation built on Sept. 11, 2024, 6:28 p.m.