[SPARK-18613][ML] make spark.mllib LDA dependencies in spark.ml LDA private#16860
Closed
sueann wants to merge 1 commit intoapache:masterfrom
Closed
[SPARK-18613][ML] make spark.mllib LDA dependencies in spark.ml LDA private#16860sueann wants to merge 1 commit intoapache:masterfrom
sueann wants to merge 1 commit intoapache:masterfrom
Conversation
Member
|
I get it, but making something less visible after it's released is also a breaking change. Without a good reason for that we shouldn't make changes like this. |
Member
|
@srowen This actually isn't a breaking change. This is making protected methods private within classes which cannot be extended outside of Spark. The classes are not final, but they only provide private constructors. |
Member
|
Oh, the class is private already, right on. That seems OK then. |
Member
|
Test build #72607 has finished for PR 16860 at commit
|
imatiach-msft
approved these changes
Feb 9, 2017
Member
|
LGTM |
cmonkey
pushed a commit
to cmonkey/spark
that referenced
this pull request
Feb 15, 2017
…rivate ## What changes were proposed in this pull request? spark.ml.*LDAModel classes were exposing spark.mllib LDA models via protected methods. Made them package (clustering) private. ## How was this patch tested? ``` build/sbt doc # "millib.clustering" no longer appears in the docs for *LDA* classes build/sbt compile # compiles build/sbt > mllib/testOnly # tests pass ``` Author: sueann <sueann@databricks.com> Closes apache#16860 from sueann/SPARK-18613.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
spark.ml.*LDAModel classes were exposing spark.mllib LDA models via protected methods. Made them package (clustering) private.
How was this patch tested?