Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

QDAModel

Quadratic Discriminant Analysis Model


Description

Performs quadratic discriminant analysis.

Usage

QDAModel(
  prior = NULL,
  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 values for the NULL arguments and further model details can be found in the source links below.

Value

MLModel class object.

See Also

Examples

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

MachineShop

Machine Learning Models and Tools

v2.8.0
GPL-3
Authors
Brian J Smith [aut, cre]
Initial release
2021-04-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.