This project was completed as part of the Coursera Practical Machine Learning course.
The goal is to predict the manner in which participants performed barbell lifts using accelerometer data from wearable devices.
The target variable is classe, which represents five different execution styles (AโE), ranging from correct to incorrect exercise form.
The dataset comes from wearable sensors placed on:
- belt
- forearm
- arm
- dumbbell
Six participants performed barbell lifts in different ways, and sensor data was recorded.
Two machine learning models were trained:
- Random Forest (final model)
- Gradient Boosting Machine - GBM (comparison)
- Random Forest Accuracy: ~0.99
- GBM Accuracy: ~0.97
The Random Forest model was used to predict 20 test cases provided in the assignment.
- PML_project.Rmd โ source code
- PML_project.html โ final report
- pml-training.csv, pml-testing.csv โ data
Open PML_project.Rmd in RStudio and click Knit to HTML. Finish