GitHub user tgaloppo opened a pull request:
https://github.com/apache/spark/pull/3923
SPARK-5018 [MLlib] [WIP] Make MultivariateGaussian public
Moving MutlivariateGaussian from private[mllib] to public. The class uses
Breeze vectors internally, so this involves creating a public interface using
MLlib vectors and matrices.
This initial commit provides public construction, accessors for
mean/covariance, density and log-density.
Other potential methods include entropy and sample generation.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tgaloppo/spark spark-5018
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/3923.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3923
----
commit 4dee9e1a94d963e9aa174df45a0ad9b52c3d8f24
Author: Travis Galoppo <[email protected]>
Date: 2015-01-07T03:45:43Z
SPARK-5018
MultivariateGaussian.scala - Made class public and exposed public methods
leveraging MLlib vectors and matrices. Added logpdf method providing
log-density calculation.
MultivariateGaussianSuite.scala - Test are now performed through the public
methods.
commit 0943dc43b887a2626d6e6ef6cf0f8ac48ebc7f0f
Author: Travis Galoppo <[email protected]>
Date: 2015-01-07T03:51:10Z
SPARK-5018
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]