dtreeviz logo

dtreeviz

parrt/dtreeviz

Python library for decision tree visualization and model interpretation

GraphCanon updated Sep 27, 2026 · GitHub synced Sep 27, 2026

50views this month

3.2k stars337 forksLast push Jan 2, 2026 Jupyter Notebook MIT

Decision brief

dtreeviz is a Python library for enhancing decision tree and machine-learning model understanding through visualizations.

Good fit when

  • When you need detailed and interactive visualization of decision trees from models trained with libraries like scikit-learn, XGBoost, LightGBM, or TensorFlow Decision Forests.
  • For deepening the interpretability of complex model behaviors, especially in projects involving decision-support systems where model transparency is crucial.

Avoid when

  • In scenarios where the primary focus is on model performance benchmarking as opposed to understanding or explaining existing models.
  • If your project workflow does not involve Python, given dtreeviz's reliance on a specific set of Python ML libraries for its visualizations and interpretative functionalities.

Observed Jul 17, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Slowing (267d since push)
As of Sep 27, 2026
Provenance
Not a fork · Personal account
As of Sep 27, 2026
Security (OSV)
No lockfile
As of Jul 11, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

git clone https://github.com/parrt/dtreeviz

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

dtreeviz is a Python library that provides functionalities for visualizing decision trees and interpreting machine-learning models.

Capability facts

Languages
jupyter notebook

Source: github.language · Sep 27, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Sep 27, 2026)

Here's a complete example Python file that displays the following tree in a popup window:
Source link

Tags

README

Quick start See Installation instructions then take a look at the specific notebooks for the supported ML library you're using: sklearn based examples (colab) LightGBM based examples (colab) Spark based examples (colab) TensorFlow based examples (colab) Also see blog at tensorflo...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.