Searched refs:gmm_parameters (Results 1 – 2 of 2) sorted by relevance
44 double EvaluateGmm(const double* x, const GmmParameters& gmm_parameters) { in EvaluateGmm() argument45 if (gmm_parameters.dimension > kMaxDimension) { in EvaluateGmm()50 const double* mean_vec = gmm_parameters.mean; in EvaluateGmm()51 const double* covar_inv = gmm_parameters.covar_inverse; in EvaluateGmm()53 for (int n = 0; n < gmm_parameters.num_mixtures; n++) { in EvaluateGmm()54 RemoveMean(x, mean_vec, gmm_parameters.dimension, v); in EvaluateGmm()55 double q = ComputeExponent(v, covar_inv, gmm_parameters.dimension) + in EvaluateGmm()56 gmm_parameters.weight[n]; in EvaluateGmm()58 mean_vec += gmm_parameters.dimension; in EvaluateGmm()59 covar_inv += gmm_parameters.dimension * gmm_parameters.dimension; in EvaluateGmm()
42 double EvaluateGmm(const double* x, const GmmParameters& gmm_parameters);