parrt/dtreeviz
Some data may be outdated — see provenance labels.
A python library for decision tree visualization and model interpretation. observed · 2026-09-24
Health v2 · maintenance only
63/100
- Activity 52
- Release rhythm 56
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 2990
- days_rel: 297
- days_push: 291
- n_releases_24m: 2
Adoption not part of the score
3157 stars · 337 forks observed · 2026-09-24
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-09-24 · 13f5ebe25db1
- registry_pypi: https://pypi.org/pypi/dtreeviz/json · fetched 2026-08-29 · 49ed87aa2fe5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| parrt/dtreeviz | main | 63 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem