Question: Part ( d - 1 ) The difficulty in finding a good step size for convergence in gradient descent can often be attributed to the
Part d
The difficulty in finding a good step size for convergence in gradient descent can often be attributed to the scale of the data. If the data is not standardized, variables with larger scales can dominate the gradient, making it hard for the algorithm to converge.
Recommended Step:
Scale
X and
y by the mean and standard deviation of each variable.
This step will standardize the variables, ensuring that each variable contributes equally to the gradient descent process.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
