TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

70 点作者 pplonski869 个月前
Hi All,<p>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.<p>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.<p>The package is available on pip: `pip install supertree`.<p>You can find code examples on the GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;mljar&#x2F;supertree">https:&#x2F;&#x2F;github.com&#x2F;mljar&#x2F;supertree</a><p>Happy exploring!

5 条评论

breck9 个月前
I&#x27;m very biased in favor of Javascript, but I have to say it looks very nice! Nice job!<p>Here&#x27;s my user test: <a href="https:&#x2F;&#x2F;www.loom.com&#x2F;share&#x2F;2b751d8c08fb4998aae02678ff1d6ce2" rel="nofollow">https:&#x2F;&#x2F;www.loom.com&#x2F;share&#x2F;2b751d8c08fb4998aae02678ff1d6ce2</a>
评论 #41409668 未加载
评论 #41409439 未加载
kbrkbr9 个月前
I use random forests as a first model for basically everything classification or regression.<p>This looks incredibly useful for understanding samples of individual trees, for which I use the nice but limited inbuilt tree object in sklearn.<p>Thank you!
评论 #41411114 未加载
kirvyteo9 个月前
Is there any documentation? I am trying to understand why I have target1 and target2 in the same circle for both left and right outcomes.
评论 #41446075 未加载
pajeets9 个月前
looks like you need to pay to use this &quot;free open source lib&quot;<p><a href="https:&#x2F;&#x2F;github.com&#x2F;mljar&#x2F;supertree&#x2F;blob&#x2F;main&#x2F;supertree-commercial-license.pdf">https:&#x2F;&#x2F;github.com&#x2F;mljar&#x2F;supertree&#x2F;blob&#x2F;main&#x2F;supertree-comme...</a>
评论 #41410895 未加载
Epa0959 个月前
Interesting choice of license, source available, but only free (as in beer) for personal use.<p>I am all for trying to find sustainable ways to finance these kind of projects. But in practice I think the way it&#x27;s now makes it unlikely that you will get our money. For once, I can&#x27;t find a price, and secondly, I get tired just thinking of the process of figuring out how to pay someone somewhere money.<p>I, and most developers in my professional circle, can do purchases through their respective cloud provider. Maybe you should check how easy it is for you to get it in as a product in e.g azure marketplace?
评论 #41411056 未加载
评论 #41410953 未加载
评论 #41410512 未加载
评论 #41409252 未加载