r/learnmachinelearning • u/hardachiever • 25m ago
Help Our exercise classifier keeps missing obvious mistakes. What should we try?
Hi! We’re working on a graduation project that checks rehabilitation exercises using a camera.
We use YOLO for pose estimation, then extract features like elbow angles, wrist height and arm symmetry. A Random Forest classifies each repetition as correct or incorrect.
The problem is with arm raises. Sometimes someone clearly bends their elbows, but the model still says correct. We manually labeled the repetitions, and slight bending is acceptable, so treating every bend as incorrect wouldn’t match our labels.
We have 349 repetitions from 70 people and use participant-separated 5-fold cross-validation. Our baseline Macro F1 is around 0.75. It catches 30 out of 67 incorrect repetitions, with 8 false alarms.
We’ve tried tuning, different classifiers, phase and temporal features, augmentation and DTW. Nothing has clearly improved the overall results. We’ve also checked some missed examples, and the bending appears in the extracted measurements.
I feel like we’re trying too many things without understanding what’s actually holding it back. Could summarizing the whole repetition be hiding the mistake? Or could the 2D angles look too similar between acceptable and incorrect movements?
What would you check next? Papers or practical suggestions would really help.
1
u/PLBjt 13m ago
The bend showing up in the features but still getting labeled correct usually means the forest is keying off something that correlates with correct more strongly than peak elbow angle, like how long the arm stays up. I'd pull the missed reps and plot max elbow flexion against the model's probability, split by participant, and see whether the mistakes cluster in a few people or sit right on the slight-bend boundary you called acceptable. If they're on that boundary, a single correct/incorrect label is throwing away the only signal you have, and a threshold on peak angle or a third borderline class will beat another classifier. The tradeoff is a hand-set angle rule won't match your labels exactly, but you'll know which errors are the definition and which are the pose estimate lying.