Skip to content
Back to projects

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

  1. 1Window raw signals and split by subject, not by sample
  2. 2Train the CNN-LSTM, logging params/metrics to MLflow
  3. 3Pick the best run from the MLflow registry
  4. 4Export the model for on-device or API inference

Tech stack

  • PyTorch
  • CNN-LSTM
  • MLflow
M

drawing ideas into systems...