parrt/dtreeviz
A python library for decision tree visualization and model interpretation. observed · 2026-08-28
Health v2 · maintenance only
69/100
- Activity 60
- Release rhythm 63
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 2942
- days_rel: 249
- days_push: 243
- n_releases_24m: 2
Adoption not part of the score
3155 stars · 338 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
dtreeviz is a Python library for visualizing decision trees and interpreting tree-based machine learning models. It supports scikit-learn, XGBoost, LightGBM, Spark MLlib, and TensorFlow Decision Forests, producing rich SVG visualizations of trees, prediction paths, and leaf information.
Use cases
- visualize a decision tree from scikit-learn
- explain a single prediction path in a random forest
- interpret an XGBoost gradient boosting model
- plot decision tree structure for teaching machine learning
- explore feature space of a regression tree
- visualize LightGBM or Spark MLlib trees
When to choose
- you need detailed, publication-quality decision tree visualizations
- you want to explain individual predictions from tree ensembles
- you work with scikit-learn, XGBoost, LightGBM, Spark, or TensorFlow decision forests in Python
When to avoid
- you need visualization of non-tree-based models like neural networks
- you want a lightweight text-only tree dump rather than rich graphics
- your project is not in Python
Facets
library · maturity active
data-visualization machine-learning machine-learning data-science data-visualization python decision-trees scikit-learn xgboost lightgbm random-forest model-interpretation explainability
2 sources
- readme: https://github.com/parrt/dtreeviz · fetched 2026-08-28 · 13f5ebe25db1
- registry_pypi: https://pypi.org/pypi/dtreeviz/json · fetched 2026-08-29 · 49ed87aa2fe5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| parrt/dtreeviz | main | 69 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem