Description Usage Arguments Value
View source: R/OnlineSuperLearner.S3.R
Fits an online superlearner using a similar notation as a GLM.
1 2 | fit.OnlineSuperLearner(formulae, data, algorithms = NULL,
bounds = FALSE, ...)
|
formulae |
list a list of all relevantVariable objects that need to be fitted |
data |
data.frame or list of data.frames the data set to use for fitting the OSL |
algorithms |
list of algorithms to use in the online superlearner |
bounds |
either a list of bounds, or a boolean (default = FALSE), in
which TRUE forces the bounds to be generated automatically, FALSE causes the
bounds not to be generated at all (no normalization) we provide the option
to normalize the data in the OSL procedure. This entails that the package
will automatically select a set of bounds (min and max) based on the data
set provided. After that it will only use the normalized features (all
scaled between 0-1). The bounds should be specified as a list in which each
element represents one of the |
... |
other parameters directly passed to the OSL and fit function.
There are several named variables to provide here:
- initial_data_size
- max_iterations
- mini_batch_size
See for a full list the documentation of the |
a fitted version of an OnlineSuperLearner
class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.