GitHub user facaiy opened a pull request:
https://github.com/apache/spark/pull/17556
[SPARK-16957][MLlib] Use weighted midpoints for split values.
## What changes were proposed in this pull request?
Use weighted midpoints for split values.
## How was this patch tested?
+ [x] add unit test.
+ [x] modify Split's unit test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/facaiy/spark
ENH/decision_tree_overflow_and_precision_in_aggregation
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17556.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 #17556
----
commit 45b74930eea787411855fc35a7ad7198b35d577e
Author: é¢åæï¼Yan Facaiï¼ <[email protected]>
Date: 2017-04-07T04:02:13Z
TST: add test case
commit c49d3ae7db0e66855b0c896375b11bf51d9ac482
Author: é¢åæï¼Yan Facaiï¼ <[email protected]>
Date: 2017-04-07T04:05:36Z
ENH: use weighted midpoints
commit 387eb498054289149706ecd2f88593d008fd074f
Author: é¢åæï¼Yan Facaiï¼ <[email protected]>
Date: 2017-04-07T04:13:44Z
BUG: constant feature, outOfIndex
commit 2e68f1efca59772d1e905474c2392ad0d8b413c8
Author: é¢åæï¼Yan Facaiï¼ <[email protected]>
Date: 2017-04-07T04:15:09Z
TST: modify split's test case
commit 6a5806f35185596ffda2c88c4879ecaf0be3bda1
Author: é¢åæï¼Yan Facaiï¼ <[email protected]>
Date: 2017-04-07T04:24:02Z
CLN: move test case
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]