A python library for decision tree visualization and model interpretation. Decision trees are the fundamental building block of gradient boosting machines and Random Forests(tm), probably the two most popular machine learning models for structured data. Visualizing decision trees is a tremendous aid when learning how these models work and when interpreting models. The visualizations are inspired by an educational animation by R2D3; A visual introduction to machine learning. Please see How to visualize decision trees for deeper discussion of our decision tree visualization library and the visual design decisions we made.

Features

  • Supports scikit-learn, XGBoost, Spark MLlib, LightGBM, and Tensorflow. See Installation instructions
  • Sample Visualizations
  • Prediction path explanations
  • Leaf information
  • Documentation available
  • Verify graphviz installation
  • Install dtreeviz locally

Project Samples

Project Activity

See All Activity >

Categories

Machine Learning

License

MIT License

Follow dtreeviz

dtreeviz Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of dtreeviz!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Registered

2024-08-06