K-Nearest Neighbors Approach to Analyze and Predict Air Quality in Delhi
Ahmed Ahmed, Shahid Mahmood
Abstract
The study considers the community of ”urban air quality improvement in modern cities” using an extensive dataset obtained from ”Air quality data of Delhi, India” for the period between 25 November 2020 and 24 January 2023. Research aims to significantly reduce air pollutants, including particulate matter, including PM2.5 and PM10, NO2, SO2, CO2, O3, and others. Different machine learning models are being used for airquality level forecasts. Among the models assessed, the Nearest Neighbors algorithm comes out on top and exhibits a very low Mean Squared Error (MSE) of 0.0002. The model’s superb precision is further supported by very low statistics in other key metrics, which confirm the Nearest Neighbors approach to forecasting the quality of air in urban zones. The Nearest Neighbors algorithm is shown to have its place in the application as a tool in the hands of researchers and decision-makers pursuing the fight against air pollution is also a signal of its efficiency and broad applicability. This modeling approach has thus the potential to first identify and later pinpoint localized empirical patterns and statistical dependencies from the data set. Its high predictive precision makes it a very valuable assistant to public health and environmental management, especially so in regions like Delhi.