[mlpack-svn] r16979 - mlpack/trunk/src/mlpack/methods/gmm
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Aug 6 23:39:41 EDT 2014
Author: michaelfox99
Date: Wed Aug 6 23:39:40 2014
New Revision: 16979
Log:
GMM::Save() now adds type information to XML files
Modified:
mlpack/trunk/src/mlpack/methods/gmm/gmm_impl.hpp
Modified: mlpack/trunk/src/mlpack/methods/gmm/gmm_impl.hpp
==============================================================================
--- mlpack/trunk/src/mlpack/methods/gmm/gmm_impl.hpp (original)
+++ mlpack/trunk/src/mlpack/methods/gmm/gmm_impl.hpp Wed Aug 6 23:39:40 2014
@@ -137,6 +137,7 @@
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");
More information about the mlpack-svn
mailing list