Re: Recency weighted regression

Re: Recency weighted regression
* I meant "inner" product above NOT cross product.

Re: Recency weighted regression
Scrap what I wrote above about large datasets causing havoc for the weight matrix. I found Octave already knows about such problems and has support for sparse matrices... very useful :)

Re: Recency weighted regression
Thanks Magdon, I always manage to make things so much more complicated than they need to be. That equation you posted would have saved me hours  and it is so simple  why didn't I think of it? Instead I went the long way round, not a total loss though as has been a great learning curve for me :)
I tried your approach and compared to my workings (in one of my previous posts): and for all my tests I am getting the same . So this is great news as confirms my formula was correct too :D. Many thanks, I can't say enough how much your help is appreciated. 
All times are GMT 7. The time now is 08:01 PM. 
Powered by vBulletin® Version 3.8.3
Copyright ©2000  2020, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. AbuMostafa, Malik MagdonIsmail, and HsuanTien Lin, and participants in the Learning From Data MOOC by Yaser S. AbuMostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.