Processing math: 100%

 

 

 

Training solution

Optimizing wrt to th eunknown paramters θj we get

XTy=XTXθ,

and if the matrix XTX is invertible we have the optimal values

ˆθ=(XTX)1XTy.