absolute_difference_distance

absolute_difference_distance(x: float, y: float) float[source]

Calculate distance for get_anomalies_density() function by taking absolute value of difference.

Parameters
  • x (float) – first value

  • y (float) – second value

Returns

result – absolute difference between values

Return type

float