Skip to main content
Log in

LE2ML: a microservices-based machine learning workbench as part of an agnostic, reliable and scalable architecture for smart homes

  • Original Research
  • Published:
Journal of Ambient Intelligence and Humanized Computing Aims and scope Submit manuscript

Abstract

Over the years, several architecture of smart home has been proposed to enable the use of ambient intelligence. However, the major issue with most of them lies in their lack of high reliability and scalability. Therefore, the first contribution of this paper introduces a novel distributed architecture for smart homes, inspired by private cloud architectures, which is reliable and scalable. This implementation aims at simplifying and encouraging both the deployment of new software components as well as their reutilization to achieve the activity recognition process inside smart homes. The second contribution of this paper is the introduction of the LIARA Environment for Modular Machine Learning (LE2ML), a new machine learning workbench. Its design relies on a microservices architecture to provide a better scalability as well as smaller and faster deployments. Experiments demonstrate that our architecture is resilient to both a node failure and a total power outage. Moreover, the workbench obtained similar results, as regards the performance of the recognition, when compared to previously proposed methods.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14

Similar content being viewed by others

Notes

  1. https://hadoop.apache.org/.

  2. https://www.osgi.org/.

  3. https://zeromq.org/.

  4. https://numpy.org/.

  5. https://www.scipy.org/.

  6. https://scikit-learn.org/.

  7. https://www.linbit.com/drbd/.

  8. http://www.linux-ha.org/doc/man-pages/re-heartbeat.html.

  9. https://www.docker.com/.

  10. https://kubernetes.io/.

  11. https://mesos.apache.org/.

  12. https://docs.docker.com/engine/swarm/.

  13. https://traefik.io/.

  14. https://www.nginx.com/.

  15. https://www.haproxy.org/.

  16. https://www.ansible.com/.

  17. https://www.portainer.io/.

  18. https://www.mongodb.com/.

  19. https://hub.docker.com/.

  20. https://github.com/FlorentinTh/LE2ML.

  21. https://github.com/FlorentinTh/LE2ML-API.

  22. https://nodejs.org/.

  23. https://expressjs.com/.

  24. https://github.com/FlorentinTh/LE2ML-GUI.

  25. https://github.com/FlorentinTh/LE2ML-Windowing-Module.

  26. https://github.com/FlorentinTh/LE2ML-FeatureExtractor-Module.

  27. https://github.com/LIARALab/GoLang-FeatureExtractor.

  28. https://github.com/FlorentinTh/LE2ML-Learning-Module.

  29. https://openwrt.org/.

  30. https://www.raspberrypi.org/downloads/raspberry-pi-os/.

References

Download references

Acknowledgements

The authors would like to thank the Canadian Foundation for Innovation (CFI) for providing the laboratory infrastructure and the equipment.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Florentin Thullier.

Ethics declarations

Conflict of interest

The authors declare no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Thullier, F., Hallé, S. & Gaboury, S. LE2ML: a microservices-based machine learning workbench as part of an agnostic, reliable and scalable architecture for smart homes. J Ambient Intell Human Comput 14, 6563–6584 (2023). https://doi.org/10.1007/s12652-021-03528-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12652-021-03528-8

Keywords

Navigation