Symmetric mean absolute percentage error
nnf_smape(input, target)
(torch_tensor
) A tensor of actual values
(torch_tensor
) A tensor with the same shape as the input
Computed according to the formula: $$SMAPE = \frac{1}{n}\displaystyle\sum_{t=1}^{n} \frac{\left\|input - target\right\|}{(\left\|target\right\| + \left\|input\right\|) *0.5}$$
yardstick::smape