Work

Codes and results produces in the study: Social structural factors outperform economic assumptions in explaining global municipal waste generation

Year: 2026
Type: book
Abstract: This directory contains all the codes used to analyze the MSW generation data in the publicaton "Social structural factors outperform economic assumptions in explaining global municipal waste generation". Some of them are *.py files - these include data cleaning and model training. Post-hoc analysis were done in Jupyter Notebook, hence the rest of files are *.ipynb. The order of files used to calculate the results is1. data_merging.py2. Initial_analysis.ipynb3. rfecv.py4. optuna_optimization.py5. optuna_country_mean_optimization.py6. analyse_shap.ipynb7. graph_analysis.ipynb Data necessary to perform these calculations are present in folders supplied with this code. Specifically,-input_data - includes raw data merged from third party databases, due to licensing, cannot be shared. You can use the data_mergning.py code to produce these datasets. Data sources are named here: https://doi.org/10.15159/eds.dt.26.05.-results - includes some of the results produced by this code-model_and_shap - includes the most time-consuming products of these codes, necessary to run post-analyses, especially to produce plots. This includes the joblib dump of the model, and the SHAP values.
Language: English
Open Access status: green
OpenAlex ID: W7204158282
FWCI:
Cites:
Cited by:
Related to: 10