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

ASF GitHub Bot commented on MAHOUT-1896:
----------------------------------------

GitHub user rawkintrevo opened a pull request:

    https://github.com/apache/mahout/pull/263

    [MAHOUT-1896][WIP] Add convenience methods for interacting with Spark ML

    Currently the method for ingesting RDDs to DRM is `drmWrap`. This is a 
flexible method, however there are many cases when the RDD to be wrapped is 
either RDD[org.apache.spark.mllib.lingalg.Vector], 
RDD[org.apache.spark.mllib.regression.LabeledPoint], or DataFrame[Row] (as is 
the case when working with SparkML. It makes sense to create convenience 
methods for converting these types to DRM.
    
    * [x] Add `drmWrapMLLibLabeledPoint`
    * [x] Add `drmWrapDataFrame`
    * [x] Add `drmWrapMLLibVector`
    * [ ] Tests
    * [ ] Scala Docs
    
    Minor improvement
    
    [Relevent JIRA 
MAHOUT-1896](https://issues.apache.org/jira/browse/MAHOUT-1896)
    
    Requires no license updates

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

    $ git pull https://github.com/rawkintrevo/mahout mahout-1896

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

    https://github.com/apache/mahout/pull/263.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 #263
    
----
commit a70560edd11703aeabd5db224e79816437eeb3ce
Author: rawkintrevo <[email protected]>
Date:   2016-12-15T22:40:14Z

    Added drmWrapMLlibLabledPointWrap and drmWrapDataFrame

commit fb89247a22ddaad54a0cee13a13bcfe7a8557d88
Author: rawkintrevo <[email protected]>
Date:   2016-12-15T23:02:39Z

    Added drmWrapMLLibVector

----


> Add convenience methods for interacting with Spark ML
> -----------------------------------------------------
>
>                 Key: MAHOUT-1896
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1896
>             Project: Mahout
>          Issue Type: Bug
>            Reporter: Trevor Grant
>            Priority: Minor
>
> Currently the method for ingesting RDDs to DRM is `drmWrap`.  This is a 
> flexible method, however there are many cases when the RDD to be wrapped is 
> either RDD[org.apache.spark.mllib.lingalg.Vector], 
> RDD[org.apache.spark.mllib.regression.LabeledPoint], or DataFrame[Row] (as is 
> the case when working with SparkML.  It makes sense to create convenience 
> methods for converting these types to DRM.



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

Reply via email to