You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/07/26 00:10:00 UTC

[jira] [Commented] (FLINK-9664) FlinkML Quickstart Loading Data section example doesn't work as described

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

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

walterddr opened a new pull request #6425: [FLINK-9664][Doc] fixing documentation in ML quick start
URL: https://github.com/apache/flink/pull/6425
 
 
   ## What is the purpose of the change
   
   * Fix documentation to explicitly specify that +1 and -1 is required when using SVM library in flink-ml
   
   ## Brief change log
   
   * Added explicit conversion requirement in document
   
   
   ## Verifying this change
   
   * n/a
   
   ## Does this pull request potentially affect one of the following parts:
   
   * n/a
   
   ## Documentation
   
   * n/a
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> FlinkML Quickstart Loading Data section example doesn't work as described
> -------------------------------------------------------------------------
>
>                 Key: FLINK-9664
>                 URL: https://issues.apache.org/jira/browse/FLINK-9664
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation, Machine Learning Library
>    Affects Versions: 1.5.0
>            Reporter: Mano Swerts
>            Assignee: Rong Rong
>            Priority: Major
>              Labels: documentation-update, machine_learning, ml, pull-request-available
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The ML documentation example isn't complete: [https://ci.apache.org/projects/flink/flink-docs-release-1.5/dev/libs/ml/quickstart.html#loading-data]
> The referred section loads data from an astroparticle binary classification dataset to showcase SVM. The dataset uses 0 and 1 as labels, which doesn't produce correct results. The SVM predictor expects -1 and 1 labels to correctly predict the label. The documentation, however, doesn't mention that. The example therefore doesn't work without a clue why.
> The documentation should be updated with an explicit mention to -1 and 1 labels and a mapping function that shows the conversion of the labels.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)