Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R] Enable 'dot' dump format #9930

Merged
merged 2 commits into from
Dec 30, 2023
Merged

[R] Enable 'dot' dump format #9930

merged 2 commits into from
Dec 30, 2023

Conversation

david-cortes
Copy link
Contributor

ref #9810

This PR allows using the 'dot' format for dumping models to text, and generating plots from these dumps like in the python interface.

Note that this doesn't solve all the issues with plotting when there are categorical or named features, as other functions rely on xgb.model.dt.tree which as of this PR still doesn't support all possible xgboost model dumps.

Copy link
Member

@trivialfis trivialfis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on the plotting function!

@trivialfis
Copy link
Member

Will merge once the CI is back.

@trivialfis trivialfis merged commit e40c426 into dmlc:master Dec 30, 2023
24 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants