I am trying to create a GMM speaker model, using the MFCC features of an audio sample of a speaker. I have 18 dimensional MFCC features, for a particular speaker.
To create a GMM model in Java, I have this GaussianMixture.java class, that requires:
- double[] componentWeights
- Matrix[] means
- Matrix[] covariances
You can refer the class here GaussianMixture.java
What I cannot understand is how to provide means and covariances of the MFCC data I have extracted.
Do I have to calculate means
for each of the 18 dimensions ? If so, what would be the componentWeights
?
Please correct if I am being unclear somewhere. Thanks.