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)

Reply via email to