five

Bayesian Optimized XGBoost Regression with SHAP Feature Interpretation Code

收藏
DataCite Commons2026-05-03 更新2026-05-07 收录
下载链接:
https://zenodo.org/doi/10.5281/zenodo.20008637
下载链接
链接失效反馈
官方服务:
资源简介:
This repository contains the complete Python code used for the Bayesian optimized XGBoost model and SHapley Additive exPlanations (SHAP) model in the manuscript Analysis of the Global and Local Effects of Urban Green Space Vegetation Types on Summer Near-Surface O₃ Concentrations Based on Street View Imagery—A Case Study of Hangzhou.   The main functionalities of the code include: Data preprocessing and train/validation/test set splitting Hyperparameter tuning of the XGBoost model via Bayesian optimization Model performance evaluation using regression metrics (R², MSE, RMSE, MAE, MAPE, EVS) SHAP feature importance analysis, including summary plots and feature contribution bar charts   Environment and Dependencies: Operating System: Windows / macOS / Linux Python version: 3.8 or higher Required Python packages: - numpy - pandas - matplotlib - seaborn - scikit-learn - xgboost - bayesian-optimization - shap - tabulate   Instructions to Run the Code: Prepare the CSV-formatted dataset and ensure no missing values. Update the data path in the code to your actual file path. Place the data file in the same directory as the script. Run the Python script directly. All generated figures will be automatically saved in the output_plots folder after execution.
提供机构:
Zenodo
创建时间:
2026-05-03
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作