Skip to content

Opening book details…

Can I read Normal Equation vs Gradient Descent on EtoBox?

Normal Equation vs Gradient Descent by Toshinari Tong is a document available to read on EtoBox.

What is Normal Equation vs Gradient Descent about?

The normal equation method allows us to find the optimal theta values without iteration by explicitly taking the derivative of the cost function J with respect to theta and setting it equal to zero. This results in an equation that can be solved directly to find the value of w: w=(XTX)-1XTy, where X is the feature data, y is the labels, and w are the optimal theta values that minimize the cost function J. The normal equation provides an exact solution in one step but can be slow for large datasets, while gr

Author
Toshinari Tong
Language
EN