Skip to content

Conversation

@jkbradley
Copy link
Member

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.
Backport of #15034 for branch-2.0

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.

Allow Spark 2.x to load instances of LDA, LocalLDAModel, and DistributedLDAModel saved from Spark 1.6.

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.

Author: Joseph K. Bradley <[email protected]>

Closes apache#15034 from jkbradley/lda-backwards.
@jkbradley
Copy link
Member Author

To reviewers: This code was taken and modified from [#14112]. @GayathriMurali should be the primary author when we merge this into branch-2.0

I'll merge this once tests pass.

@SparkQA
Copy link

SparkQA commented Sep 23, 2016

Test build #65800 has finished for PR 15205 at commit 2a95b5c.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Sep 23, 2016

Test build #65804 has finished for PR 15205 at commit a3d02ce.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@jkbradley
Copy link
Member Author

Local testing worked, so merging with branch-2.0 now

asfgit pushed a commit that referenced this pull request Sep 23, 2016
… backport

## 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.
Backport of #15034 for branch-2.0

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

Author: Gayathri Murali <[email protected]>
Author: Joseph K. Bradley <[email protected]>

Closes #15205 from jkbradley/lda-backward-2.0.
@jkbradley jkbradley closed this Sep 23, 2016
@jkbradley jkbradley deleted the lda-backward-2.0 branch September 23, 2016 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants