Giter Club home page Giter Club logo

Comments (12)

tlapusan avatar tlapusan commented on May 14, 2024 3

hi @hcho3 , @martin-loetzsch , @H4dr1en
we've just merged xgboost implementation into master. Before making a new release, would be helpful to have a feedback from your sides.

You can track more comments from #83 and #91

For more details about visualizations, you can take a look at https://github.com/parrt/dtreeviz/blob/master/notebooks/dtreeviz_xgboost_visualisations.ipynb

Thanks, Tudor.

from dtreeviz.

hcho3 avatar hcho3 commented on May 14, 2024 3

I filed a pull request in the XGBoost repository to mention dtreeviz: dmlc/xgboost#6013. Thank you for the great work!

from dtreeviz.

hcho3 avatar hcho3 commented on May 14, 2024 2

@tlapusan Mainly we want to put up a self-contained demo script that can be automatically run by our CI system. That way, any future changes of XGBoost won't break dtreeviz accidentally.

from dtreeviz.

martin-loetzsch avatar martin-loetzsch commented on May 14, 2024 1

@hcho3 Have you been able to write that wrapper class for XGBoost? And if so, can you share it?

from dtreeviz.

parrt avatar parrt commented on May 14, 2024 1

closing this as we have xgboost and @tlapusan is working on lightgbm

from dtreeviz.

parrt avatar parrt commented on May 14, 2024

Not currently. You would just have to get ShadowDecisionTree wrappers for those trees. Note that boosting trees are usually very shallow; not sure it'll help but try it out!

from dtreeviz.

jermaine1ronquillo avatar jermaine1ronquillo commented on May 14, 2024

Thank you for the response

from dtreeviz.

hcho3 avatar hcho3 commented on May 14, 2024

This is a really cool project. It would be interesting to see XGBoost integrated into dtreeviz.

You would just have to get ShadowDecisionTree wrappers for those trees.

So Iā€™d just need to define a new class that looks like ShadowDecTree? I have some experience parsing XGBoost models; let me see if I can make a working pull request.

from dtreeviz.

parrt avatar parrt commented on May 14, 2024

@hcho3 yep, would be nice. I would consider a PR. :)

from dtreeviz.

H4dr1en avatar H4dr1en commented on May 14, 2024

Can we re-open? A support for XGBoost would be very interesting!
I am pretty sure it is feasible using the trees_to_dataframe function to get a dataframe description of the trees:

image

from dtreeviz.

parrt avatar parrt commented on May 14, 2024

Ah. ok. maybe somebody could submit a PR.

from dtreeviz.

tlapusan avatar tlapusan commented on May 14, 2024

Thanks @hcho3 for your support. Is there anything we can help with the demo, or is something internal to xgboost team?

from dtreeviz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.