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)

Arguments

object

A list of class easy_*, where * is the name of the algorithm.

newx

A data.frame, the new data to use for predictions.

Value

A vector, the predicted values using the new data.