Deep Learning · 2026
Human Activity Recognition (CNN-LSTM)
Hybrid CNN-LSTM on raw smartphone accelerometer and gyroscope signals with subject-wise validation and MLflow tracking.
Model
- CNN blocks extract local motion patterns from raw sensor windows
- LSTM layers model temporal dynamics across the window
- Classification head over six activities
Dataset
UCI HAR — smartphone accelerometer + gyroscope signals from 30 subjects, sliding windows with 50% overlap.
Results & metrics
- Validation
- subject-wise split (no leakage)
- Accuracy
- ~0.94
- Tracking
- MLflow experiment runs
Deployment steps
- 1Window raw signals and split by subject, not by sample
- 2Train the CNN-LSTM, logging params/metrics to MLflow
- 3Pick the best run from the MLflow registry
- 4Export the model for on-device or API inference
Tech stack
- PyTorch
- CNN-LSTM
- MLflow