[mlpack-svn] [MLPACK] #298: Enhancement of linear regression library
MLPACK Trac
trac at coffeetalk-1.cc.gatech.edu
Wed Aug 14 04:42:44 EDT 2013
#298: Enhancement of linear regression library
--------------------------------+-------------------------------------------
Reporter: sumedhghaisas | Owner: rcurtin
Type: enhancement | Status: accepted
Priority: major | Milestone: mlpack 1.0.7
Component: mlpack | Resolution:
Keywords: linear_regression | Blocking:
Blocked By: |
--------------------------------+-------------------------------------------
Comment (by sumedhghaisas):
I calculated the cost of the model on the test case of linear regression
and it turns ought to be
cost is 9.07497e-05
So i thought of adding lines
double cost = lr.ComputeCost(points,responses);
BOOST_REQUIRE_SMALL(cost,0.01);
is it correct?? that way we can test the cost function... but how to test
the lambda input and output???
--
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/298#comment:5>
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