The gradient of a line is calculated by dividing the difference in the \(y\)-coordinates by the difference in the \(x\)-coordinates. This may be referred to as the change in \(y\) divided by the ...
The gradient tells us how steep a line is, therefore the bigger the gradient the steeper the line is. A positive gradient is a straight line which slopes up to the right. A negative gradient is a ...
The Rosenbrock function, also referred to as the Valley or Banana function, is a popular test problem for gradient-based optimization algorithms. It is shown in the plot above in its two-dimensional ...