Closed Arsa-Nik closed 6 years ago
It's not missing. The function is actually used for estimating sAPE for all the forecasts individually. Then, you can average these values to get sMAPE, as done at the end of the script.
My mistake, thank you for clarification.
It seems mean() function is missing in your smape_cal function in Benchmarks and Evaluation.R. Arsa