Skip to main content

Linear SVM Models for Online Activity Recognition

  • Chapter
  • First Online:
Smartphone-Based Human Activity Recognition

Part of the book series: Springer Theses ((Springer Theses))

  • 1212 Accesses

Abstract

This chapter studies linear SVM algorithms and its application to an online system for the recognition of activities on smartphones (L-HAR). The algorithms differ on the norm of their formulation’s regularization term (whether it is the L1-, L2- or L1-L2-Norm). They allow to control over dimensionality reduction and classification accuracy while increasing the prediction speed when compared with kernelized SVM algorithms. Moreover, this chapter presents a novel approach for training these classifiers (EX-SMO)withminimal effort usingwell-known solvers. To conclude, the benefits of adding smartphones gyroscope into the recognition system are presented along with another feature selection mechanisms that use subsets of features in the time and frequency domain.

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 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover 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

  • L. Bao, S.S. Intille, in Activity Recognition from User-Annotated Acceleration Data. Pervasive Computing (2004)

    Google Scholar 

  • S. Boyd, L. Vandenberghe, Convex Optimization (Cambridge University, Cambridge, 2004)

    Google Scholar 

  • R. Fan, K. Chang, C. Hsieh, X. Wang, C. Lin, Liblinear: a library for large linear classification. J. Mach. Learn. Res. 9, 1871–1874 (2008)

    MATH  Google Scholar 

  • B.P. Flannery, W.H. Press, S.A. Teukolsky, W. Vetterling, Numerical Recipes in C (Cambridge University Press, 1992)

    Google Scholar 

  • J. Friedman, T. Hastie, R. Tibshirani, Regularization paths for generalized linear models via coordinate descent. J. Stat. Softw. 33, 1 (2010)

    Google Scholar 

  • A. Ghio, D. Anguita, L. Oneto, S. Ridella, C. Schatten, in Nested Sequential Minimal Optimization for Support Vector Machines. International Conference on Artificial Neural Networks (2012)

    Google Scholar 

  • D.M. Karantonis, M.R. Narayanan, M. Mathie, N.H. Lovell, B.G. Celler. Implementation of a real-time human movement classifier using a triaxial accelerometer for ambulatory monitoring. IEEE Trans. Inf. Technol. Biomed. 10, 156–167 (2006)

    Google Scholar 

  • S.S. Keerthi, S.K. Shevade, C. Bhattacharyya, K.R.K. Murthy, Improvements to platt’s smo algorithm for svm classifier design. Neural Comput. 13, 637–649 (2001)

    Article  MATH  Google Scholar 

  • N.M. Khan, R. Ksantini, I.S. Ahmad, L. Guan, A Sparse Support Vector Machine Classifier with Nonparametric Discriminants. International Conference on Artificial Neural Networks (2012)

    Google Scholar 

  • A.M. Khan, Y.-K. Lee, S.Y. Lee, T.-S. Kim, in Human Activity Recognition via an Accelerometer-Enabled-Smartphone Using Kernel Discriminant Analysis. IEEE International Conference on Future Information Technology (2010)

    Google Scholar 

  • J. Platt, Sequential Minimal Optimization: A Fast Algorithm for Training Support Vector Machines (Technical report, Microsoft Research, Redmond 1998)

    Google Scholar 

  • W.H. Press, S.A. Teukolsky, W.T. Vetterling, B.P. Flannery, Numerical Recipes 3rd edition: The Art of Scientific Computing (Cambridge University Press, Cambridge 2007)

    Google Scholar 

  • R. Rifkin, A. Klautau, In defense of one-vs-all classification. J. Mach. Learn. Res. 5, 101–141 (2004)

    Google Scholar 

  • B. Romera-Paredes, H. Aung, N. Bianchi-Berthouze, A One-vs-One Classifier Ensemble with Majority Voting for Activity Recognition. European Symposium on artificial neural networks, computational intelligence and machine learning (2013)

    Google Scholar 

  • B. Schölkopf, A.J. Smola. Learning with Kernels: Support Vector Machines, Regularization, Optimization, and Beyond (MIT press, Cambridge, 2001)

    Google Scholar 

  • M.R. Segal, K.D. Dahlquist, B.R. Conklin, Regression approaches for microarray data analysis. J. Comput. Biol. 10, 961–980 (2003)

    Google Scholar 

  • S. Shalev-Shwartz, Y. Singer, N. Srebro, in Pegasos: Primal Estimated Sub-Gradient Solver for svm. International Conference on Machine Learning (2007)

    Google Scholar 

  • J. Shawe-Taylor, S. Sun, A review of optimization methodologies in support vector machines. Neurocomputing 74, 3609–3618 (2011)

    Article  Google Scholar 

  • R. Tibshirani, Regression shrinkage and selection via the lasso. J. Roy. Stat. Soc. B 58, 267–288 (1996)

    Google Scholar 

  • A.N. Tikhonov, V.Y. Arsenin, Solutions of ill-posed problems. Math. Comput. 32, 1320–1322 (1978)

    Article  Google Scholar 

  • V.N. Vapnik, Statistical Learning Theory (Wiley-Interscience, New York ,1998)

    Google Scholar 

  • V.N. Vapnik, The Nature of Statistical Learning Theory (Springer, New York, 1995)

    Google Scholar 

  • W. Wu, S. Dasgupta, E.E. Ramirez, C. Peterson, G.J. Norman, Classification accuracies of physical activities using smartphone motion sensors. J. Med. Int. Res. 14, 105–130 (2012)

    Google Scholar 

  • H. Zou, T. Hastie, Regularization and variable selection via the elastic net. J. Roy. Stat. Soc. B 67, 301–320 (2005)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jorge Luis Reyes Ortiz .

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Reyes Ortiz, J.L. (2015). Linear SVM Models for Online Activity Recognition . In: Smartphone-Based Human Activity Recognition. Springer Theses. Springer, Cham. https://doi.org/10.1007/978-3-319-14274-6_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-14274-6_6

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-14273-9

  • Online ISBN: 978-3-319-14274-6

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics