| PredictorCaret | R Documentation |
This task specializes Predictor for caret regression models.
The model is assumed to be a c("train", "train.formula").
It is recommended to use makePredictor() for construction of Predictor objects.
fmeffects::Predictor -> PredictorCaret
new()Create a new PredictorCaret object.
PredictorCaret$new(model, data)
modeltrain, train.formula object.
dataThe data used for computing FMEs, must be data.frame or data.table.
predict()Predicts on an observation "newdata".
PredictorCaret$predict(newdata)
newdataThe feature vector for which the target should be predicted.
clone()The objects of this class are cloneable with this method.
PredictorCaret$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.