parrt/dtreeviz

A python library for decision tree visualization and model interpretation.

61
/ 100
Established

This tool helps data scientists and machine learning engineers understand and interpret decision tree-based models like Random Forests and Gradient Boosting Machines. It takes your trained model and data as input, producing detailed, interactive visualizations of the tree structure, individual prediction paths, and feature space. These visuals help you explain model behavior, debug issues, and learn how these powerful models make decisions.

3,128 stars. Available on PyPI.

Use this if you need to visually explain why your decision tree or ensemble model made a specific prediction or to deeply understand its underlying logic.

Not ideal if your primary goal is to visualize non-tree-based models, or if you prefer purely numerical interpretability metrics without visual components.

machine-learning-interpretability model-debugging data-science-education predictive-modeling algorithm-explanation
Maintenance 6 / 25
Adoption 10 / 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

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.