Re: Linear Regression

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Linear Regression

Klaus Spanderen-2
Hi

> Date: Tue, 23 Nov 2010 08:16:23 +0800

> I suspect there could be a self-contradiction in LinearRegression's
> code.
> .....

> I would suggest to change line 181 to something like, without
> validation of x
>     : reg_(x, y, details::linearFcts(x[0].size())) { }
>

Sorry for the late reply and thank you for the hint! This is a bug. I'm going
to correct it in the SVN head and add a test case.

best regards
 Klaus

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users