Room Occupancy Detection Based on Random Forest with Timestamp Features and ANOVA Feature Selection Method

被引:0
作者
Alam S. [1 ]
Sari R.M. [1 ]
Alfian G. [1 ]
Farooq U. [2 ]
机构
[1] Department of Electrical Engineering and Informatics, Vocational College, Universitas Gadjah Mada, Yogyakarta
[2] Faculty of Business and Law, Coventry University, Coventry
关键词
Feature selection; IoT; Machine learning; Occupancy detection; Web-based system;
D O I
10.5626/JCSE.2024.18.1.00
中图分类号
学科分类号
摘要
To improve energy efficiency, understanding occupant behavior is crucial for adaptive temperature control and optimal electronic device usage. Our study introduces a room occupancy detection system using machine learning and Internet-of-Things sensors to predict occupant behavior patterns. Initially, indoor IoT sensor devices are installed to observe occupant behavior, and datasets are generated from sensor data, including temperature, humidity, light, and CO2 levels, in both occupied and vacant rooms. The collected dataset undergoes analysis through a machine learning-based model designed to classify room occupancy. First, the timestamp features, extracted from date-time data, such as time of day and part of the day, are extracted. ANOVA feature selection is applied to identify five crucial features. Ultimately, the random forest model is employed to classify room occupancy based on the selected features. Results indicate that our proposed model significantly outperforms other models—achieving improvements of up to 99.713%, 99.467%, 99.676%, 99.676%, and 99.571% in accuracy, precision, recall, specificity, and F1-score, respectively. The trained model holds potential for integration into web-based systems for real-time applications. This predictive model is poised to contribute to the optimization of electronic device efficiency within a room or building by continuously monitoring real-time room conditions. Category: Information Retrieval / Web © 2024. The Korean Institute of Information Scientists and Engineers. All Rights Reserved.
引用
收藏
页码:10 / 18
页数:8
相关论文
共 24 条
[21]  
Shirsat K. P., Bhole G. P., Optimization-enabled deep stacked autoencoder for occupancy detection, Social Network Analysis and Mining, 11, 30, (2021)
[22]  
Wang Y. H., Zhang Y. F., Zhang Y., Gu Z. F., Zhang Z. Y., Lin H., Deng K. J., Identification of adaptor proteins using the ANOVA feature selection technique, Methods, 208, pp. 42-47, (2022)
[23]  
Breiman L., Random forests, Machine Learning, 45, pp. 5-32, (2001)
[24]  
Pedregosa F., Varoquaux G., Gramfort A., Michel V., Thirion B., Grisel O., Et al., Scikit-learn: machine learning in Python, Journal of Machine Learning Research, 12, pp. 2825-2830, (2011)