The generic function for generating predictions from a model within the easyml core framework. Users can create their own predict_model function for their own class of model.
predict_model(object, newx = NULL)
object | A list of class |
---|---|
newx | A data.frame, the new data to use for predictions. |
A vector, the predicted values using the new data.