mobgap.cadence.evaluation.cad_final_agg#
- mobgap.cadence.evaluation.cad_final_agg(
- agg_results: dict[str, float],
- single_results: dict[str, list],
- _: CadEmulationPipeline,
- dataset: BaseGaitDatasetWithReference,
Aggregate the results of the cadence evaluation.
Warning
This function is not meant to be called directly, but as
final_aggregatorin atpcp.validate.Scorer. If you are writing custom scoring functions, you can use this function as a template or wrap it in a new function.This function aggregates the performance metrics as follows:
The raw stride and WB level values are combined into one dataframe each across the entire dataset.
All other values are passed through unchanged.