[mlpack] 04/35: Added missing function argument
Barak A. Pearlmutter
barak+git at pearlmutter.net
Thu Sep 15 23:29:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch master
in repository mlpack.
commit 477687781ab34cf7082c4703bdf188047cc6cf22
Author: Peter Lehner <peter.lehner at dlr.de>
Date: Wed May 4 15:59:59 2016 +0200
Added missing function argument
The probabilities variable is not passed to the fitter when running multiple trials.
---
src/mlpack/methods/gmm/gmm_impl.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mlpack/methods/gmm/gmm_impl.hpp b/src/mlpack/methods/gmm/gmm_impl.hpp
index 2322b72..d71e205 100644
--- a/src/mlpack/methods/gmm/gmm_impl.hpp
+++ b/src/mlpack/methods/gmm/gmm_impl.hpp
@@ -161,7 +161,7 @@ double GMM::Train(const arma::mat& observations,
weightsTrial = weightsOrig;
}
- fitter.Estimate(observations, distsTrial, weightsTrial, useExistingModel);
+ fitter.Estimate(observations, probabilities, distsTrial, weightsTrial, useExistingModel);
// Check to see if the log-likelihood of this one is better.
double newLikelihood = LogLikelihood(observations, distsTrial,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git
More information about the debian-science-commits
mailing list