Github user thvasilo commented on a diff in the pull request:
https://github.com/apache/flink/pull/874#discussion_r33659872
--- Diff: docs/libs/ml/svm.md ---
@@ -186,5 +199,5 @@ svm.fit(trainingDS)
val testingDS: DataSet[Vector] = env.readVectorFile(pathToTestingFile)
// Calculate the predictions for the testing data set
-val predictionDS: DataSet[LabeledVector] = svm.predict(testingDS)
+val predictionDS: DataSet[(FlinkVector, Double)] = svm.predict(testingDS)
--- End diff --
Maybe if I add a comment clarifying what I'm doing? My problems is that
Scala Vector is imported by default and if you don't import the FlinkML Vector
it will lead to problems.
---
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.
---