-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-16249][ML] Change visibility of Object ml.clustering.LDA to public for loading #13941
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -880,11 +880,13 @@ class LDA @Since("1.6.0") ( | |
| } | ||
| } | ||
|
|
||
|
|
||
| private[clustering] object LDA extends DefaultParamsReadable[LDA] { | ||
| @Since("2.0.0") | ||
| object LDA extends DefaultParamsReadable[LDA] { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For discussion: Should we bump up the version at L899 to 2.0.0?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah, seems we have generally had
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, please, bump to 2.0.0 |
||
|
|
||
| /** Get dataset for spark.mllib LDA */ | ||
| def getOldDataset(dataset: Dataset[_], featuresCol: String): RDD[(Long, OldVector)] = { | ||
| private[clustering] def getOldDataset( | ||
| dataset: Dataset[_], | ||
| featuresCol: String): RDD[(Long, OldVector)] = { | ||
| dataset | ||
| .withColumn("docId", monotonicallyIncreasingId()) | ||
| .select("docId", featuresCol) | ||
|
|
@@ -894,6 +896,6 @@ private[clustering] object LDA extends DefaultParamsReadable[LDA] { | |
| } | ||
| } | ||
|
|
||
| @Since("1.6.0") | ||
| @Since("2.0.0") | ||
| override def load(path: String): LDA = super.load(path) | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SInCE("2.0.0")