final_scorer#

gaitmap_challenges.spatial_parameters.egait_parameter_validation_2013.final_scorer(pipeline: Pipeline, datapoint: EgaitParameterValidation2013)[source]#

Score a pipeline build for the EgaitParameterValidation Spatial Parameter challenge on a single datapoint.

It compares the stride length on a stride-by-stride bases calculating common error metrics.

Parameters:
pipeline

The pipeline to score. This is expected to have the attribute parameters_ after running. It should contain the calculated parameters for each stride.

datapoint

A datapoint of the EgaitParameterValidation2013 dataset.