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

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Wed Nov 2 22:45:28 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                              |   Resolution:            
  Keywords:  mlpack linear regression save load  |     Blocking:            
Blocked By:                                      |  
-------------------------------------------------+--------------------------

Comment (by jcline3):

 I did it based on the assumptions that 1) other methods would have a
 .save() and .load(), 2) that the way we save and load things may change in
 the future, which would prevent breaking user code, and 3) it saves the
 user from having to say:


 {{{
 LinearRegression ln(...);
 someVec = ln.getParameters();
 someVec.save(...);
 }}}

 in favor of:


 {{{
 LinearRegression ln(...);
 ln.save(...);
 }}}

 Changing it is, of course, a non-issue.

-- 
Ticket URL: <https://trac.research.cc.gatech.edu/fastlab/ticket/158#comment:1>
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