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.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call