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 条
[1]  
Sayed A. N., Himeur Y., Bensaali F., Deep and transfer learning for building occupancy detection: a review and comparative analysis, Engineering Applications of Artificial Intelligence, 115, (2022)
[2]  
Candanedo L. M., Feldheim V., Accurate occupancy detection of an office room from light, temperature, humidity and CO<sub>2</sub> measurements using statistical learning models, Energy and Buildings, 112, pp. 28-39, (2016)
[3]  
Himeur Y., Ghanem K., Alsalemi A., Bensaali F., Amira A., Artificial intelligence based anomaly detection of energy consumption in buildings: a review, current trends and new perspectives, Applied Energy, 287, (2021)
[4]  
Yoo D., Chung S., Park J., Analysis and evaluation of channel-hopping-based MAC in industrial IoT environment, Journal of Computing Science and Engineering, 15, 4, pp. 160-174, (2021)
[5]  
Sani N. S., Shamsuddin I. I. S., Sahran S., Rahman A. H. A., Muzaffar E. N., Redefining selection of features and classification algorithms for room occupancy detection, International Journal on Advanced Science, Engineering and Information Technology, 8, 4-2, pp. 1486-1493, (2018)
[6]  
Chen Q., Jiang F., Guo X., Chen J., Sha K., Wang Y., Combine temporal information in session-based recommendation with graph neural networks, Expert Systems with Applications, 238
[7]  
Li J., Wang Y., McAuley J., Time interval aware self-attention for sequential recommendation, Proceedings of the 13th International Conference on Web Search and Data Mining, pp. 322-330, (2020)
[8]  
Kampezidou S. I., Ray A. T., Duncan S., Balchanos M. G., Mavris D. N., Real-time occupancy detection with physics-informed pattern-recognition machines based on limited CO<sub>2</sub> and temperature sensors, Energy and Buildings, 242, (2021)
[9]  
Pedersen T. H., Nielsen K. U., Petersen S., Method for room occupancy detection based on trajectory of indoor climate sensor data, Building and Environment, 115, pp. 147-156, (2017)
[10]  
Parzinger M., Hanfstaengl L., Sigg F., Spindler U., Wellisch U., Wirnsberger M., Comparison of different training data sets from simulation and experimental measurement with artificial users for occupancy detection: using machine learning methods Random Forest and LASSO, Building and Environment, 223, (2022)