LDAModel: Linear Discriminant Analysis Model

Description Usage Arguments Details Value See Also Examples

View source: R/ML_LDAModel.R

Description

Performs linear discriminant analysis.

Usage

1
2
3
4
5
6
7
8
LDAModel(
  prior = NULL,
  tol = 1e-04,
  method = c("moment", "mle", "mve", "t"),
  nu = 5,
  dimen = NULL,
  use = c("plug-in", "debiased", "predictive")
)

Arguments

prior

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

tol

tolerance for the determination of singular matrices.

method

type of mean and variance estimator.

nu

degrees of freedom for method = "t".

dimen

dimension of the space to use for prediction.

use

type of parameter estimation to use for prediction.

Details

Response Types:

factor

Automatic Tuning of Grid Parameters:

dimen

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

lda, predict.lda, fit, resample

Examples

1
fit(Species ~ ., data = iris, model = LDAModel)

MachineShop documentation built on June 18, 2021, 9:06 a.m.