Skip to main content

Home Occupancy Estimation Using Machine Learning

  • Conference paper
  • First Online:
Advanced Network Technologies and Intelligent Computing (ANTIC 2022)

Abstract

Today, Smart home technology is commonly used for remote observation and control of devices and systems, for example, heating and lighting for convenience, support, and energy saving. Smart home devices incorporate the Internet of Things (IoT) to help automate activities based on the homeowners’ preferences by working together to share the home members’ usage data. Many papers are published on home occupancy detection. Occupancy and presence can be used in the contextual smart home to accurately determine the presence of someone in buildings or houses and also able to predict various events and pre-emptive action combines inexpensive, non-intrusive sensors including CO2, temperature, sound, light, and movement with the aid of supervised learning methods like quadratic random forest and support vector machine (SVM). This method primarily focuses on reliably predicting the total occupants in an area with the help of a combination of heterogeneous sensor nodes and ML algorithms with the greatest 98.4% and the highest 0.953 F1 score. This paper primarily focuses on reliably determining the people in a room utilizing numerous sensor nodes that are heterogeneous in nature and machine learning algorithms, using various parameters such as CO2, temperature, light, sound, and motion with the help of supervised learning methods like Logistic regression, Naive Bayes, SVM Linear Kernel, KNN, Decision tree, Random Forest, SVM RBF Kernel, with the Maximum Accuracy of 99.62% and F1 score 0.996 The effectiveness of a scaled dimensional data set was further assessed using linear discriminant analysis i.e. LDA and principal component analysis i.e. PCA.

