GitHub user WeichenXu123 opened a pull request:
https://github.com/apache/spark/pull/19381
[SPARK-10884][ML] Support prediction on single instance for regression and
classification related models
## What changes were proposed in this pull request?
Support prediction on single instance for regression and classification
related models (i.e., PredictionModel, ClassificationModel and their sub
classes).
Add corresponding test cases.
## How was this patch tested?
Test cases added.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/WeichenXu123/spark single_prediction
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19381.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 #19381
----
commit 8afec1409eb955f4c389220b68652a255727849b
Author: WeichenXu <[email protected]>
Date: 2017-09-25T09:01:15Z
init pr
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]