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 2015/10/29 09:59:27 UTC

[jira] [Commented] (FLINK-2860) The mlr object from the FlinkML Getting Started code example uses an undefined argument

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

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

GitHub user chiwanpark opened a pull request:

    https://github.com/apache/flink/pull/1310

    [FLINK-2860] The mlr object from the FlinkML Getting Started code example uses an undefined argument

    This PR fixes the code in getting started guide. We have to apply this commit to 0.9 branch and master branch.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/chiwanpark/flink FLINK-2860

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1310.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1310
    
----
commit 46208d049ea183841310e7f8d5cc1c1cf3e0164f
Author: Chiwan Park <ch...@apache.org>
Date:   2015-10-29T08:44:53Z

    [FLINK-2860] [ml] [docs] Remove an undefined argument in FlinkML documentation

----


> The mlr object from the FlinkML Getting Started code example uses an undefined argument
> ---------------------------------------------------------------------------------------
>
>                 Key: FLINK-2860
>                 URL: https://issues.apache.org/jira/browse/FLINK-2860
>             Project: Flink
>          Issue Type: Improvement
>          Components: Machine Learning Library
>    Affects Versions: 0.9.1
>            Reporter: Theodore Vasiloudis
>            Priority: Trivial
>              Labels: ML
>
> The [getting started guide code example|https://ci.apache.org/projects/flink/flink-docs-master/libs/ml/#getting-started] uses the following code:
> {code}
> val trainingData: DataSet[LabeledVector] = ...
> val testingData: DataSet[Vector] = ...
> val mlr = MultipleLinearRegression()
>   .setStepsize(1.0)
>   .setIterations(100)
>   .setConvergenceThreshold(0.001)
> mlr.fit(trainingData, parameters)
> {code}
> The call to {{mlr.fit()}} uses a {{parameters}} argument that is unnecessary, we should remove that.



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