Skip to content

Conversation

@jkbradley
Copy link
Member

Per discussion in the initial Pipelines LDA PR [https://github.com//pull/9513], we should make LDAModel abstract and create a LocalLDAModel. This code simplification should be done before the 1.6 release to ensure API compatibility in future releases.

CC @feynmanliang @mengxr

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we warn that this (any any method that uses this) will trigger a collect in DistributedLDAModel (if so, does the doc belong here or in DistributedLDAModel), or can we expect users of DistributedLDAModel understand that already?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not trigger a collect. It's oldLocalModel which can trigger a collect.

I'll add some more warnings in places where it can happen in the public API.

@feynmanliang
Copy link
Contributor

LGTM, all comments minor / optional

@SparkQA
Copy link

SparkQA commented Nov 12, 2015

Test build #2051 has finished for PR 9678 at commit 29d08a8.

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

@SparkQA
Copy link

SparkQA commented Nov 12, 2015

Test build #45774 has finished for PR 9678 at commit 29d08a8.

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

@jkbradley
Copy link
Member Author

@feynmanliang Thanks for reviewing! I think I addressed everything.

@SparkQA
Copy link

SparkQA commented Nov 13, 2015

Test build #45785 has finished for PR 9678 at commit b3e9341.

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

@jkbradley
Copy link
Member Author

Merging with master, branch-1.6

asfgit pushed a commit that referenced this pull request Nov 13, 2015
Per discussion in the initial Pipelines LDA PR [#9513], we should make LDAModel abstract and create a LocalLDAModel. This code simplification should be done before the 1.6 release to ensure API compatibility in future releases.

CC feynmanliang mengxr

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

Closes #9678 from jkbradley/lda-pipelines-2.

(cherry picked from commit dcb896f)
Signed-off-by: Joseph K. Bradley <[email protected]>
@asfgit asfgit closed this in dcb896f Nov 13, 2015
@jkbradley jkbradley deleted the lda-pipelines-2 branch November 13, 2015 01:06
dskrvk pushed a commit to dskrvk/spark that referenced this pull request Nov 13, 2015
Per discussion in the initial Pipelines LDA PR [apache#9513], we should make LDAModel abstract and create a LocalLDAModel. This code simplification should be done before the 1.6 release to ensure API compatibility in future releases.

CC feynmanliang mengxr

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

Closes apache#9678 from jkbradley/lda-pipelines-2.
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