GitHub user wangmiao1981 opened a pull request:

    https://github.com/apache/spark/pull/13213

    [SPARK-15363][ML][Example]:Example code shouldn't use VectorImplicits._, 
asML/fromML

    ## What changes were proposed in this pull request?
    
    (Please fill in changes proposed in this fix)
    In this DataFrame example, we use VectorImplicits._, which is private API. 
    
    Since Vectors object has public API, we use Vectors.fromML instead of 
implicts.
    
    ## How was this patch tested?
    
    (Please explain how this patch was tested. E.g. unit tests, integration 
tests, manual tests)
    
    Manually run the example.
    
    
    


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

    $ git pull https://github.com/wangmiao1981/spark ml

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

    https://github.com/apache/spark/pull/13213.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 #13213
    
----
commit 818dc7fe8f1be835243de8d096d43b229e356cbc
Author: wm...@hotmail.com <wm...@hotmail.com>
Date:   2016-05-20T05:00:35Z

    remove VectorImplicits in example

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to