GitHub user WeichenXu123 opened a pull request:
https://github.com/apache/spark/pull/19065
[SPARK-21729][ML][TEST] Generic test for ProbabilisticClassifier to ensure
consistent output columns
## What changes were proposed in this pull request?
Add test for prediction using the model with all combinations of output
columns turned on/off.
Make sure the output column values match, presumably by comparing vs. the
case with all 3 output columns turned on.
## How was this patch tested?
Test updated.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/WeichenXu123/spark
generic_test_for_prob_classifier
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19065.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 #19065
----
commit a588e2eb349eab46344fb4b3817f0b575c353eaf
Author: WeichenXu <[email protected]>
Date: 2017-08-25T09:08:48Z
init pr
commit 3e8617d3098da7c8fad09c4d3af9f86369a23591
Author: WeichenXu <[email protected]>
Date: 2017-08-28T06:25:33Z
update tests
----
---
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]