Description Usage Arguments Value Active bindings Methods
A class defines the model specifications.
1 2 3 4 5 6 |
engine |
A character scalar of model engines. |
preproc_calls |
A |
fit_params |
A |
fit_param_specs |
A |
A new Model class object.
engineA model engine.
fit_paramsFitParams class object.
fit_param_specsA FitParamSpecs class object.
preproc_callsA PreprocCalls class object.
has_fit_param_specsWheather the model has fit_param_specs.
specA list of model specifications.
data_callA call used to convert a data.frame to the format
suited for the model input.
fit_callA call in fit routine.
pred_callA call in predict routine.
new()Construct a new Model class object.
Model$new( engine = NULL, preproc_calls = NULL, fit_params = NULL, fit_param_specs = NULL )
engineA character scalar of model engines.
preproc_callsA PreprocCalls class object.
fit_paramsA FitParams class object. If NULL, FitParams
with an emtpy list parameter is created.
fit_param_specsA FitParamSpecs class object. If NULL,
default specs is used. (If defined by the pacakge)
A new Model class object
print()Print object.
Model$print()
get_fit_call_by_key()Get a model's fit call by a fit_params key.
Model$get_fit_call_by_key(fit_param_key = NULL)
fit_param_keyA character or integer scalar of the fit_params keys.
A call of the model fit.
get_fit_call()Get a model's fit call by a fit_param.
Model$get_fit_call(fit_param = NULL)
fit_paramA list of fit parameters.
A call of the model fit.
clone()The objects of this class are cloneable with this method.
Model$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.