-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
[SPARK-10234] [MLLIB] update since version in mllib.clustering #8435
Conversation
Test build #41560 has finished for PR 8435 at commit
|
val gaussians: Array[MultivariateGaussian]) extends Serializable with Saveable { | ||
class GaussianMixtureModel @Since("1.3.0") ( | ||
@Since("1.3.0") val weights: Array[Double], | ||
@Since("1.3.0") val gaussians: Array[MultivariateGaussian]) extends Serializable with Saveable { | ||
|
||
require(weights.length == gaussians.length, "Length of weight and Gaussian arrays must match") | ||
|
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.
Should we add since to formatVersion
?
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.
That is a protected method. Ideally we should mark it as well. But we are not really expecting users implement Loader
or Saveable
.
LGTM overall |
Merged into master and branch-1.5. |
LGTM, minus the @feynmanliang point. Apart from this issue, it seems that there is an unnecessary comment in PowerIterationClustering.scala. We should remove it. |
Same as #8421 but for `mllib.clustering`. cc feynmanliang yu-iskw Author: Xiangrui Meng <[email protected]> Closes #8435 from mengxr/SPARK-10234. (cherry picked from commit d703372) Signed-off-by: Xiangrui Meng <[email protected]>
@mengxr All right. Thank you for letting me know. |
Same as #8421 but for
mllib.clustering
.cc @feynmanliang @yu-iskw