public class SetBasedGaussianMixture extends GaussianMixture
All scores and weights are maintained in LogMath log base.
id, logMath, mixtureWeights| Constructor and Description |
|---|
SetBasedGaussianMixture(GaussianWeights mixtureWeights,
MixtureComponentSet mixtureComponentSet,
int id) |
| Modifier and Type | Method and Description |
|---|---|
float[] |
calculateComponentScore(Data feature)
Calculates the scores for each component in the senone.
|
float |
calculateScore(Data feature)
Calculates the score for this senone based upon the given feature.
|
int |
dimension() |
MixtureComponent[] |
getMixtureComponents()
Returns the mixture components associated with this Gaussian
|
int |
numComponents() |
dump, equals, getComponentWeights, getID, getLogComponentWeight, getLogMixtureWeights, hashCode, toStringgetScorepublic SetBasedGaussianMixture(GaussianWeights mixtureWeights, MixtureComponentSet mixtureComponentSet, int id)
public float calculateScore(Data feature)
ScoreCachingSenonecalculateScore in class GaussianMixturefeature - the feature vector to score this senone againstpublic float[] calculateComponentScore(Data feature)
calculateComponentScore in interface SenonecalculateComponentScore in class GaussianMixturefeature - the feature to scorepublic MixtureComponent[] getMixtureComponents()
SenonegetMixtureComponents in interface SenonegetMixtureComponents in class GaussianMixturepublic int dimension()
dimension in class GaussianMixturepublic int numComponents()
numComponents in class GaussianMixtureGaussianMixture.