LearnerGlm {mlexperiments} | R Documentation |
LearnerGlm R6 class
Description
This learner is a wrapper around stats::glm()
in order to perform a
generalized linear regression. There is no implementation for tuning
parameters.
Details
Can be used with
Implemented methods:
-
$fit
To fit the model. -
$predict
To predict new data with the model.
Super class
mlexperiments::MLLearnerBase
-> LearnerGlm
Methods
Public methods
Inherited methods
Method new()
Create a new LearnerGlm
object.
Usage
LearnerGlm$new()
Details
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.
Returns
A new LearnerGlm
R6 object.
Examples
LearnerGlm$new()
Method clone()
The objects of this class are cloneable with this method.
Usage
LearnerGlm$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
See Also
Examples
LearnerGlm$new()
## ------------------------------------------------
## Method `LearnerGlm$new`
## ------------------------------------------------
LearnerGlm$new()
[Package mlexperiments version 0.0.4 Index]