A machine learning and deep learning-based system for classifying human physical activities—such as walking, running, sitting, and standing—using sensor data from wearable devices (accelerometers and gyroscopes). This project includes preprocessing, training, and evaluation pipelines, making it ideal for smart health, fitness tracking, and ambient intelligence applications.
-
📊 Sensor-Based Classification
Uses time-series data from accelerometers and gyroscopes to identify physical activities. -
🧠 ML & DL Models
Implements Logistic Regression, Decision Trees, XGBoost, CNNs, and LSTMs for robust classification. -
🧼 Preprocessing Pipeline
Includes normalization, windowing, feature extraction, and label encoding. -
📈 Evaluation Metrics
Accuracy, precision, recall, F1-score, and confusion matrix for model comparison. -
🧪 Colab-Ready Notebook
Fully executable in Google Colab with minimal setup.
HAR-Project/
│
├── data/ # Raw and preprocessed sensor data
├── notebooks/ # Jupyter/Colab notebooks for training and evaluation
├── models/ # Saved model weights and architectures
├── utils/ # Helper functions for preprocessing and visualization
├── requirements.txt # Python dependencies
└── README.md # Project documentationgit clone https://github.com/SatChittAnand/Human_Activity_RecognitionModel.git
cd Human_Activity_RecognitionModel
Just open the notebook in notebooks/Human_Activity_RecognitionModel.ipynb and run all cells. No local installation required.
You can use publicly available datasets like:
Or plug in your own wearable sensor data in .csv format.
| Model Type | Algorithms Used |
|---|---|
| Machine Learning | Logistic Regression, Decision Tree, XGBoost |
| Deep Learning | CNN, LSTM (for sequential time-series data) |
- Accuracy
- Precision & Recall
- F1-Score
- Confusion Matrix
- ROC Curve (for binary classification)
- 🏋️ Fitness Tracking System
- 🧘 Smart Health Monitoring
- 🏠 Ambient Assisted Living
- 📱 Wearable Device Intelligence
Pull requests are welcome! If you’d like to contribute preprocessing modules, new models, or dataset integrations, feel free to fork and submit.
This project is licensed under the MIT License. See LICENSE for details.