Fitting models with gradient descent
In the examples in this chapter, we analytically solved the values of the model's parameters that minimize the cost function with the following equation:
Recall that is the matrix of the values of the explanatory variables for each training example. The dot product of results in a square matrix with dimensions , where ...
Get scikit-learn : Machine Learning Simplified now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.