Dimensionality Reduction for Human Activity Recognition Using Google Colab

Human activity recognition (HAR) is a classification task that involves predicting the movement of a person based on sensor data. As we can see, there has been a huge growth and development of smartphones over the last 10–15 years—they could be used as a medium of mobile sensing to recognize human a...

Full description

Bibliographic Details
Main Authors: Sujan Ray, Khaldoon Alshouiliy, Dharma P. Agrawal
Format: Article
Language:English
Published: MDPI AG 2020-12-01
Series:Information
Subjects:
Online Access:https://www.mdpi.com/2078-2489/12/1/6
_version_ 1827699381284896768
author Sujan Ray
Khaldoon Alshouiliy
Dharma P. Agrawal
author_facet Sujan Ray
Khaldoon Alshouiliy
Dharma P. Agrawal
author_sort Sujan Ray
collection DOAJ
description Human activity recognition (HAR) is a classification task that involves predicting the movement of a person based on sensor data. As we can see, there has been a huge growth and development of smartphones over the last 10–15 years—they could be used as a medium of mobile sensing to recognize human activity. Nowadays, deep learning methods are in a great demand and we could use those methods to recognize human activity. A great way is to build a convolutional neural network (CNN). HAR using Smartphone dataset has been widely used by researchers to develop machine learning models to recognize human activity. The dataset has two parts: training and testing. In this paper, we propose a hybrid approach to analyze and recognize human activity on the same dataset using deep learning method on cloud-based platform. We have applied principal component analysis on the dataset to get the most important features. Next, we have executed the experiment for all the features as well as the top 48, 92, 138, and 164 features. We have run all the experiments on Google Colab. In the experiment, for the evaluation of our proposed methodology, datasets are split into two different ratios such as 70–10–20% and 80–10–10% for training, validation, and testing, respectively. We have set the performance of CNN (70% training–10% validation–20% testing) with 48 features as a benchmark for our work. In this work, we have achieved maximum accuracy of 98.70% with CNN. On the other hand, we have obtained 96.36% accuracy with the top 92 features of the dataset. We can see from the experimental results that if we could select the features properly then not only could the accuracy be improved but also the training and testing time of the model.
first_indexed 2024-03-10T13:49:01Z
format Article
id doaj.art-0a927eae40f746858fb9ce8de02f0cf7
institution Directory Open Access Journal
issn 2078-2489
language English
last_indexed 2024-03-10T13:49:01Z
publishDate 2020-12-01
publisher MDPI AG
record_format Article
series Information
spelling doaj.art-0a927eae40f746858fb9ce8de02f0cf72023-11-21T02:18:28ZengMDPI AGInformation2078-24892020-12-01121610.3390/info12010006Dimensionality Reduction for Human Activity Recognition Using Google ColabSujan Ray0Khaldoon Alshouiliy1Dharma P. Agrawal2Center for Distributed and Mobile Computing, EECS, University of Cincinnati, Cincinnati, OH 45221, USACenter for Distributed and Mobile Computing, EECS, University of Cincinnati, Cincinnati, OH 45221, USACenter for Distributed and Mobile Computing, EECS, University of Cincinnati, Cincinnati, OH 45221, USAHuman activity recognition (HAR) is a classification task that involves predicting the movement of a person based on sensor data. As we can see, there has been a huge growth and development of smartphones over the last 10–15 years—they could be used as a medium of mobile sensing to recognize human activity. Nowadays, deep learning methods are in a great demand and we could use those methods to recognize human activity. A great way is to build a convolutional neural network (CNN). HAR using Smartphone dataset has been widely used by researchers to develop machine learning models to recognize human activity. The dataset has two parts: training and testing. In this paper, we propose a hybrid approach to analyze and recognize human activity on the same dataset using deep learning method on cloud-based platform. We have applied principal component analysis on the dataset to get the most important features. Next, we have executed the experiment for all the features as well as the top 48, 92, 138, and 164 features. We have run all the experiments on Google Colab. In the experiment, for the evaluation of our proposed methodology, datasets are split into two different ratios such as 70–10–20% and 80–10–10% for training, validation, and testing, respectively. We have set the performance of CNN (70% training–10% validation–20% testing) with 48 features as a benchmark for our work. In this work, we have achieved maximum accuracy of 98.70% with CNN. On the other hand, we have obtained 96.36% accuracy with the top 92 features of the dataset. We can see from the experimental results that if we could select the features properly then not only could the accuracy be improved but also the training and testing time of the model.https://www.mdpi.com/2078-2489/12/1/6cloud platformconvolutional neural network (CNN)deep learningdimensionality reductionfeature extractiongoogle colab
spellingShingle Sujan Ray
Khaldoon Alshouiliy
Dharma P. Agrawal
Dimensionality Reduction for Human Activity Recognition Using Google Colab
Information
cloud platform
convolutional neural network (CNN)
deep learning
dimensionality reduction
feature extraction
google colab
title Dimensionality Reduction for Human Activity Recognition Using Google Colab
title_full Dimensionality Reduction for Human Activity Recognition Using Google Colab
title_fullStr Dimensionality Reduction for Human Activity Recognition Using Google Colab
title_full_unstemmed Dimensionality Reduction for Human Activity Recognition Using Google Colab
title_short Dimensionality Reduction for Human Activity Recognition Using Google Colab
title_sort dimensionality reduction for human activity recognition using google colab
topic cloud platform
convolutional neural network (CNN)
deep learning
dimensionality reduction
feature extraction
google colab
url https://www.mdpi.com/2078-2489/12/1/6
work_keys_str_mv AT sujanray dimensionalityreductionforhumanactivityrecognitionusinggooglecolab
AT khaldoonalshouiliy dimensionalityreductionforhumanactivityrecognitionusinggooglecolab
AT dharmapagrawal dimensionalityreductionforhumanactivityrecognitionusinggooglecolab