Skip to content
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-5019 [MLlib] - GaussianMixtureModel exposes instances of MultivariateGauss... #4088

Closed
wants to merge 2 commits into from

Conversation

tgaloppo
Copy link
Contributor

This PR modifies GaussianMixtureModel to expose instances of MutlivariateGaussian rather than separate mean and covariance arrays.

@SparkQA
Copy link

SparkQA commented Jan 17, 2015

Test build #25707 has started for PR 4088 at commit 091e8da.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Jan 17, 2015

Test build #25707 has finished for PR 4088 at commit 091e8da.

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

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25707/
Test PASSed.

@tgaloppo tgaloppo changed the title SPARK-5019 - GaussianMixtureModel exposes instances of MultivariateGauss... SPARK-5019 [MLlib] - GaussianMixtureModel exposes instances of MultivariateGauss... Jan 19, 2015
@@ -37,8 +37,9 @@ import org.apache.spark.mllib.util.MLUtils
*/
class GaussianMixtureModel(
val weight: Array[Double],
val mu: Array[Vector],
val sigma: Array[Matrix]) extends Serializable {
val gaussian: Array[MultivariateGaussian]) extends Serializable {
Copy link
Member

Choose a reason for hiding this comment

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

Should "weight" and "gaussian" be plural ("weights" and "gaussians")?

@jkbradley
Copy link
Member

@tgaloppo Other than the 1 comment, this looks good. Thanks!

… gaussians. Other sources modified accordingly.
@SparkQA
Copy link

SparkQA commented Jan 20, 2015

Test build #25786 has started for PR 4088 at commit 3ef6c7f.

  • This patch merges cleanly.

@tgaloppo
Copy link
Contributor Author

@jkbradley I considered making those plural for the initial commit. I guess I should have. Update has been made.

@SparkQA
Copy link

SparkQA commented Jan 20, 2015

Test build #25786 has finished for PR 4088 at commit 3ef6c7f.

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

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25786/
Test PASSed.

@jkbradley
Copy link
Member

@tgaloppo Thank you! LGTM

CC: @mengxr

@asfgit asfgit closed this in 23e2554 Jan 20, 2015
@mengxr
Copy link
Contributor

mengxr commented Jan 20, 2015

Merged into master. Thanks!

bomeng pushed a commit to Huawei-Spark/spark that referenced this pull request Jan 21, 2015
…ariateGauss...

This PR modifies GaussianMixtureModel to expose instances of MutlivariateGaussian rather than separate mean and covariance arrays.

Author: Travis Galoppo <tjg2107@columbia.edu>

Closes apache#4088 from tgaloppo/spark-5019 and squashes the following commits:

3ef6c7f [Travis Galoppo] In GaussianMixtureModel: Changed name of weight, gaussian to weights, gaussians.  Other sources modified accordingly.
091e8da [Travis Galoppo] SPARK-5019 - GaussianMixtureModel exposes instances of MultivariateGaussian rather than mean/covariance matrices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants