Relative Error

Normalized and thus comparable for different nn.

Ef(x,t):=1nxf(t)E_f(x, t):=\frac{1}{n}\|x-f(t)\|

Measures the vertical distance between data points. If both xx and tt contain errors, use Euclidean Distance instead.

For Time Series Data a Dynamic Time Warping algorithm might be important.