GitHub user mengxr opened a pull request:

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

    [SPARK-11839] [ML] refactor save/write traits

    * add "ML" prefix to reader/writer/readable/writable to avoid name 
collision with java.util.*
    * define `DefaultParamsReadable/Writable` and use them to save some code
    * use `super.load` instead so people can jump directly to the doc of 
`Readable.load`, which documents the Java compatibility issues
    
    @jkbradley 

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

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

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

    https://github.com/apache/spark/pull/9827.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 #9827
    
----
commit e0002dad8d4af7b239a89dc44cf14be8687dffa6
Author: Xiangrui Meng <[email protected]>
Date:   2015-11-19T01:11:00Z

    implement DefaultParamsWritable and DefaultParamsReadable

commit bdd5a3906c4872cf9e6f8505126a9af4f19fdf51
Author: Xiangrui Meng <[email protected]>
Date:   2015-11-19T01:13:07Z

    add ML prefix to Reader/Writer/Readable/Writable to void collision with 
java.util.*

----


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