Discussion

Show HN: Supertree – interactive visualization of decision trees in Python

Hi All,

I would like to share with you a new Python package for interactive decision tree visualization. It is called `supertree`. It visualizes decision tree as interactive graph, where you can collapse and expand selected nodes. You can zoom and pan though large trees. It works with Scikit-learn, Xgboost, and LightGBM.

The package works in notebooks: Jupyter Lab, Jupyter Notebook, Google Colab. You can also use it in Python scripts and save output trees to HTML.

The package is available on pip: `pip install supertree`.

You can find code examples on the GitHub: https://github.com/mljar/supertree

Happy exploring!

70 points pplonski86 2 years ago 17 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton