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 2014/11/08 12:55:33 UTC

[jira] [Resolved] (SPARK-1229) train on array (in addition to RDD)

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

Sean Owen resolved SPARK-1229.
------------------------------
    Resolution: Not a Problem

If I may be so bold: generally, you train on lots of data, so an RDD makes more sense than an Array as training input. That said, you can always parallelize an Array as an RDD and train on it, which is most of the use case here. If you really mean you need a sample method that returns an RDD, yes that exists as you see.

> train on array (in addition to RDD)
> -----------------------------------
>
>                 Key: SPARK-1229
>                 URL: https://issues.apache.org/jira/browse/SPARK-1229
>             Project: Spark
>          Issue Type: Story
>          Components: MLlib
>            Reporter: Arshak Navruzyan
>
> since predict method accepts either RDD or Array for consistency so should train.  (particularly since RDD.takeSample() returns Array)



--
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