You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/11/08 12:19:10 UTC

[jira] [Resolved] (SPARK-11476) Incorrect function referred to in MLib Random data generation documentation

     [ https://issues.apache.org/jira/browse/SPARK-11476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-11476.
-------------------------------
       Resolution: Fixed
         Assignee: Sean Owen
    Fix Version/s: 1.7.0
                   1.6.0
                   1.5.3

Resolved by https://github.com/apache/spark/pull/9529

> Incorrect function referred to in MLib Random data generation documentation
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-11476
>                 URL: https://issues.apache.org/jira/browse/SPARK-11476
>             Project: Spark
>          Issue Type: Documentation
>          Components: Documentation
>    Affects Versions: 1.5.1
>            Reporter: Jason Blochowiak
>            Assignee: Sean Owen
>            Priority: Minor
>              Labels: documentation, easyfix
>             Fix For: 1.5.3, 1.6.0, 1.7.0
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> http://spark.apache.org/docs/latest/mllib-statistics.html in the "Random data generation", a comment in the example code says:
> Generate a random double RDD that contains 1 million i.i.d. values drawn from the standard normal distribution `N(0, 1)`, evenly distributed in 10 partitions.
> But it then calls normalRDD(), which does not do that - a call to uniformRDD() with the same parameters would do what the comment claims.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org