转自:https://www.cnblogs.com/pinard/p/6370127.html
Pinard注:上面最后一句话应该是"而gθ(x)gθ(x)则利用yˆ(x)−θhθ(x)y^(x)−θhθ(x)来计算"