GitHub user jkbradley opened a pull request:
https://github.com/apache/spark/pull/5913
[SPARK-5995] [ML] Make Prediction dev API public
Changes:
* Update protected prediction methods, following design doc. **<--most
interesting change**
* Changed abstract classes for Estimator and Model to be public. Added
DeveloperApi tag. (I kept the traits for Estimator/Model Params private.)
* Changed ProbabilisticClassificationModel method names to use probability
instead of probabilities.
CC: @mengxr @shivaram @etrain
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jkbradley/spark public-dev-api
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5913.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 #5913
----
commit 7d1877a1101ef3201d61c826ffd275063eb1b6f7
Author: Joseph K. Bradley <[email protected]>
Date: 2015-05-05T07:56:41Z
Made spark.ml prediction abstractions public. Organized their prediction
methods for efficient computation of multiple output columns.
commit 5cda84dece1fbfd6ba770123f8f2a693e87ef557
Author: Joseph K. Bradley <[email protected]>
Date: 2015-05-05T17:25:59Z
regenerated sharedParams
commit 15b995777a544df087fc9eeed9f0d6962a0afc97
Author: Joseph K. Bradley <[email protected]>
Date: 2015-05-05T17:30:06Z
renamed probabilities to probability in method names
----
---
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]