| 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
mlexperiments::MLCrossValidation
Implemented methods:
-
$fitTo fit the model. -
$predictTo predict new data with the model.
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
deepWhether to make a deep clone.
See Also
Examples
LearnerLm$new()
## ------------------------------------------------
## Method `LearnerLm$new`
## ------------------------------------------------
LearnerLm$new()
[Package mlexperiments version 0.0.4 Index]