| score_multivariate_apply | R Documentation |
Shared helper used by score methods for multivariate forecast
classes. Identifies the grouping columns, builds a unique
metadata table, calls apply_metrics(), and reorders columns.
score_multivariate_apply(dt, metrics, observed, predicted, mv_group_id)
dt |
A data.table containing at least |
metrics |
Named list of metric functions. |
observed |
Numeric vector of observed values. |
predicted |
Matrix of predicted values. |
mv_group_id |
Integer vector of group identifiers. |
A data.table of scores.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.