[mlpack-svn] [MLPACK] #158: linear_regression is wrapping save() and load()...?

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Wed Nov 2 21:11:21 EDT 2011


#158: linear_regression is wrapping save() and load()...?
---------------------+------------------------------------------------------
 Reporter:  rcurtin  |        Owner:  jcline3                           
     Type:  defect   |       Status:  new                               
 Priority:  trivial  |    Milestone:  MLPACK 1.0                        
Component:  MLPACK   |     Keywords:  mlpack linear regression save load
 Blocking:           |   Blocked By:                                    
---------------------+------------------------------------------------------
 I found this:

 {{{

 bool LinearRegression::load(const std::string& filename)
 {
   return data::Load(filename, parameters);
 }

 bool LinearRegression::save(const std::string& filename)
 {
   return data::Save(filename, parameters);
 }
 }}}

 I was curious what the reason for this was.  Not hatin', just wonderin'...
 but I do think that it's odd to basically just wrap data::Load() and
 data::Save().

-- 
Ticket URL: <https://trac.research.cc.gatech.edu/fastlab/ticket/158>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed by the FASTLAB at Georgia Tech under Dr. Alex Gray.


More information about the mlpack-svn mailing list