Files
Vibhor Kumar 0c247eff38 DOCS: Modernize "Fitting a Linear Simulation with XGBoost" notebook (#4428)
* DOCS: Modernize Fitting a Linear Simulation with XGBoost notebook

- Replace deprecated shap.TreeExplainer().shap_values() with shap.TreeExplainer()(X) returning Explanation objects
- Replace shap.summary_plot() with shap.plots.bar() and shap.plots.beeswarm()
- Replace shap.dependence_plot() with shap.plots.scatter()
- Fix XGBoost API: move early_stopping_rounds to constructor
- Remove notebook from allow_to_timeout in scripts/run_notebooks_timeouts.py
- Remove notebook from nbcheckorder exclude list in .pre-commit-config.yaml
- Add depth-3 model SHAP explanation section for comparison

Closes #3036

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* docs(notebook): add SHAP beeswarm and scatter plots for XGBoost depth comparison

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-04-26 10:38:59 +02:00
..