evaluate.accuracy | R Documentation |
Evaluate accuracy
evaluate.accuracy( models.to.run, forecast.distributions, forecast.targets, observations.df, n.draws, threshold = "default", percentage = "default" )
models.to.run |
See |
forecast.distributions |
See return object 2 in |
forecast.targets |
See |
observations.df |
A data frame with five fields: location, year, location_year, forecast.target, and value. Value contains the observed value for the location and year for the corresponding forecast.target |
n.draws |
See |
threshold |
For continuous and discrete forecasts, a threshold of error to be used in classifying the forecast as "accurate". The default is +/- 1 human case, +/- 1 week, otherwise the default is 0. |
percentage |
For continuous and discrete forecasts, if the prediction is within the specified percentage of the observed value, the forecast is considered accurate. The default is +/- 25 percent of the observed. |
accuracy.summary A data frame organized by model, location (and an aggregation across all locations, currently denoted -STATEWIDE, but this does not have to be a state), forecast.target, with entries for the following evaluation metrics: CRPS, RMSE, Scaled_RMSE, percentage, threshold, percentage or threshold, and Area Under the Curve (AUC).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.