flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4850) FlinkML - SVM predict Operation for Vector and not LaveledVector
Date Wed, 02 Nov 2016 17:10:59 GMT

    [ https://issues.apache.org/jira/browse/FLINK-4850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629649#comment-15629649
] 

ASF GitHub Bot commented on FLINK-4850:
---------------------------------------

Github user tillrohrmann commented on the issue:

    https://github.com/apache/flink/pull/2658
  
    Thanks for your contribution @thvasilo. Changes look good. Will merge your PR.


> FlinkML - SVM predict Operation for Vector and not LaveledVector
> ----------------------------------------------------------------
>
>                 Key: FLINK-4850
>                 URL: https://issues.apache.org/jira/browse/FLINK-4850
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Thomas FOURNIER
>            Assignee: Theodore Vasiloudis
>            Priority: Minor
>
> It seems that evaluate operation is defined for Vector and not LabeledVector.
> It impacts QuickStart guide for FlinkML when using SVM.
> We need to update the documentation as follows:
> val astroTest:DataSet[(Vector,Double)] = MLUtils
>       .readLibSVM(env, "src/main/resources/svmguide1.t")
>       .map(l => (l.vector, l.label))
> val predictionPairs = svm.evaluate(astroTest)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message