Normal Equation

normal equation


Normal Equation_第1张图片
GD&Normal Equation对比

With the normal equation, computing the inversion has complexity O(n3). So if we have a very large number of features, the normal equation will be slow. In practice, when n exceeds 10,000 it might be a good time to go from a normal solution to gradient Descent.

你可能感兴趣的:(Normal Equation)