LearnerGlm | R Documentation |
This learner is a wrapper around stats::glm()
in order to perform a
generalized linear regression. There is no implementation for tuning
parameters.
Can be used with
MLCrossValidation
Implemented methods:
$fit
To fit the model.
$predict
To predict new data with the model.
mlexperiments::MLLearnerBase
-> LearnerGlm
new()
Create a new LearnerGlm
object.
LearnerGlm$new()
This learner is a wrapper around stats::glm()
in order to perform a
generalized linear regression. There is no implementation for tuning
parameters, thus the only experiment to use LearnerGlm
for is
MLCrossValidation.
A new LearnerGlm
R6 object.
LearnerGlm$new()
clone()
The objects of this class are cloneable with this method.
LearnerGlm$clone(deep = FALSE)
deep
Whether to make a deep clone.
stats::glm()
stats::glm()
LearnerGlm$new()
## ------------------------------------------------
## Method `LearnerGlm$new`
## ------------------------------------------------
LearnerGlm$new()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.