This function evaluates the forecast result in several evaluation criterions.
1 | flow_evaluate(rv, pv, method = "all")
|
rv |
real value of traffic flow, a row from a dataframe; |
pv |
forecast value, can be the return value of flow_knn function, a row from a dataframe; |
method |
can be "mse", "rmse", "mae" or "all" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.