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

Uploaded Source

Built Distribution

dtreeviz-2.1.4-py3-none-any.whl (83.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dtreeviz-2.1.4.tar.gz
  • Upload date:
  • Size: 71.3 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.4.tar.gz
Algorithm Hash digest
SHA256 e29e49613aabe7667f38d345b62d0d3e987de34c065bf0436ab893e95d203630
MD5 3c1df1a23f57f32e67d149d124facdf3
BLAKE2b-256 a34d0b848eb8f3a5cf50e012f80ae920aab43fc39ddbc5736605b33240602551

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dtreeviz-2.1.4-py3-none-any.whl
  • Upload date:
  • Size: 83.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f3c13b74a9cf4373fcb2987d08916b71e237c600e130c9d4f9a3dfddabd0a221
MD5 a630461b832f088d375802ff35e219cd
BLAKE2b-256 85678b0541d34885e4e4cb935e8779de8a3e9437ed52aa3d100d97ec8b992b6d

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