21 #ifndef KALDI_GMM_DIAG_GMM_NORMAL_H_ 22 #define KALDI_GMM_DIAG_GMM_NORMAL_H_ 1 75 #endif // KALDI_GMM_DIAG_GMM_NORMAL_H_ This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
Definition for Gaussian Mixture Model with diagonal covariances in normal mode: where the parameters ...
MatrixIndexT NumCols() const
Returns number of columns (or zero for empty matrix).
void Resize(int32 nMix, int32 dim)
Resizes arrays to this dim. Does not initialize data.
void CopyFromDiagGmm(const DiagGmm &diaggmm)
Copies from given DiagGmm.
uint16 GmmFlagsType
Bitwise OR of the above flags.
KALDI_DISALLOW_COPY_AND_ASSIGN(DiagGmmNormal)
Matrix< double > vars_
diagonal variance
MatrixIndexT Dim() const
Returns the dimension of the vector.
Matrix< double > means_
Means.
Definition for Gaussian Mixture Model with diagonal covariances.
Vector< double > weights_
weights (not log).
DiagGmmNormal(const DiagGmm &gmm)
DiagGmmNormal()
Empty constructor.
void CopyToDiagGmm(DiagGmm *diaggmm, GmmFlagsType flags=kGmmAll) const
Copies to DiagGmm the requested parameters.