marytts.machinelearning
Class GMM
java.lang.Object
marytts.machinelearning.GMM
public class GMM
- extends java.lang.Object
Wrapper for a Gaussian Mixture Model
- Author:
- Oytun Türk
|
Constructor Summary |
GMM()
|
GMM(GMM existing)
|
GMM(int featureDimensionIn,
int totalMixturesIn)
|
GMM(int featureDimensionIn,
int totalComponentsIn,
boolean isDiagonalCovarIn)
|
GMM(KMeansClusteringTrainer kmeansClusterer)
|
GMM(java.lang.String gmmFile)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
weights
public double[] weights
components
public GaussianComponent[] components
info
public java.lang.String info
featureDimension
public int featureDimension
totalComponents
public int totalComponents
isDiagonalCovariance
public boolean isDiagonalCovariance
GMM
public GMM()
GMM
public GMM(int featureDimensionIn,
int totalMixturesIn)
GMM
public GMM(int featureDimensionIn,
int totalComponentsIn,
boolean isDiagonalCovarIn)
GMM
public GMM(KMeansClusteringTrainer kmeansClusterer)
GMM
public GMM(GMM existing)
GMM
public GMM(java.lang.String gmmFile)
init
public void init(int featureDimensionIn,
int totalMixturesIn,
boolean isDiagonalCovarIn)
probability
public double probability(double[] x)
componentProbabilities
public double[] componentProbabilities(double[] x)
write
public void write(java.lang.String gmmFile)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(MaryRandomAccessFile stream)
throws java.io.IOException
- Throws:
java.io.IOException
read
public void read(java.lang.String gmmFile)
throws java.io.IOException
- Throws:
java.io.IOException
read
public void read(MaryRandomAccessFile stream)
throws java.io.IOException
- Throws:
java.io.IOException