parrt/dtreeviz

A python library for decision tree visualization and model interpretation.

71
/ 100
Verified

Supports scikit-learn, XGBoost, LightGBM, Spark MLlib, and TensorFlow Decision Forests through a unified adaptor interface, enabling consistent visualization APIs across frameworks. Generates SVG/PNG visualizations showing tree structure, individual prediction paths with feature contributions, leaf distributions, and decision boundaries for both classification and regression. Also provides feature space exploration tools like decision boundary visualization and hyperparameter animation for model interpretation.

3,128 stars and 98,489 monthly downloads. Available on PyPI.

Maintenance 6 / 25
Adoption 20 / 25
Maturity 25 / 25
Community 20 / 25

How are scores calculated?

Stars

3,128

Forks

340

Language

Jupyter Notebook

License

MIT

Last pushed

Jan 02, 2026

Monthly downloads

98,489

Commits (30d)

0

Dependencies

6

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/parrt/dtreeviz"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.