You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chiwan Park (JIRA)" <ji...@apache.org> on 2015/10/31 05:20:27 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=14983803#comment-14983803 ] 

Chiwan Park edited comment on FLINK-2948 at 10/31/15 4:19 AM:
--------------------------------------------------------------

BTW, The documentation for master branch has a small problem. I'll create a JIRA for that. Thanks!


was (Author: chiwanpark):
BTW, The documentation for master branch have a small problem. I'll create a JIRA for that. Thanks!

> 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
>              Labels: newbie
>
> 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)