You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2014/07/21 05:49:39 UTC

[jira] [Resolved] (SPARK-1945) Add full Java examples in MLlib docs

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

Xiangrui Meng resolved SPARK-1945.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0

Issue resolved by pull request 1311
[https://github.com/apache/spark/pull/1311]

> Add full Java examples in MLlib docs
> ------------------------------------
>
>                 Key: SPARK-1945
>                 URL: https://issues.apache.org/jira/browse/SPARK-1945
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Documentation, MLlib
>            Reporter: Matei Zaharia
>            Assignee: Michael Yannakopoulos
>              Labels: Starter
>             Fix For: 1.1.0
>
>
> Right now some of the Java tabs only say the following:
> "All of MLlib’s methods use Java-friendly types, so you can import and call them there the same way you do in Scala. The only caveat is that the methods take Scala RDD objects, while the Spark Java API uses a separate JavaRDD class. You can convert a Java RDD to a Scala one by calling .rdd() on your JavaRDD object."
> Would be nice to translate the Scala code into Java instead.
> Also, a few pages (most notably the Matrix one) don't have Java examples at all.



--
This message was sent by Atlassian JIRA
(v6.2#6252)