Core Concepts
The article presents an Android application that recognizes daily human activities and calculates the calories burned in real-time using smartphone sensors, particularly the accelerometer.
Abstract
The article discusses the development of an Android application that can recognize various human activities and calculate the calories burned in real-time using the smartphone's built-in sensors, particularly the accelerometer.
The key highlights and insights are:
The authors collected their own labeled dataset by recording triaxial acceleration readings from the smartphone's accelerometer for different daily activities, including idle, slow walking, normal walking, fast walking, jogging, running, and jumping.
The raw accelerometer data was preprocessed using a median filter to reduce noise. 42 features were then extracted from the preprocessed data using various statistical methods, including mean, variance, standard deviation, interquartile range, energy, kurtosis, and skewness.
The authors tested various machine learning algorithms, including Naive Bayes, Decision Trees (J48), Random Forest, Bagging, IBk, and Support Vector Machines, to classify the activities. They found that Random Forest and ensemble learning-based approaches provided the best accuracy (around 96%) and model building time.
For real-time activity recognition in the Android application, the authors selected the Naive Bayes classifier with 10 features, as it provided good accuracy (94.21%) with minimal processing requirements.
To calculate the calories burned, the authors used the Metabolic Equivalent of Task (MET) values for each activity and the user's weight. The calories burned are calculated in real-time based on the recognized activity and the duration of the activity.
The article demonstrates how smartphone sensors, particularly the accelerometer, can be effectively used for human activity recognition and calorie tracking, providing a practical and unobtrusive solution for health and fitness monitoring.
Stats
Naive Bayes with 42 features achieved 91.32% accuracy and 1.1 seconds model building time.
Naive Bayes with 10 features achieved 94.21% accuracy and 0 seconds model building time.
J48 Decision Tree with 42 features achieved 95.26% accuracy and 0.16 seconds model building time.
J48 Decision Tree with 11 features achieved 96.58% accuracy and 0.03 seconds model building time.
Random Forest with 42 features achieved 98.42% accuracy and 1.3 seconds model building time.
Random Forest with 9 features achieved 97.11% accuracy and 0.78 seconds model building time.
Quotes
"Smartphones have the ability to perform human activity recognition in an unobtrusive and less invasive as compared to special purpose sensors."
"Appropriate machine learning and data mining methods need to be developed for processing these sensor signals from smartphones for automatic and intelligent activity recognition."