Skip to content

Conversation

@yupbank
Copy link

@yupbank yupbank commented Mar 14, 2018

What changes were proposed in this pull request?

right now the debug str of tree doesn't contains impurity stats, which is confusing, since we are not using the predictions directly, and some raw predictions of tree is redundant

How was this patch tested?

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@davies
Copy link
Contributor

davies commented Mar 15, 2018

LGTM

@davies
Copy link
Contributor

davies commented Mar 15, 2018

cc @zsxwing

@jkbradley
Copy link
Member

I actually would prefer not to merge this change since it could blow up the size of the strings printed for some classification tasks with large numbers of labels. If people want to debug, they could trace through the tree manually.

Alternatively, I'd be OK with adding an optional argument which tells toDebugString to include the stats.

@srowen srowen mentioned this pull request May 11, 2018
@asfgit asfgit closed this in 348ddfd May 12, 2018
zifeif2 pushed a commit to zifeif2/spark that referenced this pull request Nov 22, 2025
Closes apache#20458
Closes apache#20530
Closes apache#20557
Closes apache#20966
Closes apache#20857
Closes apache#19694
Closes apache#18227
Closes apache#20683
Closes apache#20881
Closes apache#20347
Closes apache#20825
Closes apache#20078

Closes apache#21281
Closes apache#19951
Closes apache#20905
Closes apache#20635

Author: Sean Owen <[email protected]>

Closes apache#21303 from srowen/ClosePRs.
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.

4 participants