vu
Notes for Vanderbilt University
View the Project on GitHub
View On
GitHub
01-15
linear regression with gradient descent
steps:
initialize theta
repeat:
temp0 = theta_0 - alpha * d\d(theta_0)J(theta_0, theta_1)
temp1 = theta_1 - alpha * d\d(theta_1)J(theta_0, theta_1)
theta_0 = temp0
theta_1 = temp1
feature scaling