GitHub user jkbradley opened a pull request:

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

    [WIP] [SPARK-4587] [mllib] ML model import/export

    This is a WIP PR for Parquet-based model import/export.  Please see the 
design doc on [the JIRA](https://issues.apache.org/jira/browse/SPARK-4587).
    
    Sketch of current contents:
    * New traits: Exportable, Importable with abstract methods save(sc, path) 
and load(sc, path), respectively
    * Implemented Exportable, Importable for LogisticRegressionModel and added 
unit test
    * Also: Added LogisticRegressionModel.getThreshold method (so that unit 
test could check the threshold)
    
    I will remove the WIP tag after I add save/load for other models in the 
spark.mllib package.
    
    CC: @mengxr  @selvinsource


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

    $ git pull https://github.com/jkbradley/spark ml-import-export

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

    https://github.com/apache/spark/pull/4233.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 #4233
    
----
commit 4c11844331cb76c6c0d0ea10141aadcd174a348f
Author: Joseph K. Bradley <[email protected]>
Date:   2015-01-27T21:44:02Z

    Added save, load to mllib.classification.LogisticRegressionModel, plus test 
suite

commit 14711b7d378534d7ff9a8a790af9089ac0c20ad9
Author: Joseph K. Bradley <[email protected]>
Date:   2015-01-27T22:08:10Z

    small cleanups

----


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