• No results found

It is possible to compare results obtained using monolithic classifiers and MCS, the best result for Data Set 1 is on Table 20 and for Data Set 2 is on Table 21. Analyzing the data sets separately, the results are quite similar, but for Data Set 1 the MCS using KNORA-U with Perceptron was better than the best monolithic classifier using MLP. Besides, both results were better the SVM result presented in previous work (Anguita et al.,2013). For Data Set 2, the monolithic model was better than MCS one.

Table 20: Best results from monolithic and MCS for Data Set 1 Model Accuracy Precision Recall F1 score

MLP 0.9477 0.9513 0.9477 0.9479

KNORA-U

(Perceptron) 0.9562 0.9565 0.9562 0.9561

Table 21: Best results from monolithic and MCS for Data Set 2 Model Accuracy Precision Recall F1 score Random Forest 0.8804 0.8780 0.8780 0.8780 Static Selection

(Decision Tree) 0.8398 0.8453 0.8398 0.8398

Comparing all results for both data sets is interesting to notice that models were better in Data Set 1. As Table 4 shows, that was expected, because Data Set 1 has more instances than Data Set 2, the first has 10299 instances, and the second has 5744 instances. Another aspect of analyzing is that using MCS does not achieve a better result than monolithic classifiers. Table 22 shows the result obtained by (Anguita et al.,2013) and the best results obtained for the Data Set 1, so it is possible to see that the results are similar to those obtained by (Anguita et al.,2013).

Table 22: Best results for Data Set 1 and results obtain by (Anguita et al.,2013) Model Accuracy Precision Recall

SVM

(Anguita et al.,2013) 0.9600 0.9600 0.9600 KNORA-U

(Perceptron) 0.9562 0.9565 0.9562

5

CONCLUSION AND FUTURE WORKS

Physical Inactivity brings some health problems, and the decreasing of active time per person is one of the biggest concerns of the WHO. One of the initial efforts to treat it, it is to identify and measure the activity performed by someone and HAR is the tools to it. HAR process is divided into two steps: the acquisition phase, that uses a sensor to collect information about the movement performed by someone and the classification phase, that consists in classify the data in one of the ADL.

The presented work tested some monolithic classifiers and some MCS, comparing their results using accuracy, precision, recall, and F1-score. Also, this work compared the results of the monolithic classifiers using L2 distance normalization and MinMaxScaler in HAR with no normalized data, showing how these techniques impact in the results of some classifiers as SVM and Bernoulli NB. Considering these worse result, the MCS were trained using no normalized data.

Analyzing the results, it is notable that the MCS does not achieve better results than the monolithic classifiers. Even in Data Set 1 that the best model, KNORA-U using Perceptron, is only quite better than the best monolithic classifier, MLP, the KNORA-U obtain an accuracy of 0.9562, and the MLP an accuracy of 0.9477. In Data Set 2, the best monolithic classifier, Random Forest, achieve an accuracy of 0.8804, better than the accuracy of 0.8398, accomplish by the best MCS, Static Selection with Decision Tree.

Besides these results, some points can be made in future works to complete the analyzes on HAR using MCS:

 Compare the computational time of training all the models, to give the trade-off of use MCS instead of using a monolithic classifier.

 Perform a grid search on the best parameters for some classifiers, as MLP, SVM and the MCS to find the finest results for these classifiers.

 Use both data sets to train a unique model, given more instances in the training phase and observe if that leads to better results.

29 29 29

 Compare achieved results using a statistical test to precisely define which is better between monolithic classifiers and MCS.

REFERENCES

Anguita, D., Ghio, A., Oneto, L., Parra Perez, X., & Reyes Ortiz, J. L. (2013). A public domain dataset for human activity recognition using smartphones. In Proceedings of the 21th International European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning, 437–442.

Breiman, L. (1996). Bagging predictors. Machine learning, 24(2):123–140.

Britto Jr, A. S., Sabourin, R., & Oliveira, L. E. (2014). Dynamic selection of classifiers—a comprehensive review. Pattern Recognition, 47(11):3665–3680.

Dua, D. & Graff, C. (2017). UCI machine learning repository.

Elamvazuthi, I., Izhar, L., Capi, G., et al. (2018). Classification of human daily activities using ensemble methods based on smartphone inertial sensors. Sensors, 18(12):4132.

Freund, Y., Schapire, R. E., et al. (1996). Experiments with a new boosting algorithm. In icml, 96:148–156.

Giacinto, G. & Roli, F. (1999). Methods for dynamic classifier selection. In Proceedings 10th International Conference on Image Analysis and Processing, 659–664.

Han, J., Pei, J., & Kamber, M. (2011). Data mining: concepts and techniques. Elsevier.

Jain, A. & Kanhangad, V. (2017). Human activity classification in smartphones using accelerom-eter and gyroscope sensors. IEEE Sensors Journal, 18(3):1169–1177.

Karantonis, D. M., Narayanan, M. R., Mathie, M., Lovell, N. H., & Celler, B. G. (2006).

Implementation of a real-time human movement classifier using a triaxial accelerometer for ambulatory monitoring. IEEE transactions on information technology in biomedicine, 10(1):156–

167.

Kittler, J., Hater, M., & Duin, R. P. (1996). Combining classifiers. In Proceedings of 13th international conference on pattern recognition, 2:897–901.

Kurzynski, M., Woloszynski, T., & Lysiak, R. (2010). On two measures of classifier competence for dynamic ensemble selection-experimental comparative analysis. In 2010 10th International Symposium on Communications and Information Technologies, 1108–1113.

Lukowicz, P., Ward, J. A., Junker, H., Stäger, M., Tröster, G., Atrash, A., & Starner, T. (2004).

Recognizing workshop activity using body worn microphones and accelerometers. In Interna-tional conference on pervasive computing, 18–32.

Ni, B., Wang, G., & Moulin, P. (2011). Rgbd-hudaact: A color-depth video database for human daily activity recognition. In 2011 IEEE international conference on computer vision workshops (ICCV workshops), 1147–1153.

Ravi, N., Dandekar, N., Mysore, P., & Littman, M. L. (2005). Activity recognition from accelerometer data. In Aaai, 5(2005):1541–1546.

31 31 31

Sabourin, M., Mitiche, A., Thomas, D., & Nagy, G. (1993). Classifier combination for hand-printed digit recognition. In Proceedings of 2nd International Conference on Document Analysis and Recognition (ICDAR’93), 163–166.

Wang, A., Chen, G., Yang, J., Zhao, S., & Chang, C.-Y. (2016). A comparative study on human activity recognition using inertial sensors in a smartphone. IEEE Sensors Journal, 16(11):4566–4578.

Warburton, D. E., Nicol, C. W., & Bredin, S. S. (2006). Health benefits of physical activity: the evidence. Cmaj, 174(6):801–809.

Woods, K., Kegelmeyer, W. P., & Bowyer, K. (1997). Combination of multiple classifiers using local accuracy estimates. IEEE transactions on pattern analysis and machine intelligence, 19(4):405–410.

World Health Organization (2010). Global recommendations on physical activity for health.

World Health Organization.

Related documents