powered by
Performs quadratic discriminant analysis.
QDAModel( prior = NULL, method = c("moment", "mle", "mve", "t"), nu = 5, use = c("plug-in", "predictive", "debiased", "looCV") )
prior probabilities of class membership if specified or the class proportions in the training set otherwise.
type of mean and variance estimator.
degrees of freedom for method = "t".
method = "t"
type of parameter estimation to use for prediction.
MLModel class object.
MLModel
factor
The predict function for this model additionally accepts the following argument.
predict
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.
NULL
qda, predict.qda, fit, resample
qda
predict.qda
fit
resample
# NOT RUN { fit(Species ~ ., data = iris, model = QDAModel) # }
Run the code above in your browser using DataLab