Machine Learning, Gradient Descent, Linear Regression, Python, Optimization.
specified amount of distance on the line. From the dotted lines in the above picture, we can see that for every 2 blocks in the X axis, the line rises by 1 block in the Y axis. Hence, slope, M = ½ = 0.5 And it’s a positive value, which indicates that the line is increasing in the upward direction.