Q16Machine Learning
Question
4 marks
Discuss the concept of Gradient Descent with a suitable example.
Answer
Gradient Descent is an optimization algorithm used to minimize the cost function by iteratively updating model parameters.
It calculates the gradient of the cost function with respect to the parameters. The parameters are then adjusted in the opposite direction of the gradient by a factor of the learning rate. For example, in Linear Regression, it iteratively tweaks the slope and intercept to find the line of best fit that minimizes Mean Squared Error.