#25 · Primary category: Classical Machine Learning Frameworks
dtreeviz
A python library for decision tree visualization and model interpretation.
Project last updated:01/02/26
GitHub Stars
3.2K
Forks
338
Contributors
29
License
MIT
Why we included this project
Explaining what a trained tree actually decided usually means squinting at text rules or crude default renderings. This library draws real decision tree diagrams with the feature value distributions at each split, marks the path a given prediction takes, and adds leaf details plus class boundary plots for classifiers. The same adapter-style API covers scikit-learn, XGBoost, LightGBM, and Spark MLlib, so the way you inspect a model stays consistent even when the framework changes. That makes it practical for showing a stakeholder why a specific prediction came out the way it did, and for catching nonsense before a model goes anywhere near production.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
scikit-learn
scikit-learn: machine learning in Python
pyod
A Python library for anomaly detection across tabular, time series, graph, text, image, and audio data. 60+ detectors, benchmark-backed ADEngine orchestration, and an agentic workflow for AI agents.
dowhy
DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.
umap
Uniform Manifold Approximation and Projection
imbalanced-learn
A Python Package to Tackle the Curse of Imbalanced Datasets in Machine Learning