. c) Implement gradient descent algorithm to minimize the cost function. • Assign initial values of W=(wo, W1, W2) to ze
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
. c) Implement gradient descent algorithm to minimize the cost function. • Assign initial values of W=(wo, W1, W2) to ze
. c) Implement gradient descent algorithm to minimize the cost function. • Assign initial values of W=(wo, W1, W2) to zero or choose randomly • Learning rate: alpha=0.001, you can change it in different experiments • Number of iterations: 10000 or you can stop it when two sequential values are too close. • Calculate values of parameters using gradient descent formula. wy:= w;-a- C-º) (h(x) - y)^2 n i=1