测绘通报 ›› 2017, Vol. 0 ›› Issue (7): 29-33,44.doi: 10.13474/j.cnki.11-2246.2017.0218

Previous Articles     Next Articles

Research on Human Activity Recognition with Multiple Contexts by Using Random Forest

LIU Keqiang1,2, WANG Yunjia1, CHEN Ruizhi2, CHU Tianxing3   

  1. 1. School of Environment Science and Spatial Informatics, China University of Mining and Technology, Xuzhou 221116, China;
    2. State Key Labortatory of Information Engnineering in Surveying, Mapping, and Remote Sensing, Wuhan University, Wuhan 430079, China;
    3. Conrad Blucher Institute for Surveying & Science, Texas A & M University Corpus Christi, Corpus Christi, TX 78412 USA
  • Received:2016-11-28 Online:2017-07-25 Published:2017-08-07

Abstract: Previous research has verified the effectiveness of a method which utilizes multiple contexts including temporal, spatial, spatiotemporal and user from smartphone sensors to recognize human activities. But it has limitation in classification accuracy performance when recognizing human activity on smartphones by using naïve Bayes. This paper presents an improving research work on recognizing activity by utilizing a random forest algorithm in ensemble learning instead of original naïve Bayes under the same framework. The result of a ten-fold cross-validation experiment on three subjects' datasets shows that the weighted average F1 measures are improved by using random forest. However, the training time efficiency measures are worse than naive Bayes because of the complex structure of random forest. Meanwhile, the confusion matrix shows that the main factors for classification error are activity definition and indoor positioning error.

Key words: activity recognition, context awareness, machine learning, random forest, smartphone sensors

CLC Number: