Please login first
Machine Learning for Accurate Office Room Occupancy Detection Using Multi-Sensor Data
* 1 , 2 , 2
1  Department of Computer Engineering, Ahmadu Bello University, Zaria
2  Department of Electrical and Electronics Engineering, Kaduna Polytechnic
Academic Editor: Stefano Mariani


In this paper, we present a comparative study of several machine learning (ML) approaches for accurate office room occupancy detection through the analysis of multi-sensor data. Our study utilizes the Occupancy Detection dataset, which incorporates data from Temperature, Humidity, Light, and CO2 sensors, with ground-truth labels obtained from time-stamped images captured at minute intervals. Traditional ML techniques including Decision Trees, Gaussian Naïve Bayes, K-Nearest Neighbors, Logistic Regression (LR), Support Vector Machines (SVM), Multilayer Perceptron (MLP), and Quadratic Discriminant Analysis are compared alongside advanced ensemble methods like Random Forest, Bagging, AdaBoost, GradientBoosting, ExtraTrees as well as our custom voting and multiple stacking classifiers. Hyperparameter optimization is performed for selected models before being integrated into ensemble methods. The performances of the models were evaluated through rigorous cross-validation experiments. The results obtained highlight the efficacy and suitability of varying candidate and ensemble methods, demonstrating the potential of machine learning techniques for enhancing the detection accuracy. Notably, LR and SVM exhibited superior performance, achieving average accuracies of 98.88 ± 0.70% and 98.65 ± 0.96%, respectively. Additionally, our custom voting and stacking ensembles demonstrated improvements in classification outcomes compared to base ensemble schemes, as indicated by various the various evaluation metrics.

Keywords: machine learning; ensemble learning; room occupancy detection; multi-sensor data
Comments on this paper
Abubakar Ibrahim Muhammad
Good & excellent article