mobgap.pipeline.evaluation.abs_error#
- mobgap.pipeline.evaluation.abs_error( ) Series[source]#
Calculate the absolute error between the detected and reference values.
- Parameters:
- df
The DataFrame containing the reference and detected values.
- reference_col_name
The identifier of the column containing the reference values.
- detected_col_name
The identifier of the column containing the detected values.
- Returns:
- abs_error
The absolute error between the detected and reference values in the form
abs(detected - reference).