org.apache.spark.mllib.clustering
Weights for each Gaussian distribution in the mixture, where weights(i) is the weight for Gaussian i, and weights.sum == 1
Array of MultivariateGaussian where gaussians(i) represents the Multivariate Gaussian (Normal) Distribution for Gaussian i
Current version of model save/load format.
Current version of model save/load format.
Array of MultivariateGaussian where gaussians(i) represents the Multivariate Gaussian (Normal) Distribution for Gaussian i
Array of MultivariateGaussian where gaussians(i) represents the Multivariate Gaussian (Normal) Distribution for Gaussian i
Number of gaussians in mixture
Number of gaussians in mixture
Java-friendly version of predict()
Java-friendly version of predict()
Maps given point to its cluster index.
Maps given point to its cluster index.
Maps given points to their cluster indices.
Maps given points to their cluster indices.
Given the input vector, return the membership values to all mixture components.
Given the input vector, return the membership values to all mixture components.
Given the input vectors, return the membership value of each vector to all mixture components.
Given the input vectors, return the membership value of each vector to all mixture components.
Save this model to the given path.
Save this model to the given path.
This saves:
The model may be loaded using Loader.load
.
Spark context used to save model data.
Path specifying the directory in which to save this model. If the directory already exists, this method throws an exception.
Weights for each Gaussian distribution in the mixture, where weights(i) is the weight for Gaussian i, and weights.sum == 1
Weights for each Gaussian distribution in the mixture, where weights(i) is the weight for Gaussian i, and weights.sum == 1
Multivariate Gaussian Mixture Model (GMM) consisting of k Gaussians, where points are drawn from each Gaussian i=1..k with probability w(i); mu(i) and sigma(i) are the respective mean and covariance for each Gaussian distribution i=1..k.