[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to