timeatlas.metrics.pairwise.absolute_error

timeatlas.metrics.pairwise.absolute_error(x_0: float, x: float)

Compute the absolute error between two values

\[\Delta x = x_0 - x\]
Parameters
  • x_0 – float of the inferred value

  • x – float of the measured value

Returns

float value of the absolute error