Description Usage Arguments Value See Also Examples
Model validation metrics.
1 | karma.validate(y, y_hat, metric = "MAPE")
|
y |
A univariate time-series vector; type <numeric> or <ts>. |
y_hat |
Predicted values of univariate time series. |
metric |
A model validation metric (MAPE, MAE, MSE, RMSE, R2). |
Output value of selected metric; <numeric>.
1 | kfit = magic.karma(WWWusage); karma.validate(fitted(kfit), WWWusage, metric = "MAPE")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.