GitHub user jkbradley opened a pull request:

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

    [SPARK-16240][ML] ML persistence backward compatibility for LDA

    ## What changes were proposed in this pull request?
    
    Allow Spark 2.x to load instances of LDA, LocalLDAModel, and 
DistributedLDAModel saved from Spark 1.6.
    
    ## How was this patch tested?
    
    I tested this manually, saving the 3 types from 1.6 and loading them into 
master (2.x).  In the future, we can add generic tests for testing backwards 
compatibility across all ML models in SPARK-15573.

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

    $ git pull https://github.com/jkbradley/spark lda-backwards

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

    https://github.com/apache/spark/pull/15034.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 #15034
    
----
commit 97d569791dbe4aba59c8c9a54a932a1767ddb635
Author: Joseph K. Bradley <[email protected]>
Date:   2016-09-09T17:51:51Z

    took changes from GayathriMurali branch

commit a931b25ae91bbfa67adf4b5209d0603d0a73b4cc
Author: Joseph K. Bradley <[email protected]>
Date:   2016-09-09T17:58:42Z

    minor 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