Skip to content

Add LightGBM dtreeviz tree visualization support#346

Merged
oegedijk merged 2 commits intomasterfrom
feat/issue-118-lgbm-treeviz
Feb 8, 2026
Merged

Add LightGBM dtreeviz tree visualization support#346
oegedijk merged 2 commits intomasterfrom
feat/issue-118-lgbm-treeviz

Conversation

@oegedijk
Copy link
Copy Markdown
Owner

@oegedijk oegedijk commented Feb 8, 2026

Summary

  • add LightGBM tree explainer support (LGBMExplainer) with dtreeviz shadow trees, decision-path rendering, and per-tree contribution plots
  • wire LightGBM into explainer auto-detection and decision-tree dashboard components
  • add a safe threaded dtreeviz backend fallback (matplotlib -> Agg) to prevent macOS callback crashes
  • add/merge LightGBM treeviz regression tests into tests/test_boosting_models.py
  • add a local demo launcher at scripts/run_lgbm_dashboard.py
  • update README.md, docs/source/explainers.rst, docs/source/deployment.rst, and docs/source/index.rst to document LightGBM tree support
  • update TODO.md and RELEASE_NOTES.md

Validation

  • uv run pytest -q tests/test_boosting_models.py -k lgbm
  • uv run pytest -q tests/test_xgboost_treeviz.py

Closes #118

@oegedijk oegedijk changed the title Add LightGBM dtreeviz tree visualization support (closes #118) Add LightGBM dtreeviz tree visualization support Feb 8, 2026
@oegedijk oegedijk merged commit 4efff76 into master Feb 8, 2026
13 checks passed
@oegedijk oegedijk deleted the feat/issue-118-lgbm-treeviz branch February 8, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Contribution: tree visualisation for lightgbm models

1 participant