[mlpack-svn] [MLPACK] #177: Load(), Save(), and Validate() for each class
MLPACK Trac
trac at coffeetalk-1.cc.gatech.edu
Thu Aug 7 08:39:52 EDT 2014
#177: Load(), Save(), and Validate() for each class
------------------------------------------------------------+---------------
Reporter: rcurtin | Owner: birm
Type: enhancement | Status: accepted
Priority: major | Milestone: mlpack 1.1.0
Component: mlpack | Resolution:
Keywords: load save validate saverestoremodel class api | Blocking:
Blocked By: 178, 271 |
------------------------------------------------------------+---------------
Comment (by michaelfox99):
I added Save(SaveRestoreUtility& sr) and Load(SaveRestoreUtility& sr) for
DiscreteDistribution, GaussianDistribution, GMM, and HMM. Hierarchical
support was also added, which depends on these functions. I did not add
Validate() to any of these. I'll eventually do more.
I also added a Type() function to each mentioned method that just outputs
a string with the name of the class. This is useful for a parent in a
hierarchical model to be able to indicate the types of it's children. We
may want to consider alternatives since otherwise we need to implement
Type() broadly. I'm not sure how else to allow Parents to print out
children's types generically.
--
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/177#comment:7>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed at Georgia Tech.
More information about the mlpack-svn
mailing list