Linear discriminant analysis. Calls MASS::lda() from package MASS.

Format

R6::R6Class() inheriting from mlr3::LearnerClassif.

Construction

LearnerClassifLDA$new()
mlr3::mlr_learners$get("classif.lda")
mlr3::lrn("classif.lda")

References

Venables WN, Ripley BD (2002). Modern Applied Statistics with S, Fourth edition. Springer, New York. ISBN 0-387-95457-0, http://www.stats.ox.ac.uk/pub/MASS4.

See also

Examples

learner = mlr3::lrn("classif.lda") print(learner)
#> <LearnerClassifLDA:classif.lda> #> * Model: - #> * Parameters: list() #> * Packages: MASS #> * Predict Type: response #> * Feature types: logical, integer, numeric, factor, ordered #> * Properties: multiclass, twoclass, weights
# available parameters: learner$param_set$ids()
#> [1] "prior" "tol" "method" "nu" #> [5] "predict.method"