20 #ifndef KALDI_SGMM2_AM_SGMM2_PROJECT_H_ 21 #define KALDI_SGMM2_AM_SGMM2_PROJECT_H_ 86 #endif // KALDI_SGMM2_AM_SGMM2_PROJECT_H_ This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
Class for definition of the subspace Gmm acoustic model.
Definition for Gaussian Mixture Model with full covariances.
void ComputeProjection(const AmSgmm2 &sgmm, const Matrix< BaseFloat > &inv_lda_mllt, int32 begin_dim, int32 end_dim, Matrix< BaseFloat > *projection)
void ApplyProjection(const Matrix< BaseFloat > &total_projection, AmSgmm2 *sgmm)
void ComputeLdaStats(const FullGmm &full_ubm, SpMatrix< double > *between_covar, SpMatrix< double > *within_covar)
void ProjectVariance(const Matrix< double > &total_projection, bool inverse, SpMatrix< double > *variance)
void ComputeLdaTransform(const SpMatrix< double > &B, const SpMatrix< double > &W, int32 dim_to_retain, Matrix< double > *Projection)