Abstract—Smartphones are widely used today, and it becomes possible to detect the user's environmental changes by using the smartphone sensors, as demonstrated in this paper where we propose a method to identify human activities with reasonably high accuracy by using smartphone sensor data. First, the raw smartphone sensor data are collected from two categories of human activity: motion-based, e.g., walking and running; and phone movement-based, e.g., left-right, up-down, clockwise and counterclockwise movement. Firstly, two types of features extraction are designed from the raw sensor data, and activity recognition is analyzed using machine learning classification models based on these features. Secondly, the activity recognition performance is analyzed through the Convolutional Neural Network (CNN) model using only the raw data. Our experiments show substantial improvement in the result with the addition of features and the use of CNN model based on smartphone sensor data with judicious learning techniques and good feature designs.
Index Terms—CNN, feature extraction, human activity recognition, sensors, smartphone, SVM.
Q. Liu and P. Uduthalapally are with the Department of Computer Science, Sam Houston State University, Huntsville, TX 77382 USA.0523 USA (e-mail: email@example.com, firstname.lastname@example.org).
Z. Zhou, S. R. Shakya, and A. H. Sung are with the School of Computing, University of Southern Mississippi, Hattiesburg, MS 39406 USA (e-mail: email@example.com,firstname.lastname@example.org,Andrew.email@example.com).
M. Qiao is with the Mathematics and Computer Science, South Dakota School of Mines and Technology, Rapid City, SD 57701 USA (e-mail: firstname.lastname@example.org).
Cite: Qingzhong Liu, Zhaoxian Zhou, Sarbagya Ratna Shakya, Prathyusha Uduthalapally, Mengyu Qiao, and Andrew H. Sung, "Smartphone Sensor-Based Activity Recognition by Using Machine Learning and Deep Learning Algorithms," International Journal of Machine Learning and Computing vol. 8, no. 2, pp. 121-126, 2018.