You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Do Le Quoc (JIRA)" <ji...@apache.org> on 2015/10/30 20:20:27 UTC
[jira] [Created] (FLINK-2948) Cannot compile example code in SVM
quickstart guide
Do Le Quoc created FLINK-2948:
---------------------------------
Summary: Cannot compile example code in SVM quickstart guide
Key: FLINK-2948
URL: https://issues.apache.org/jira/browse/FLINK-2948
Project: Flink
Issue Type: Bug
Components: Documentation, Machine Learning Library
Affects Versions: 0.9.1
Reporter: Do Le Quoc
Priority: Minor
Cannot compile example SVM code (https://ci.apache.org/projects/flink/flink-docs-master/libs/ml/svm.html).
{quote}
[error] found : org.apache.flink.api.scala.DataSet[org.apache.flink.ml.common.LabeledVector] [error] required: org.apache.flink.api.scala.DataSet[(org.apache.flink.ml.math.Vector, Double)] [error] Error occurred in an application involving default arguments. [error] val predictionDS: DataSet[(Vector, Double)] = svm.predict(testingDS) [error] ^
[error] one error found [error] (compile:compile) Compilation failed
{quote}
*Fix:*
-deleted-val predictionDS: DataSet[(Vector, Double)] = svm.predict(testingDS)-deleted-
+inserted+val predictionDS: DataSet[LabeledVector] = svm.predict(testingDS)+inserted+
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)