Skip to main content

Developing a Machine Learning Library for Microcontrollers

  • Conference paper
  • First Online:
Applications in Electronics Pervading Industry, Environment and Society (ApplePies 2018)

Abstract

With the appearance of tools to support the emerging paradigm of edge computing, we expect that low cost microcontrollers will become appealing execution platforms also for machine learning. To explore this field, we implemented Machine Learning eMbedded Library (ML)2 and tested it in a simple case (classifying human movement as normal or not) and with a benchmark dataset to have a first comparison in performance with other implemented algorithms. Results—in terms of accuracy and of execution time, both for training and classification—are promising, and encourage the next steps of our work, in the direction of extending the set of implemented algorithms and going more in depth with the testing. In any case, we believe that these preliminary results should spur the Internet of Things research community in devising distributed computing algorithms able to support ML computation as close as possible to the source.

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 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.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

  1. Satyanarayanan, M.: The emergence of edge computing. Computer 50(1), 30–39 (2017)

    Article  Google Scholar 

  2. Shi, W., Dustdar, S.: The promise of edge computing. Computer 49(5), 78–81 (2016)

    Article  Google Scholar 

  3. Arias, P., Kelley, C., Mason, J., Bryant, K. and Roy, K.: Classification of user movement data, ICDSP 2018, February 25–27, 2018, Tokyo, Japan

    Google Scholar 

  4. https://www.st.com/en/mems-and-sensors/lsm6dsl.html

  5. https://www.st.com/en/microcontrollers/stm32f401.html?querycriteria=productId=LN1810

  6. http://fizyka.umk.pl/kis-old/projects/datasets.html#Sonar

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Francesco Bellotti .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Parodi, A., Bellotti, F., Berta, R., De Gloria, A. (2019). Developing a Machine Learning Library for Microcontrollers. In: Saponara, S., De Gloria, A. (eds) Applications in Electronics Pervading Industry, Environment and Society. ApplePies 2018. Lecture Notes in Electrical Engineering, vol 573. Springer, Cham. https://doi.org/10.1007/978-3-030-11973-7_36

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-11973-7_36

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-11972-0

  • Online ISBN: 978-3-030-11973-7

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics