21 #ifndef KALDI_TRANSFORM_MLLT_H_ 22 #define KALDI_TRANSFORM_MLLT_H_ 56 void Read(std::istream &is,
bool binary,
bool add =
false);
58 void Write(std::ostream &os,
bool binary)
const;
77 static void Update(
double beta,
94 const std::vector<int32> &gselect,
109 std::vector<SpMatrix<double> >
G_;
114 #endif // KALDI_TRANSFORM_MLLT_H_
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
MlltAccs(int32 dim, BaseFloat rand_prune=0.25)
Need rand_prune >= 0.
BaseFloat AccumulateFromGmmPreselect(const DiagGmm &gmm, const std::vector< int32 > &gselect, const VectorBase< BaseFloat > &data, BaseFloat weight)
Base class which provides matrix operations not involving resizing or allocation. ...
void Read(std::istream &is, bool binary, bool add=false)
void AccumulateFromPosteriors(const DiagGmm &gmm, const VectorBase< BaseFloat > &data, const VectorBase< BaseFloat > &posteriors)
void Update(MatrixBase< BaseFloat > *M, BaseFloat *objf_impr_out, BaseFloat *count_out) const
The Update function does the ML update; it requires that M has the right size.
std::vector< SpMatrix< double > > G_
void Init(int32 dim, BaseFloat rand_prune=0.25)
initializes (destroys anything that was there before).
BaseFloat rand_prune_
rand_prune_ controls randomized pruning; the larger it is, the more pruning we do.
Definition for Gaussian Mixture Model with diagonal covariances.
BaseFloat AccumulateFromGmm(const DiagGmm &gmm, const VectorBase< BaseFloat > &data, BaseFloat weight)
Provides a vector abstraction class.
void Write(std::ostream &os, bool binary) const
A class for estimating Maximum Likelihood Linear Transform, also known as global Semi-tied Covariance...