predict.match_forecast_model: predict.match_forecast_model

Description Usage Arguments

View source: R/match_forecast.R

Description

Predict function for the match_forecast_model. Predicts the outcome for test matches using each of the bagged predictive models built with match_forecast_model. Unless a different weighting or num_samples is used for predict and building the match_forecast_model, the same first level model is used to construct test feature vectors.

Usage

1
2
3
## S3 method for class 'match_forecast_model'
predict(mf_model, data_new, num_models = NULL,
  weighting = NULL, predict_fun, report_time = F)

Arguments

mf_model

An instance of class match_forecast_model

data_new

data.frame or data.table with match data containing involved object's ID's and possibly TIME attribute.

Example of columns for test set:

TIME ID_1

fortunar/input_uncertainty_model documentation built on May 30, 2019, 6:26 a.m.