Model: Model

Description Methods

Description

An abstract class for making predictions. This class contains only what's necessary for data based modeling. For the most part, the other model classes in this package are there to make extending this class easier. You should extend this class directly if you are making a model which does not forecast, and none of the convenience classes seem appropriate.

Methods

fit(data)

This method must be extended. Get the model ready to predict.

Arguments
data - The data to fit the model to.

predict(newdata)

This method must be extended. Predict using the model

Arguments
newdata - the data to predict.

ForecastFramework documentation built on April 14, 2020, 7:39 p.m.