GitHub user mengxr opened a pull request:

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

    [SPARK-10331] Update example code in ml-guide

    * The example code was added in 1.2, before `createDataFrame`. This PR 
switches to `createDataFrame`.
    * assume `sqlContext` is available
    * fix some minor issues from previous code review
    
    @jkbradley @feynmanliang 

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

    $ git pull https://github.com/mengxr/spark SPARK-10331

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

    https://github.com/apache/spark/pull/8518.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 #8518
    
----
commit 742aa7284577f81946a783c7b89917e853cfc2a4
Author: Xiangrui Meng <[email protected]>
Date:   2015-08-29T07:23:51Z

    simplify some scala example

commit 8c269a405898e13b9944c430f3e28c0adc09bf7d
Author: Xiangrui Meng <[email protected]>
Date:   2015-08-29T07:56:19Z

    update java/python 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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to