20 #ifndef KALDI_SGMM2_ESTIMATE_AM_SGMM2_EBW_H_ 21 #define KALDI_SGMM2_ESTIMATE_AM_SGMM2_EBW_H_ 1 96 min_substate_weight = 1.0e-05;
104 std::string module =
"EbwAmSgmm2Options: ";
105 opts->
Register(
"tau-v", &tau_v, module+
106 "Smoothing constant for phone vector estimation.");
107 opts->
Register(
"lrate-v", &lrate_v, module+
108 "Learning rate constant for phone vector estimation.");
109 opts->
Register(
"tau-m", &tau_M, module+
110 "Smoothing constant for estimation of phonetic-subspace projections (M).");
111 opts->
Register(
"lrate-m", &lrate_M, module+
112 "Learning rate constant for phonetic-subspace projections.");
113 opts->
Register(
"tau-n", &tau_N, module+
114 "Smoothing constant for estimation of speaker-subspace projections (N).");
115 opts->
Register(
"lrate-n", &lrate_N, module+
116 "Learning rate constant for speaker-subspace projections.");
117 opts->
Register(
"tau-c", &tau_c, module+
118 "Smoothing constant for estimation of substate weights (c)");
119 opts->
Register(
"tau-w", &tau_w, module+
120 "Smoothing constant for estimation of phonetic-space weight projections (w)");
121 opts->
Register(
"lrate-w", &lrate_w, module+
122 "Learning rate constant for phonetic-space weight-projections (w)");
123 opts->
Register(
"tau-u", &tau_u, module+
124 "Smoothing constant for estimation of speaker-space weight projections (u)");
125 opts->
Register(
"lrate-u", &lrate_u, module+
126 "Learning rate constant for speaker-space weight-projections (u)");
127 opts->
Register(
"tau-sigma", &tau_Sigma, module+
128 "Smoothing constant for estimation of within-class covariances (Sigma)");
129 opts->
Register(
"lrate-sigma", &lrate_Sigma, module+
130 "Constant that controls speed of learning for variances (larger->slower)");
131 opts->
Register(
"cov-min-value", &cov_min_value, module+
132 "Minimum value that an eigenvalue of the updated covariance matrix can take, " 133 "relative to its old value (maximum is inverse of this.)");
134 opts->
Register(
"min-substate-weight", &min_substate_weight, module+
135 "Floor for weights of sub-states.");
136 opts->
Register(
"max-cond", &max_cond, module+
137 "Value used in handling singular matrices during update.");
138 opts->
Register(
"epsilon", &max_cond, module+
139 "Value used in handling singular matrices during update.");
162 friend class EbwUpdateWClass;
182 int32 thread_id)
const;
242 #endif // KALDI_SGMM2_ESTIMATE_AM_SGMM2_EBW_H_ This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
Class for definition of the subspace Gmm acoustic model.
This header implements a form of Extended Baum-Welch training for SGMMs.
BaseFloat tau_Sigma
Tau value for smoothing covariance-matrices Sigma.
BaseFloat max_cond
is allowed to change.
BaseFloat max_impr_u
Maximum improvement/frame allowed for u [0.25, carried over from ML update.].
BaseFloat tau_u
Tau value for smoothing update of speaker-subspace weight projectsions (u)
BaseFloat lrate_Sigma
Learning rate used in updating Sigma– default 0.5.
BaseFloat lrate_v
Learning rate used in updating v– default 0.5.
BaseFloat lrate_w
Learning rate used in updating w– default 1.0.
BaseFloat lrate_N
Learning rate used in updating N– default 0.5.
BaseFloat tau_v
Smoothing constant for updates of sub-state vectors v_{jm}.
BaseFloat lrate_u
Learning rate used in updating u– default 1.0.
#define KALDI_DISALLOW_COPY_AND_ASSIGN(type)
BaseFloat tau_M
Smoothing constant for the M quantities (phone-subspace projections)
virtual void Register(const std::string &name, bool *ptr, const std::string &doc)=0
BaseFloat lrate_M
Learning rate used in updating M– default 0.5.
uint16 SgmmUpdateFlagsType
Bitwise OR of the above flags.
BaseFloat tau_c
Tau value for smoothing substate weights (c)
BaseFloat tau_N
Smoothing constant for the N quantities (speaker-subspace projections)
EbwAmSgmm2Updater(const EbwAmSgmm2Options &options)
BaseFloat cov_min_value
E.g.
EbwAmSgmm2Options options_
BaseFloat tau_w
Tau value for smoothing update of phonetic-subspace weight projectsions (w)
Vector< double > gamma_j_
State occupancies.
EbwAmSgmm2Options()
for an issue in some implementations of SVD.
void Register(OptionsItf *opts)
BaseFloat epsilon
very small value used in SolveQuadraticProblem; workaround
BaseFloat min_substate_weight
Minimum allowed weight in a sub-state.
Class for the accumulators associated with the phonetic-subspace model parameters.