View source: R/match_forecast.R
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.
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)
|
mf_model |
An instance of class match_forecast_model | |||
data_new |
Example of columns for test set:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.