predict_model: Predict model.

Description Usage Arguments Value

View source: R/core.R

Description

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.

Usage

1
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.


easyml documentation built on June 26, 2017, 9:02 a.m.