Distributed Machine Learning for Municipal Solid Waste Prediction in Smart Cities
Abstract
Rapidly growing rates of urbanization have contributed to the aggravation of problems associated with municipal solid waste (MSW) management; hence, reliable waste generation prediction is crucial for efficient planning and sustainable development of smart cities. A prediction model for waste has been developed through the analysis of a dataset consisting of 263,160 samples taken from 18 cities in India in the years 2023-2024, taking into account actual weather data along with various urban features. To facilitate efficient handling of such a large dataset, distributed data preprocessing and machine learning model training have been performed via Apache Spark (PySpark) and compared against the conventional approach using Pandas/scikit-learn. Linear Regression, Random Forest, and XGBoost regression models have been employed for prediction of MSW generation. According to experimental results, the XGBoost model demonstrated the highest predictive efficiency of the three models, with the lowest error rates and highest prediction accuracy. Feature importance and ablation studies further confirmed that demographic attributes, particularly population and population density, were the dominant predictors, while sector, zone, and environmental variables contributed only marginally to overall performance.