-
Notifications
You must be signed in to change notification settings - Fork 525
Open
Description
great code
https://github.com/chasinginfinity/ml-from-scratch/blob/master/02%20Linear%20Regression%20using%20Gradient%20Descent/Linear%20Regression%20using%20Gradient%20Descent.ipynb
and
https://www.youtube.com/watch?v=4PHI11lX11I&t=536s&ab_channel=AdarshMenon
only why you calculating differently intercept
D_c = (-2/n) * sum(Y - Y_pred) # Derivative wrt c
since in
it calculated as
if feature_is_constant == True:
derivative = 2 * np.dot(errors, feature)
in
https://github.com/wiqaaas/youtube/blob/master/Machine_Learning_from_Scratch/Ridge_Regression/Ridge_Regression_using_Gradient_Descent.ipynb
and video
https://www.youtube.com/watch?v=1j6DClKQjZY&ab_channel=wiqaaas
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels