y = ax + b
정규방정식(normal equation)
a ∑ x 2 + b ∑ x = ∑ x y {\displaystyle a\sum x^{2}+b\sum x=\sum xy}
a ∑ x + b n = ∑ y {\displaystyle a\sum x+bn=\sum y}