[Machine Learning][Andrew ng's lesson] 标准表达式 Normal Equation
Normal Equation :According to Features Matrix X and the Result Matrix y and the H(x) turns out to be ∑i=0nXi∗θi(Xo=1)\sum_{i=0}^n Xi * θi (Xo = 1)From pinv(X’*X)*X’*y to get the Correct θ Matrix.
Theo
原创
2017-08-29 13:02:16 ·
247 阅读 ·
0 评论