Here’s a good code-heavy tutorial that uses the  Gradient descent optimization algorithm. It also explores the idea of splitting data into 3 parts.

Additionally, we will divide our data set into three slices, Training, Testing, and validation. In our example, we have data in CSV format with columns “height weight age projects salary”. Assuming there is a correlation between projects and salary will try to predict the salary given projects completed. You download data using this link:

tt ads