[mlpack] 295/324: GMM::Save() now adds type information to XML files
Barak A. Pearlmutter
barak+git at cs.nuim.ie
Sun Aug 17 08:22:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch svn-trunk
in repository mlpack.
commit 6434e3b1031a9a478409905c803961322c12f044
Author: michaelfox99 <michaelfox99 at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date: Thu Aug 7 03:39:40 2014 +0000
GMM::Save() now adds type information to XML files
git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16979 9d5b8971-822b-0410-80eb-d18c1038ef23
---
src/mlpack/methods/gmm/gmm_impl.hpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mlpack/methods/gmm/gmm_impl.hpp b/src/mlpack/methods/gmm/gmm_impl.hpp
index 4007849..0d58de7 100644
--- a/src/mlpack/methods/gmm/gmm_impl.hpp
+++ b/src/mlpack/methods/gmm/gmm_impl.hpp
@@ -137,6 +137,7 @@ void GMM<FittingType>::Save(const std::string& filename) const
template<typename FittingType>
void GMM<FittingType>::Save(util::SaveRestoreUtility& sr) const
{
+ sr.SaveParameter(Type(), "type");
sr.SaveParameter(gaussians, "gaussians");
sr.SaveParameter(dimensionality, "dimensionality");
sr.SaveParameter(weights, "weights");
--
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