mobgap.re_orientation.evaluation.reorientation_final_agg#

mobgap.re_orientation.evaluation.reorientation_final_agg(
agg_results: dict[str, float],
single_results: dict[str, list],
pipeline: ReorientationEmulationPipeline,
dataset: BaseGaitDatasetWithReference,
) tuple[dict[str, Any], dict[str, Any]][source]#

Aggregate the results of the reorientation emulation pipeline.

The final aggregation combines the raw predictions across all datapoints, recalculates multiclass accuracy over every simulated walking-bout orientation, and exposes the combined confusion matrix as a raw result.