GitHub user thvasilo opened a pull request:
https://github.com/apache/flink/pull/744
[FLINK-2102] [ml] Add predict operation for LabeledVector
Add predict function for labeled data for SVM and MLR.
These functions return for each example in the input DataSet[LabeledVector]
a pair (Double, Double) - (truth, prediction)
This output can then be used to evaluate the performance of the Predictors
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/thvasilo/flink predict-labeled
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/744.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 #744
----
commit a57e464e704fae21b6ebe3c0afed3e21fb15b951
Author: Theodore Vasiloudis <[email protected]>
Date: 2015-05-28T16:51:17Z
Add predict function for labeled data for SVM and MLR.
These functions return for each example in the input DataSet[LabeledVector]
a pair (truth, prediction)
----
---
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.
---