Supported by organization IGDTUW.

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 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.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. Singh, A.J., Chaudhari,V., Kraemer, S., Werner, F., Stefan Garg, Vishal.: Machine learning-based occupancy estimation using multivariate sensor nodes, pp. 1–6 (2018). https://doi.org/10.1109/GLOCOMW.2018.8644432

  2. Dong, B., et al.: An information technology enabled sustainability test-bed (itest) for occupancy detection through an environmental sensing network. Energy Build. 42(7), 1038–1046 (2010)

    Article  Google Scholar 

  3. Yang, Z., Li, N., Becerik-Gerber, B., Orosz, M.: A multi-sensor based occupancy estimation model for supporting demand driven HVAC operations. In: Conference: The Symposium on Simulation for Architecture and Urban Design (SimAUD) 2012, Orlando, March 2012

    Google Scholar 

  4. Masood, M., Soh, Y., Chang, V.: Real-time occupancy estimation using environmental parameters. In: International Joint Conference on Neural Network (IJCNN). pp. 1–8, July 2015. https://doi.org/10.1109/IJCNN.2015.7280781

  5. Chen, Z., Jiang, C., Masood, M.K., Soh, Y.C., Wu, M., Li, X.: Deep learning for building occupancy estimation using environmental sensors. In: Pedrycz, W., Chen, S.-M. (eds.) Deep Learning: Algorithms and Applications. SCI, vol. 865, pp. 335–357. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-31760-7_11

    Chapter  Google Scholar 

  6. Dey, A., et al.: Namatad: inferring occupancy from building sensors using machine learning. In: IEEE 3rd World Forum Internet of Things (WF-IoT), pp. 478–483, Dec ember 2016

    Google Scholar 

  7. Taunk, K., Verma, S., Swetapadma, A.: A brief review of nearest neighbor algorithms for learning and classification. In: International Conference on Intelligent Computing and Control Systems (ICCS), May 2019. https://doi.org/10.1109/ICCS45141.2019.9065747

  8. Yang, B., Haghighat, F., Fung, B.C.M., Panchabikesan, K.: Season-based occupancy prediction in residential buildings using machine learning models. e-Prime 1, 100003 (2021). https://doi.org/10.1016/j.prime.2021.100003

    Article  Google Scholar 

  9. Madson, M., et al.: KNN algorithm and multivariate analysis to select and classify starch films. Food Packaging Shelf Life 34, 100976 (2022). https://doi.org/10.1016/j.fpsl.2022.100976

    Article  Google Scholar 

  10. Alves, A., et al.: Read this paper if you want to learn logistic regression. Revista de Sociologia e Politica. 28, 1 (2020). https://doi.org/10.1590/1678987320287406en

  11. Thorat, A.: Simply Logistic Regression, December 2021

    Google Scholar 

  12. Evgeniou, T., Pontil, M.: Support vector machines: theory and applications. In: Paliouras, G., Karkaletsis, V., Spyropoulos, C.D. (eds.) Machine Learning and Its Applications. ACAI 1999. LNCS, vol. 2049, pp. 249–257. Springer, Berlin, Heidelberg (2001). https://doi.org/10.1007/3-540-44673-7_12

  13. Sai, F., Kamasani, M., Mitra, S.: A study on naive bayes classifier. Naive Bayers. Chittoor, November 2021

    Google Scholar 

  14. Ali, J., Khan, R., Ahmad, N., Maqsood, I.: Random forests and decision trees. Int. J. Comput. Sci. Issues (IJCSI). 9, 272 (2012)

    Google Scholar 

  15. Farhadi, Z., Bevrani, H., Feizi Derakhshi, M.R.: Improving random forest algorithm by selecting appropriate penalized method. In: Communications in Statistics - Simulation and Computation, pp. 1–16, November 2022

    Google Scholar 

  16. Shereena, V.B., David, J.: Comparative study of dimensionality reduction techniques using PCA and LDA for content based image retrieval. In: International Conference on Computer Science and Information Technology, April 2015. https://doi.org/10.5121/csit.2015.50905

  17. Iliou, T., Anagnostopoulos, C.N., Nerantzaki, M., Anastassopoulos, G.: A novel machine learning data preprocessing method for enhancing classification algorithms performance. In: Conference: Proceedings of the 16th International Conference on Engineering Applications of Neural Networks (INNS), Rhodes, Greece, September 2015. https://doi.org/10.1145/2797143.2797155

  18. Pedregosa, F., et al.: Scikit-learn: Machine learning in python. J. Mach. Learn. Res. 12, 2825–2830 (2011)

    MathSciNet  MATH  Google Scholar 

  19. Garg, V., Bansal, N.: Smart occupancy sensors to reduce energy consumption. Energy Build. 32(1), 81–87 (2000)

    Article  Google Scholar 

  20. Erickson, V., Achleitner, S., Cerpa, T.: POEM: power effificient occupancy based energy management system. In: Proceedings of 12th International Conference on Information Processing in Sensor Network (IPSN), pp. 203–216, New York, NY, USA (2013)

    Google Scholar 

  21. Balaji,B., Xu, J., S., Nwokafor, A., Gupta, R., Agarwal, Y.: Sentinel: occupancy based HVAC actuation using existing WiFi infrastructure within commercial buildings. In: Proceedings of the 11th ACM Conference on Embedded Networked Sensor Systems, pp. 17:1–17:14, November 2013. https://doi.org/10.1145/2517351.2517370

  22. Scott, J., et al.: Preheat: controlling home heating using occupancy prediction. In: Proceedings of 13th International Conference on Ubiquitous Computing Series. UbiComp. New York, NY, USA, pp. 281–290. ACM (2011). https://doi.org/10.1145/2030112.2030151

  23. Li, N., Calis, G., BecerikGerber, B.: Measuring and monitoring occupancy with an RFID based system for demand-driven HVAC operations. Autom. Constr. 24, 89–99 (2012)

    Article  Google Scholar 

  24. Ang,I.B., Salim, F.D., Hamilton, M.: Human occupancy recognition with multivariate ambient sensors. In: IEEE International Conference on Pervasive Computing and Communication Workshops (PerCom Workshops), pp. 1–6, March 2016. https://doi.org/10.1109/PERCOMW.2016.7457116

  25. Yang, T., Zhao, L., Li, W., Wu, J., Zomaya, A.: Towards healthy and cost-effective indoor environment management in smart homes: a deep reinforcement learning approach. Appl. Energy. 300, 117335 (2021). https://doi.org/10.1016/j.apenergy.2021.117335

Download references

Acknowledgements

We are grateful to our renowned college Indira Gandhi Delhi Technical University for Women for motivating us as well as also for providing us with all the much needed guidance and mentorship, we would also like to thank our mentor Dr. Richa Yadav for her support and a special thanks to our guide Pushpanjali Kumari for helping us at every step.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Muskan Sharma .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kumari, P., Kushwaha, P., Sharma, M., kumari, P., Yadav, R. (2023). Home Occupancy Estimation Using Machine Learning. In: Woungang, I., Dhurandher, S.K., Pattanaik, K.K., Verma, A., Verma, P. (eds) Advanced Network Technologies and Intelligent Computing. ANTIC 2022. Communications in Computer and Information Science, vol 1798. Springer, Cham. https://doi.org/10.1007/978-3-031-28183-9_37

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-28183-9_37

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-28182-2

  • Online ISBN: 978-3-031-28183-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics