Class ExpectationSum
Object
org.apache.spark.mllib.clustering.ExpectationSum
- All Implemented Interfaces:
 Serializable
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionExpectationSum(double logLikelihood, double[] weights, breeze.linalg.DenseVector<Object>[] means, breeze.linalg.DenseMatrix<Object>[] sigmas)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic ExpectationSumadd(double[] weights, MultivariateGaussian[] dists, ExpectationSum sums, breeze.linalg.Vector<Object> x) intk()doublebreeze.linalg.DenseVector<Object>[]means()breeze.linalg.DenseMatrix<Object>[]sigmas()double[]weights()static ExpectationSumzero(int k, int d)  
- 
Constructor Details
- 
ExpectationSum
 
 - 
 - 
Method Details
- 
zero
 - 
add
public static ExpectationSum add(double[] weights, MultivariateGaussian[] dists, ExpectationSum sums, breeze.linalg.Vector<Object> x)  - 
logLikelihood
public double logLikelihood() - 
weights
public double[] weights() - 
means
 - 
sigmas
 - 
k
public int k() 
 -