Ordinary linear regression. Calls stats::lm().

Format

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

Construction

LearnerRegrLM$new()
mlr3::mlr_learners$get("regr.lm")
mlr3::lrn("regr.lm")

See also

Examples

learner = mlr3::lrn("regr.lm") print(learner)
#> <LearnerRegrLM:regr.lm> #> * Model: - #> * Parameters: list() #> * Packages: stats #> * Predict Type: response #> * Feature types: integer, numeric, factor #> * Properties: weights
# available parameters: learner$param_set$ids()
#> character(0)