public class EMModel extends MeanModel
| Modifier and Type | Field and Description |
|---|---|
private double[][] |
covarianceMatrix
Cluster covariance matrix
|
prototype| Constructor and Description |
|---|
EMModel(double[] mean,
double[][] covarianceMatrix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double[][] |
getCovarianceMatrix() |
void |
setCovarianceMatrix(double[][] covarianceMatrix) |
java.lang.String |
toString() |
void |
writeToText(TextWriterStream out,
java.lang.String label)
Implementation of
TextWriteable interface. |
getMean, getPrototypeTypegetPrototype, prototypeToStringpublic EMModel(double[] mean,
double[][] covarianceMatrix)
mean - Mean vectorcovarianceMatrix - Covariance matrixpublic void writeToText(TextWriterStream out, java.lang.String label)
PrototypeModelTextWriteable interface.writeToText in interface ModelwriteToText in interface PrototypeModel<double[]>writeToText in interface TextWriteablewriteToText in class SimplePrototypeModel<double[]>out - Output steamlabel - Optional label to prefixpublic double[][] getCovarianceMatrix()
public void setCovarianceMatrix(double[][] covarianceMatrix)
covarianceMatrix - covariance matrixpublic java.lang.String toString()
toString in class SimplePrototypeModel<double[]>Copyright © 2019 ELKI Development Team. License information.