V
- Vector typepublic class EMModel<V extends FeatureVector<?>> extends MeanModel<V>
Modifier and Type | Field and Description |
---|---|
private Matrix |
covarianceMatrix
Cluster covariance matrix
|
Constructor and Description |
---|
EMModel(V mean,
Matrix covarianceMatrix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
getCovarianceMatrix() |
void |
setCovarianceMatrix(Matrix covarianceMatrix) |
void |
writeToText(TextWriterStream out,
String label)
Implementation of
TextWriteable interface. |
private Matrix covarianceMatrix
public void writeToText(TextWriterStream out, String label)
MeanModel
TextWriteable
interface.writeToText
in interface TextWriteable
writeToText
in class MeanModel<V extends FeatureVector<?>>
out
- Output steamlabel
- Optional label to prefixpublic Matrix getCovarianceMatrix()
public void setCovarianceMatrix(Matrix covarianceMatrix)
covarianceMatrix
- covariance matrix