Indonesian Journal of Electrical Engineering and Computer Science
Vol 34, No 1: April 2024

Improving ventilation classification in under-actuated zones: a k-nearest neighbor and data preprocessing approach

Yaddarabullah Yaddarabullah (Universitas Trilogi)
Aedah Abd Rahman (Asia e University)
Amna Saad (Universiti Kuala Lumpur)



Article Info

Publish Date
01 Apr 2024

Abstract

This study investigates the use of k-nearest neighbors (k-NN) for classifying occupant positions in under-actuated zones, aiming to enhance ventilation control. The focus is on evaluating different data preprocessing techniques, particularly cumulative moving average (CMA), Kalman filtering (KF), and their combination, to boost the k-NN model's reliability and accuracy. The research uses received signal strength indicator (RSSI) data in a controlled setting. The methodology involves dividing the dataset into training and testing subsets and using root mean squared error (RMSE) to determine the best k value for model validation. The study performs a comparative analysis of the k-NN model's performance with both original and preprocessed RSSI data, focusing on metrics such as accuracy, precision, recall, F1-score, and RMSE. The findings emphasize the significant impact of the combined CMA-KF preprocessing technique in improving the model's accuracy and reliability. Specifically, this approach achieved an accuracy of 98.58%. The RMSE values are particularly noteworthy, exhibiting a perfect fit (RMSE of 0) for training data and a remarkably low RMSE of 0.119 for testing data, confirming the model's high accuracy and predictive capability.

Copyrights © 2024