I want to then do, I need to find the square root b squared plus h squared, right?
我接下来要求b的平方和h的平方,的和的平方根对不对?
To get the best fitting line, you find the line that minimizes the sum of squared distances.
要找到最切合的直线,就是要使,这些距离的平方和最小
But since sine square plus cosine square is 1, you'll find this vector has a fixed length R.
但是由于正弦和余弦的平方和为1,你会发现这个矢量模长恒等于 R
And keep going, until the square of one of those integers is greater than or equal to - sorry, just greater than x. OK, why am I doing that? When I get greater than x, I've gone past the place where I want to be.
如果还是比x小的话,跳到3,这么继续下去,直到一个整数的平方大于或者等于,对不起,是大于x,好,为什么我要这么做呢?,让我得到的整数的平方和。
He chose the line so that--this is Gauss-- he chose the line to minimize the sum of squared distances of the points from the lines.
高斯选的这条线,所有点距离这条直线的平方和,是所有直线中最小的
应用推荐