Rohan #3: Deriving the Normal Equation using matrix calculus

Rohan Kapur

1307

you have messed up the basic transpose property (AB)’ = B’A’ where ‘ means transpose. so first term would be Theta’ X’ X Theta and second term would be Theta’ X’ Y. This has caused your dimensions to mess up and I wasted 15 mins figuring out what went wrong :-|