[{"data":1,"prerenderedAt":247},["ShallowReactive",2],{"project-41369231":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":9,"maker":10,"posted_at":11,"year":12,"points":13,"comments":14,"rank_in_year":15,"shown_in_year":16,"top":17,"tier":18,"category":19,"subcategory":20,"format":21,"keywords":22,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":34,"aspects":35,"strip":41,"post_text":43,"what":44,"said":96,"maker_in_thread":161,"shape":168,"grid":172,"attempts":209,"same_week":210,"maker_shows":237,"maker_hidden":238,"reader_version":239,"card":240},"41369231","Supertree","interactive visualization of decision trees in Python","title","Show HN: Supertree – interactive visualization of decision trees in Python",null,"pplonski86",1724775593,2024,70,17,1080,3515,31,"notable","ai","ml visualization","library",[23,24,25,26,27],"decision tree visualization","python","scikit-learn","xgboost","lightgbm","debated",-0.098,{"positive":31,"neutral":32,"mixed":32,"critical":33},2,1,3,7,{"design":36,"docs":38,"idea":39,"pricing":40},{"positive":32,"critical":37},0,{"positive":37,"critical":37},{"positive":32,"critical":37},{"positive":37,"critical":33},[42,37,37,33,42,37,33,37,32,37,37,32,37,37,32,37,37],5,"Hi All,\n\nI 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.\n\nThe package works in notebooks: Jupyter Lab, Jupyter Notebook, Google Colab. You can also use it in Python scripts and save output trees to HTML.\n\nThe package is available on pip: `pip install supertree`.\n\nYou can find code examples on the GitHub: https:\u002F\u002Fgithub.com\u002Fmljar\u002Fsu",{"problem":45,"audience":52,"pricing":61,"motivation":70,"time_to_build":9,"stack":75,"openness":93,"stage":94,"team_size":95},{"value":46,"source":47,"evidence":48},"Decision trees are hard to read and explore visually","maker",[49],{"id":50,"by":10,"text":51},"41411114","Thank you! Tree based algorithms work very good on tabular data. There is a lack for good tools to visualise trees and make them readable. That's why we created supertree.",{"value":53,"source":54,"evidence":55},"Data scientists and ML practitioners using tree-based models","inferred",[56,60],{"id":57,"by":58,"text":59},"41407332","kbrkbr","I use random forests as a first model for basically everything classification or regression. This looks incredibly useful for understanding samples of individual trees, for which…",{"id":50,"by":10,"text":51},{"value":62,"source":47,"evidence":63},"Free for evaluation and personal use; commercial license reportedly 499 USD per year",[64,67],{"id":65,"by":10,"text":66},"41411005","Thank you. You are right, the software is free for evaluation and personal use. For commercial use, you need to buy license. We would like to make this package sustainable :)…",{"id":68,"by":10,"text":69},"41411056","We would like to keep package sustainable. Earlier, we've created package for AutoML which is MIT license (https:\u002F\u002Fgithub.com\u002Fmljar\u002Fmljar-supervised), and it is very hard to…",{"value":71,"source":47,"evidence":72},"Make tree-based models more readable and fund ongoing maintenance",[73,74],{"id":50,"by":10,"text":51},{"id":65,"by":10,"text":66},[76,81,85,89],{"value":77,"source":47,"evidence":78},"Python",[79],{"id":80},"post",{"value":82,"source":47,"evidence":83},"Scikit-learn",[84],{"id":80},{"value":86,"source":47,"evidence":87},"XGBoost",[88],{"id":80},{"value":90,"source":47,"evidence":91},"LightGBM",[92],{"id":80},"paid","launched","unknown",{"praise":97,"objections":107,"requests":140,"questions":151,"alternatives":156},[98],{"value":99,"source":100,"evidence":101},"Looks very nice and useful for understanding individual trees","commenter",[102,106],{"id":103,"by":104,"text":105},"41396935","breck","I'm very biased in favor of Javascript, but I have to say it looks very nice! Nice job! Here's my user test: https:\u002F\u002Fwww.loom.com\u002Fshare\u002F2b751d8c08fb4998aae02678ff1d6ce2",{"id":57,"by":58,"text":59},[108,123,133],{"value":109,"source":100,"evidence":110},"Source-available license with unclear pricing and hard-to-pay purchase process",[111,115,119],{"id":112,"by":113,"text":114},"41408204","Epa095","Interesting choice of license, source available, but only free (as in beer) for personal use. I am all for trying to find sustainable ways to finance these kind of projects. But…",{"id":116,"by":117,"text":118},"41410953","zahlman",">I can't find a price The license includes a URL supposedly with pricing information, but it 404s, and the main website doesn't seem to list Supertree as a product. Maybe it just…",{"id":120,"by":121,"text":122},"41410512","Veuxdo","> Secondly, I get tired just thinking of the process of figuring out how to pay someone somewhere money. An invoice?",{"value":124,"source":100,"evidence":125},"Licensing is not truly open source",[126,130],{"id":127,"by":128,"text":129},"41410802","pajeets","looks like you need to pay to use this \"free open source lib\" https:\u002F\u002Fgithub.com\u002Fmljar\u002Fsupertree\u002Fblob\u002Fmain\u002Fsupertree-commercial-license.pdf",{"id":131,"by":117,"text":132},"41410895","There are separate commercial and non-commercial licenses listed in the repository. This may not be compatible with open source, but it's a reasonable licensing strategy overall…",{"value":134,"source":100,"evidence":135},"Possible rendering bug showing duplicate targets in nodes",[136],{"id":137,"by":138,"text":139},"41442877","kirvyteo","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.",[141,147],{"value":142,"source":100,"evidence":143},"Add a more prominent Colab button and homepage presence",[144],{"id":145,"by":104,"text":146},"41409729","Ah, I didn't see that button, thanks! Here's the link for anyone else: https:\u002F\u002Fcolab.research.google.com\u002Fdrive\u002F1f2Xu8CwbXaT33hvh-ze0JK3sBSpXBt5T?usp=sharing I would suggest…",{"value":148,"source":100,"evidence":149},"Provide documentation",[150],{"id":137,"by":138,"text":139},[152],{"value":153,"source":100,"evidence":154},"Why target1 and target2 appear in the same node",[155],{"id":137,"by":138,"text":139},[157],{"value":158,"source":100,"evidence":159},"Built-in sklearn tree plotting",[160],{"id":57,"by":58,"text":59},{"comments":42,"answered":33,"key":162},[163,164,167],{"id":50,"text":51},{"id":165,"text":166},"41446075","Please create issue at https:\u002F\u002Fgithub.com\u002Fmljar\u002Fsupertree it might be a bug. We are working on docs",{"id":65,"text":66},{"commenters":169,"max_depth":33,"maker_replies":42,"first_comment_mins":170,"lifespan_hours":171},10,3413,190,[173,175,179,183,185,187,189,191,193,195,197,199,201,202,205,206,208],[103,37,42,174,104,37],"project\u002Fpositive\u002Fdesign",[176,37,37,177,178,37],"41409439","commenter\u002Fpositive\u002Fnone","apsurd",[180,37,37,181,182,37],"41409668","commenter\u002Fneutral\u002Fnone","meesles",[145,37,33,184,104,37],"project\u002Fmixed\u002Fdocs",[57,32,42,186,58,37],"project\u002Fpositive\u002Fidea",[50,32,37,188,10,32],"maker\u002Fpositive\u002Fidea",[137,31,33,190,138,37],"project\u002Fneutral\u002Fdocs",[165,31,37,192,10,32],"maker\u002Fneutral\u002Fdocs",[127,33,32,194,128,37],"project\u002Fcritical\u002Fpricing",[131,33,37,196,117,37],"commenter\u002Fneutral\u002Fpricing",[65,33,37,198,10,32],"maker\u002Fneutral\u002Fpricing",[112,200,32,194,113,37],4,[120,200,37,196,121,37],[203,200,37,204,113,37],"41410704","commenter\u002Fcritical\u002Fpricing",[116,200,32,194,117,37],[207,200,37,198,10,32],"41411069",[68,200,37,198,10,32],[],[211,216,221,225,229,233],{"id":212,"name":213,"points":214,"category":215},"41322281","InstantDB",1145,"data",{"id":217,"name":218,"points":219,"category":220},"41384144","Skip",322,"dev_tools",{"id":222,"name":223,"points":224,"category":220},"41318133","ghidra-delinker-extension",304,{"id":226,"name":227,"points":228,"category":19},"41358490","Remove-bg",286,{"id":230,"name":231,"points":232,"category":220},"41377960","IPA",270,{"id":234,"name":235,"points":236,"category":215},"41339308","ChartDB",227,14,false,"v2",{"id":241,"name":5,"line":6,"ai":238,"cat":19,"year":12,"points":13,"comments":14,"rec":28,"s":242,"top":17,"kw":243,"maker":10,"domain":244,"tier":18,"attempts":37,"strip":245,"url":-1,"mix":246,"praise":99,"objection":109,"sub":20},41369231,-0.1,[23,24,25,26,27],"","50035030100100100",[31,32,32,33],1794036659987]