Skip to main content

A Python 3 library for sci-kit learn, XGBoost, LightGBM, Spark, and TensorFlow decision tree visualization

Project description

A python library for decision tree visualization and model interpretation. Decision trees are the fundamental building block of [gradient boosting machines](http://explained.ai/gradient-boosting/index.html) and [Random Forests](https://en.wikipedia.org/wiki/Random_forest)(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](http://www.r2d3.us/); [A visual introduction to machine learning](http://www.r2d3.us/visual-intro-to-machine-learning-part-1/). Please see [How to visualize decision trees](http://explained.ai/decision-tree-viz/index.html) for deeper discussion of our decision tree visualization library and the visual design decisions we made.

Currently dtreeviz supports: [scikit-learn](https://scikit-learn.org/stable), [XGBoost](https://xgboost.readthedocs.io/en/latest), [Spark MLlib](https://spark.apache.org/mllib/), [LightGBM](https://lightgbm.readthedocs.io/en/latest/), and [Tensorflow](https://www.tensorflow.org/decision_forests). See [Installation instructions](README.md#Installation).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dtreeviz-2.1.1.tar.gz (70.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dtreeviz-2.1.1-py3-none-any.whl (82.1 kB view details)

Uploaded Python 3

File details

Details for the file dtreeviz-2.1.1.tar.gz.

File metadata

  • Download URL: dtreeviz-2.1.1.tar.gz
  • Upload date:
  • Size: 70.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for dtreeviz-2.1.1.tar.gz
Algorithm Hash digest
SHA256 b11463df8056feb2f480203729978f1e4ddc968c9fa12870eff68be2a977aae0
MD5 a6c61044f11fd287d2445905b113953a
BLAKE2b-256 47136c9bb6dba4bb9f12528966ffe9fc06ca8907dfeba3a108f1bbd170585709

See more details on using hashes here.

File details

Details for the file dtreeviz-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: dtreeviz-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 82.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for dtreeviz-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 868c4dfd380f9e9d32d26744f66c940369b0dd8601bc0226e7aefcf978bb86c0
MD5 34145ca23ea0ad35f4f446ab5a438fb8
BLAKE2b-256 721382175240e6aa5b32af95fdad2b22ee979e22d0952e33bdb9c1cad366add9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page