Human Activity Recognition Using Multiclass Classification in Python

Human Activity Recognition Using Multiclass Classification in Python

In this human activity recognition project, we use multiclass classification machine learning techniques to analyse fitness dataset from a smartphone tracker.


Each project comes with 2-5 hours of micro-videos explaining the solution.

Code & Dataset

Get access to 50+ solved projects with iPython notebooks and datasets.

Project Experience

Add project experience to your Linkedin/Github profiles.

Customer Love

Read All Reviews

Shailesh Kurdekar

Solutions Architect at Capital One

I have worked for more than 15 years in Java and J2EE and have recently developed an interest in Big Data technologies and Machine learning due to a big need at my workspace. I was referred here by a... Read More

James Peebles

Data Analytics Leader, IQVIA

This is one of the best of investments you can make with regards to career progression and growth in technological knowledge. I was pointed in this direction by a mentor in the IT world who I highly... Read More

What will you learn

Understanding the problem statement
Understanding the Data science life cycle
Initializing necessary libraries and understanding its use
Importing Dataset from amazon AWS and performing basic EDA
Univariate and Bi variate analysis to understand the Data
Data visualizations using various charts
Cleaning and preparing the data for modelling
Standard Scaling and normalizing the dataset
Performing PCA to reduce the number of features
Applying Logistic Regression
Applying SVM, Random Forest Regressor, XGBoost and KNN
Applying Deep Neural Networks
Hyper Parameter tuning for ANN and SVM
Plotting confusion matrix for visualizing the result
Selecting the best model and making predictions
Develop the Flask API for the selected model

Project Description

In this machine learning project you will build a classification system to classify human activities.

The Human Activity Recognition dataset was built from the recordings of 30 study participants performing activities of daily living (ADL) while carrying a waist-mounted smartphone with embedded inertial sensors. The objective is to classify activities into one of the six activities performed.Each person performed six activities (WALKING, WALKING_UPSTAIRS, WALKING_DOWNSTAIRS, SITTING, STANDING, LAYING) wearing a smartphone (Samsung Galaxy S II) on the waist. Using its embedded accelerometer and gyroscope, we captured 3-axial linear acceleration and 3-axial angular velocity at a constant rate of 50Hz. The experiments have been video-recorded to label the data manually. The obtained dataset has been randomly partitioned into two sets, where 70% of the volunteers were selected for generating the training data and 30% the test data.

Similar Projects

Build a machine learning model that will predict which jobs users will apply to given their past applications, demographics and work history.

In this project, we are going to work on Deep Learning using H2O to predict Census income.

In this project, we are going to predict item-level sales data using different forecasting techniques.

Curriculum For This Mini Project

Business Problem
Data Science Lifecycle
Data Import And Understanding
EDA Univariate Analysis
EDA Bivariate Analysis
EDA Visualization
Data Preparation
Principal Component Analysis
Model Building
Hyper Parameter Tuning
Model Evaluation
Deployment with Flask Api