mobgap.pipeline.evaluation.icc#
- mobgap.pipeline.evaluation.icc( ) tuple[float, float][source]#
Calculate the intraclass correlation coefficient (ICC) for 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:
- icc, ci95
A tuple containing the intraclass correlation coefficient (ICC) as first item and the lower and upper bound of its 95% confidence interval (CI95%) as second item.