This project aims to build a Human Activity Recognition (HAR) system using the WISDM dataset. The system classifies activities such as walking, jogging, sitting, standing, accending and decending based on accelaretaion data. It includes data preprocessing, model training, and evaluation.
data/
: Contains the dataset and scripts for data loading and preprocessing(requirement runningsetup.py
.notebooks/
: Jupyter notebooks for exploratory data analysis, model development, and evaluation.main/
: Saved models and scripts for training.lib/
: Source code for data preprocessing, feature engineering, and model training.scripts/
: Utility scripts for running experiments and generating reports.results/
: Contains results from experiments, including plots and metrics.REPORT.md
: Project documentation (more detail).README.md
: Project documentation (this file).
The WISDM dataset can be downloaded from the WISDM website.
Note: you don't have to download dataset, setup.py
can fetch and preprocess dataset.
-
Clone the repository:
git clone https://github.com/rakawanegan/humanactivityrecognition_portfolio.git cd humanactivityrecognition_portfolio
-
Install the required packages:
pip install -r requirements.txt python setup.py
- Model Training:
Train the machine learning model.
python run.py
For detailed analysis and step-by-step implementation, refer to the Jupyter notebooks in the notebooks/
directory. These notebooks cover data exploration, model development, and evaluation.
The results of the experiments, including accuracy, precision, recall, F1-score, and confusion matrices, can be found in the results/
directory.
Note: Postprocess is here.
This project is licensed under the MIT License. See the LICENSE
file for details.