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

add weight in tree model output #2269

Merged
merged 3 commits into from
Jul 24, 2019
Merged

add weight in tree model output #2269

merged 3 commits into from
Jul 24, 2019

Conversation

guolinke
Copy link
Collaborator

fix #2037

@StrikerRUS
Copy link
Collaborator

@guolinke I can update plotting part if you don't mind.

for info in show_info:
if info in {'split_gain', 'internal_value'}:
label += r'\n{0}: {1}'.format(info, _float2str(root[info], precision))
elif info == 'internal_count':
label += r'\n{0}: {1}'.format(info, root[info])

@guolinke
Copy link
Collaborator Author

@StrikerRUS sure, thanks very much!

@StrikerRUS
Copy link
Collaborator

@guolinke Just updated plotting module in Python in the latest commit.

@guolinke
Copy link
Collaborator Author

@StrikerRUS could this PR merge first? then a new PR for R package could be proposed.

@StrikerRUS
Copy link
Collaborator

@guolinke Yeah, sure!

@jameslamb
Copy link
Collaborator

Created #2281 to track the R work, agree with the decision that was made to merge this and come back to R.

@lock lock bot locked as resolved and limited conversation to collaborators Mar 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Saving weight values of a node
3 participants