GitHub user yupbank opened a pull request:
https://github.com/apache/spark/pull/20825
add impurity stats in tree leaf node debug string
## 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?
(Please explain how this patch was tested. E.g. unit tests, integration
tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise,
remove this)
Please review http://spark.apache.org/contributing.html before opening a
pull request.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yupbank/spark add-stats-in-debugstring
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20825.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20825
----
commit a6718f79aa1c93956e8cae38f32be13f857a99f5
Author: Peng Yu <peng.yu@...>
Date: 2018-03-14T18:34:28Z
add impurity stats in debug string
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]