You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Leonard Xu (Jira)" <ji...@apache.org> on 2022/11/01 09:37:00 UTC
[jira] [Updated] (FLINK-2948) Cannot compile example code in SVM quickstart guide
[ https://issues.apache.org/jira/browse/FLINK-2948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonard Xu updated FLINK-2948:
------------------------------
Labels: starter (was: newbie)
> 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, Library / Machine Learning
> Affects Versions: 0.9.1
> Reporter: Do Le Quoc
> Priority: Minor
> Labels: starter
>
> 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
(v8.20.10#820010)