Classification via logistic regression. Calls stats::glm().

Format

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

Construction

LearnerClassifLogReg$new()
mlr3::mlr_learners$get("classif.log_reg")
mlr3::lrn("classif.log_reg")

See also

Examples

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