LearnerLm {mlexperiments}R Documentation

LearnerLm R6 class

Description

This learner is a wrapper around stats::lm() in order to perform a linear regression. There is no implementation for tuning parameters.

Details

Can be used with

Implemented methods:

Super class

mlexperiments::MLLearnerBase -> LearnerLm

Methods

Public methods

Inherited methods

Method new()

Create a new LearnerLm object.

Usage
LearnerLm$new()
Details

This learner is a wrapper around stats::lm() in order to perform a linear regression. There is no implementation for tuning parameters, thus the only experiment to use LearnerLm for is MLCrossValidation

Returns

A new LearnerLm R6 object.

Examples
LearnerLm$new()


Method clone()

The objects of this class are cloneable with this method.

Usage
LearnerLm$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

stats::lm()

stats::lm()

Examples

LearnerLm$new()


## ------------------------------------------------
## Method `LearnerLm$new`
## ------------------------------------------------

LearnerLm$new()


[Package mlexperiments version 0.0.4 Index]