This class describes the options for maximizing various quadratic objective functions. More...
#include <sp-matrix.h>
Public Member Functions | |
SolverOptions (const std::string &name) | |
SolverOptions () | |
void | Check () const |
Public Attributes | |
BaseFloat | K |
BaseFloat | eps |
std::string | name |
bool | optimize_delta |
bool | diagonal_precondition |
bool | print_debug_output |
This class describes the options for maximizing various quadratic objective functions.
It's mostly as described in the SGMM paper "the subspace Gaussian mixture model – a structured model for speech recognition", but the diagonal_precondition option is newly added, to handle problems where different dimensions have very different scaling (we recommend to use the option but it's set false for back compatibility).
Definition at line 443 of file sp-matrix.h.
|
inlineexplicit |
Definition at line 450 of file sp-matrix.h.
|
inline |
Definition at line 454 of file sp-matrix.h.
References kaldi::SolveDoubleQuadraticMatrixProblem(), kaldi::SolveQuadraticMatrixProblem(), and kaldi::SolveQuadraticProblem().
void Check | ( | ) | const |
Definition at line 631 of file sp-matrix.cc.
References SolverOptions::eps, SolverOptions::K, and KALDI_ASSERT.
Referenced by kaldi::SolveQuadraticMatrixProblem(), and kaldi::SolveQuadraticProblem().
bool diagonal_precondition |
Definition at line 448 of file sp-matrix.h.
Referenced by kaldi::SolveQuadraticMatrixProblem(), kaldi::SolveQuadraticProblem(), kaldi::UnitTestSolve(), IvectorExtractorStats::UpdateProjection(), and IvectorExtractorStats::UpdateWeight().
BaseFloat eps |
Definition at line 445 of file sp-matrix.h.
Referenced by SolverOptions::Check(), MleAmSgmm2Updater::MapUpdateM(), kaldi::SolveQuadraticMatrixProblem(), kaldi::SolveQuadraticProblem(), EbwAmSgmm2Updater::UpdateM(), MleAmSgmm2Updater::UpdateM(), EbwAmSgmm2Updater::UpdateN(), MleAmSgmm2Updater::UpdateN(), EbwAmSgmm2Updater::UpdatePhoneVectorsInternal(), MleAmSgmm2Updater::UpdatePhoneVectorsInternal(), EbwAmSgmm2Updater::UpdateU(), MleAmSgmm2Updater::UpdateU(), EbwAmSgmm2Updater::UpdateW(), and MleAmSgmm2Updater::UpdateW().
Definition at line 444 of file sp-matrix.h.
Referenced by SolverOptions::Check(), MleAmSgmm2Updater::MapUpdateM(), kaldi::SolveQuadraticMatrixProblem(), kaldi::SolveQuadraticProblem(), EbwAmSgmm2Updater::UpdateM(), MleAmSgmm2Updater::UpdateM(), EbwAmSgmm2Updater::UpdateN(), MleAmSgmm2Updater::UpdateN(), EbwAmSgmm2Updater::UpdatePhoneVectorsInternal(), MleAmSgmm2Updater::UpdatePhoneVectorsInternal(), EbwAmSgmm2Updater::UpdateU(), MleAmSgmm2Updater::UpdateU(), EbwAmSgmm2Updater::UpdateW(), and MleAmSgmm2Updater::UpdateW().
std::string name |
Definition at line 446 of file sp-matrix.h.
Referenced by MleAmSgmm2Updater::MapUpdateM(), kaldi::SolveDoubleQuadraticMatrixProblem(), kaldi::SolveQuadraticMatrixProblem(), kaldi::SolveQuadraticProblem(), EbwAmSgmm2Updater::UpdateM(), MleAmSgmm2Updater::UpdateM(), EbwAmSgmm2Updater::UpdateN(), MleAmSgmm2Updater::UpdateN(), EbwAmSgmm2Updater::UpdatePhoneVectorsInternal(), MleAmSgmm2Updater::UpdatePhoneVectorsInternal(), IvectorExtractorStats::UpdateProjection(), EbwAmSgmm2Updater::UpdateU(), MleAmSgmm2Updater::UpdateU(), EbwAmSgmm2Updater::UpdateW(), MleAmSgmm2Updater::UpdateW(), and IvectorExtractorStats::UpdateWeight().
bool optimize_delta |
Definition at line 447 of file sp-matrix.h.
Referenced by kaldi::SolveQuadraticMatrixProblem(), kaldi::SolveQuadraticProblem(), and kaldi::UnitTestSolve().
bool print_debug_output |
Definition at line 449 of file sp-matrix.h.
Referenced by kaldi::SolveQuadraticMatrixProblem(), and kaldi::SolveQuadraticProblem().