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.2.1.tar.gz (76.9 kB view details)

Uploaded Source

Built Distribution

dtreeviz-2.2.1-py3-none-any.whl (91.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dtreeviz-2.2.1.tar.gz
Algorithm Hash digest
SHA256 d5dd4188114c4ae5403816267fb977ac7a3b4c659ade740446bc489c596e33e5
MD5 4844fe6d046276e1487c871099f9be12
BLAKE2b-256 4763288c0bd461c82b34e4b9ecf18e144e0e3e0ae4d014f7dea2ad733be3c3c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dtreeviz-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 91.5 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eef8b9e5caacc5d8871b30fea0a48e92b3749acaeff8e3cf207756e1e620c5ce
MD5 dcdf64cb8692e18cf1ba1552a293aa62
BLAKE2b-256 692e26c8a57ffab3e6a512ecef4b95e991dfc2e5ee0059b96b0754c8eccb03ee

See more details on using hashes here.

Supported by

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