theta=(Xt*X)^-1 Xt*y

x is feature matrix

y is expectation