Optimization - Going Down the Hill with Gradient Descent

In this chapter, we will cover:

  • Optimizing a quadratic cost function and finding the minima using just math to gain insight
  • Coding a quadratic cost function optimization using Gradient Descent (GD) from scratch
  • Coding Gradient Descent optimization to solve Linear regression from scratch
  • Normal equations as an alternative to solve Linear regression in Spark 2.0

Get Apache Spark 2.x Machine Learning Cookbook 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.