GitHub user yanboliang opened a pull request:

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

    [SPARK-11723] [ML] [Doc] Use LibSVM data source rather than 
MLUtils.loadLibSVMFile to load DataFrame

    Use LibSVM data source rather than MLUtils.loadLibSVMFile to load DataFrame

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

    $ git pull https://github.com/yanboliang/spark spark-11723

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

    https://github.com/apache/spark/pull/9690.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 #9690
    
----
commit 738f73a177fca85b8570451caff7a92f4ef06285
Author: Yanbo Liang <[email protected]>
Date:   2015-11-13T08:12:08Z

    Use sqlContext.read.format(libsvm).load(***) to load DataFrame

commit a0a3cbb32284f8e14796aeb56e6e21730c34f295
Author: Yanbo Liang <[email protected]>
Date:   2015-11-13T09:14:03Z

    PySpark ml example codes use LibSVMRelation

commit 93381fae845dfaac70b6b76c8ff5a04dbc857174
Author: Yanbo Liang <[email protected]>
Date:   2015-11-13T09:43:46Z

    Update code examples in spark.ml user guide to use LIBSVM data source

commit 66d8ec970a0d31110d4530252ac370b3e1a754cf
Author: Yanbo Liang <[email protected]>
Date:   2015-11-13T09:49:53Z

    Fix bug: Java should use sqlContext.read() not sqlContext.read

commit 83a0b2cbb0defb98ac69f10d1d9c9c19bc8ce7ff
Author: Yanbo Liang <[email protected]>
Date:   2015-11-13T10:22:01Z

    fix typo

----


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