gaitmap.evaluation_utils: Helper to evaluate the output of the algorithms#

Helper functions to evaluate the output of algorithms.

Functions#

evaluate_segmented_stride_list(*, ...[, ...])

Find True Positives, False Positives and True Negatives by comparing a segmented stride list with ground truth.

match_stride_lists(*, stride_list_a, ...[, ...])

Find matching strides in two stride lists with a certain tolerance.

recall_score()

Compute the recall.

precision_score()

Compute the precision.

f1_score()

Compute the F1 score, also known as balanced F-score or F-measure.

precision_recall_f1_score()

Compute precision, recall and F1-score.

evaluate_stride_event_list(*, ground_truth, ...)

Find True Positives, False Positives and True Negatives by comparing an stride event list with ground truth.

calculate_parameter_errors(*, ...[, id_column])

Calculate the error per row between a parameter predicted and a given ground truth.

calculate_aggregated_parameter_errors(*, ...)

Calculate various error metrics between a parameter predicted and a given ground truth.