JMIR AIOpen accessComputer science

Participant-Aware Model Validation for Repeated-Measures Data: Comparative Cross-Validation Study.

Abdolamir Karbalaie, Farhad Abtahi, Charlotte K Häger

Department of Community Medicine and Rehabilitation, Umeå University, Umeå, Västerbotten, Sweden. · Department of Biomedical Engineering and Health Systems, School of Engineering Sciences in Chemistry, Biotechnology and Health, KTH Royal Institute of Technology, Huddinge, Stockholm, Sweden.

Computational · n=72

Key points

From the paper's conclusion
  • This exploratory analysis showed that targeted NanoString immune-response profiles contained a compact transcriptomic signal capable of distinguishing COVID-19 from healthy-control measurements within the analyzed dataset. These findings provide proof-of-concept evidence of internal measurement-level discrimination. However, because the COVID-19 profiles consisted of repeated measurements from only three participants, sample-level LOOCV did not constitute independent participant-level validation. External validation in larger cohorts comprising independently sampled participants is required. Given that the COVID-19 arm comprised only three independent participants, these biological findings should be regarded as hypothesis-generating and require validation in substantially larger independent cohorts.

Abstract

BACKGROUND: Repeated-measures datasets are common in biomechanics and digital health, where each participant contributes multiple correlated trials. If cross-validation (CV) ignores this structure, information can leak from training to test folds, inflating performance and undermining clinical credibility. OBJECTIVE: This study evaluates the impact of participant-aware validation strategies on model reliability in repeated-measures classification tasks, using fear of reinjury prediction following anterior cruciate ligament reconstruction (ACLR) as a case study. METHODS: We analyzed 623 hop trials from 72 individuals after ACLR to classify fear of reinjury based on biomechanical features. Four CV strategies were compared: stratified 10-fold CV, leave-one-participant-out cross-validation (LOPOCV), group 3-fold CV, and a nested framework combining LOPOCV (outer loop) with group 3-fold CV (inner loop). Ten supervised classifiers were benchmarked across classification accuracy, train-test generalization gap, model ranking consistency, and computational efficiency. RESULTS: Stratified 10-fold CV systematically overestimated model performance (eg, extra trees accuracy of 0.91 vs 0.66 under LOPOCV) due to participant-level data leakage. Group and nested CV strategies yielded more conservative and stable estimates. The nested LOPOCV + group CV framework achieved a good balance between generalization and participant-aware separation, with reduced bias and overfitting compared with nonnested alternatives. CONCLUSIONS: Participant-aware validation strategies are essential for trustworthy machine learning (ML) evaluation in repeated-measures settings. Nested CV designs improve reproducibility, reduce selection bias, and align with regulatory expectations for clinical ML tools. These findings support best practices in model validation for biomechanics and digital health applications.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Participant-Aware Model Validation for Repeated-Measures Data: Comparative Cross-Validation Study — Science Skim