Skip to main content

Using Jaccard Distance Measure for Unsupervised Activity Recognition with Smartphone Accelerometers

  • Conference paper
  • First Online:
Web and Big Data (APWeb-WAIM 2017)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 10612))

Abstract

The rapid popularity of smartphones has led to a growing research interest in human activity recognition (HAR) with the mobile devices. Accelerometer is the most commonly used sensor of smartphone for HAR. Many supervised HAR methods have been developed. However, it is very difficult to collect the annotated or labeled training data for HAR. So, developing of effective unsupervised methods for HAR is very necessary. The accuracy of an unsupervised method, such as clustering, can be greatly affected by the similarity or distance measures, because the learning process of clustering method is completely depending on the similarity between objects. Although Euclidean distance measure is commonly used in unsupervised activity recognition, it is not suitable for measuring distance when the number of features is very large, which is usually the case in HAR. Jaccard distance is a distance measure based on mutual information theory and can better represent the differences between nonnegative feature vectors than Euclidean distance. It can also work well with a large number of features. In this work, the Jaccard distance measure is applied to HAR for the first time. In the experiments, the results of the Jaccard distance measure and the Euclidean distance measure are compared, using three different feature extraction methods which include time-domain, frequency-domain and mixed-domain feature extractions. To comprehensively analyze the experimental results, two different evaluation methods are used: (a) C-Index before clustering, (b) FM-index after using five different clustering methods which are Spectral Cluster, Single-Linkage, Ward-Linkage, Average-Linkage, and K-Medoids. Experiments show that, almost for every combination of the feature extraction methods and the evaluation methods, the Jaccard distance measure is consistently better than the Euclidean distance measure for unsupervised HAR.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Nie, L., Akbari, M., Li, T., Chua, TS.: A joint local-global approach for medical terminology assignment. In: Medical Information Retrieval Workshop at the 37th International ACM SIGIR Conference on Research and Development in Information Retrieval, Gold Coast, Australia, pp. 24–27 (2014)

    Google Scholar 

  2. Nie, L., Wang, M., Zhang, L., Yan, S., Bo, Z., Chua, T.S.: Wenzher: comprehensive vertical search for healthcare domain. In: The 37th International ACM SIGIR Conference on Research and Development in Information Retrieval, Gold Coast, Australia, pp. 1245–1246 (2014)

    Google Scholar 

  3. Nie, L., Wang, M., Zhang, L., Yan, S., Bo, Z., Chua, T.S.: Disease inference from health-related questions via sparse deep learning. IEEE Trans. Knowl. Data Eng. 27(8), 2107–2119 (2015)

    Article  Google Scholar 

  4. Liu, L., Peng, Y., Liu, M., Huang, Z.: Sensor-based human activity recognition system with a multilayered model using time series shapelets. Knowl. Based Syst. 90, 138–152 (2015)

    Article  Google Scholar 

  5. Nie, L., Zhang, L., Yang, Y., Wang, M., Hong, R., Chua, T.S.: Beyond doctors: future health prediction from multimedia and multimodal observations. In: The 23rd ACM International Conference on Multimedia, Brisbane, Australia, pp. 591–600 (2015)

    Google Scholar 

  6. Pitta, F., Takaki, M.Y., Oliveira, N.H., Sant’Anna, T.J.P., Fontana, A.D., Kovelis, D., et al.: Relationship between pulmonary function and physical activity in daily life in patients with COPD. Respir. Med. 102(8), 1203–1207 (2008)

    Article  Google Scholar 

  7. Khan, A.M., Lee, Y.K., Lee, S.Y., Kim, T.S.: Human activity recognition via an accelerometer-enabled-smartphone using kernel discriminant analysis. In: The 5th International Conference on Future Information Technology (FutureTech), Busan, Korea (South), pp. 1–6 (2010)

    Google Scholar 

  8. He, Y., Li, Y.: Physical activity recognition utilizing the built-in kinematic sensors of a smartphone. Int. J. Distrib. Sens. Netw. 9(4), 481580 (2013)

    Article  Google Scholar 

  9. Miao, F., He, Y., Liu, J., Li, Y., Ayoola, I.: Identify typical physical activity on smartphone with varying positions and orientations. Biomed. Eng. Online 14(1), 32 (2015)

    Article  Google Scholar 

  10. Huynh, T., Schiele, B.: Analyzing features for activity recognition. In: Proceedings of the 2005 Joint Conference on Smart Objects and Ambient Intelligence: Innovative Context-Aware Services: Usages and Technologies, Grenoble, France, pp. 159–163 (2005)

    Google Scholar 

  11. Figueira, C.R., Matias, R., Hugo, G.: Body location independent activity monitoring. In: The 9th International Joint Conference on Biomedical Engineering Systems and Technologies (BIOSTEC), Rome, Italy, pp. 190–197 (2016)

    Google Scholar 

  12. Sun, L., Zhang, D., Li, B., Guo, B., Li, S.: Activity recognition on an accelerometer embedded mobile phone with varying positions and orientations. In: Yu, Z., Liscano, R., Chen, G., Zhang, D., Zhou, X. (eds.) UIC 2010. LNCS, vol. 6406, pp. 548–562. Springer, Heidelberg (2010). doi:10.1007/978-3-642-16355-5_42

    Chapter  Google Scholar 

  13. Anjum, A., IIyas, M.U.: Activity recognition using smartphone sensors. In: 10th Consumer Communications and Networking Conference (CCNC), Las Vegas, USA, pp. 914–919 (2013)

    Google Scholar 

  14. Lu, Y., Wei, Y., Liu, L., Zhong, J., Sun, L., Liu, Y.: Towards unsupervised physical activity recognition using smartphone accelerometers. Multimedia Tools Appl. 76, 1–19 (2016)

    Google Scholar 

  15. Levandowsky, M., Winter, D.: Distance between sets. Nature 234(5), 34–35 (1971)

    Article  Google Scholar 

  16. Fan, L., Wang, J., Wang, H.: Activity recognition based on position-independent smartphone. J. Comput. Inf. Syst. 10(11), 4921–4928 (2014)

    Google Scholar 

  17. Machado, I.P., Gomes, A.L., Gamboa, H., Paixão, V., Costa, R.M.: Human activity data discovery from triaxial accelerometer sensor: non-supervised learning sensitivity to feature extraction parameterization. Inf. Process. Manag. 51(2), 204–214 (2015)

    Article  Google Scholar 

  18. Gomes, A.L.G.N.: Human activity recognition with accelerometry: novel time and frequency. Doctoral dissertation, Champalimaud Neuroscience Programme (2014)

    Google Scholar 

  19. Amitha, R., Rajakumari, K.: Hierarchical clustering based activity tracking system in a smart environment. Int. J. Comput. Sci. Tech. 3, 2229–4333 (2012)

    Google Scholar 

  20. UCI dataset. https://archive.ics.uci.edu/ml/datasets/Human+Activity+Recognition+Using+Smartphones

  21. Wang, D., Liu, L., Wang, X., Lu, Y.: A novel feature extraction method on activity recognition using smartphone. In: Song, S., Tong, Y. (eds.) WAIM 2016. LNCS, vol. 9998, pp. 67–76. Springer, Cham (2016). doi:10.1007/978-3-319-47121-1_6

    Chapter  Google Scholar 

  22. Hubert, L., Schultz, J.: Quadratic assignment as a general data-analysis strategy. Br. J. Math. Stat. Psychol. 29(2), 190–241 (1976)

    Article  MATH  MathSciNet  Google Scholar 

  23. Fowlkes, E.B., Mallows, C.: A method for comparing two hierarchical clusterings. J. Am. Stat. Assoc. 78(383), 553–569 (1983)

    Article  MATH  Google Scholar 

Download references

Acknowledgments

This work is supported by the National Science Foundation of China (Grants No. 61272213) and the Fundamental Research Funds for the Central Universities (Grants No. lzujbky-2016-k07).

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Yonggang Lu or Li Liu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Wang, X., Lu, Y., Wang, D., Liu, L., Zhou, H. (2017). Using Jaccard Distance Measure for Unsupervised Activity Recognition with Smartphone Accelerometers. In: Song, S., Renz, M., Moon, YS. (eds) Web and Big Data. APWeb-WAIM 2017. Lecture Notes in Computer Science(), vol 10612. Springer, Cham. https://doi.org/10.1007/978-3-319-69781-9_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-69781-9_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-69780-2

  • Online ISBN: 978-3-319-69781-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics