[ https://issues.apache.org/jira/browse/FLINK-4850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15591622#comment-15591622 ]
Theodore Vasiloudis edited comment on FLINK-4850 at 10/20/16 11:57 AM: ----------------------------------------------------------------------- Just to note, the PR I opened only fixes the documentation part, I recommend having a different issue for the adding an {{EvaluateDataSet}} operation for {{LabeledVector}} was (Author: tvas): Just to note, the PR I opened only fixes the documentation part, I recommend having a different issue for the adding an {EvaluateDataSet} operation for {LabeledVector} > FlinkML - SVM predict Operation for Vector and not LaveledVector > ---------------------------------------------------------------- > > Key: FLINK-4850 > URL: https://issues.apache.org/jira/browse/FLINK-4850 > Project: Flink > Issue Type: Bug > Reporter: Thomas FOURNIER > Assignee: Theodore Vasiloudis > > It seems that evaluate operation is defined for Vector and not LabeledVector. > It impacts QuickStart guide for FlinkML when using SVM. > 1- We need to update the documentation as follows: > val astroTest:DataSet[(Vector,Double)] = MLUtils > .readLibSVM(env, "src/main/resources/svmguide1.t") > .map(l => (l.vector, l.label)) > val predictionPairs = svm.evaluate(astroTest) > 2- Update code such that LabeledVector can be used with evaluate method -- This message was sent by Atlassian JIRA (v6.3.4#6332)