View Single Post
Old 07-25-2012, 02:59 PM
lorddoskias lorddoskias is offline
Junior Member
Join Date: Jul 2012
Posts: 9
Default Normal equation in linear regression

From coursera's ML course I've known that the normal equation is calculated as follows:

pinv((X'*X))*X'*Y; (octave code) but apparently this is equivalent to just pinv(X)*Y;

Can anyone explain why this is the case?
Reply With Quote