Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if temp_grad == Fr_g[0]:
- kou += 1
- print(Elem_list[kou])
- else:
- temp_grad = Fr_g[0]
- print(Elem_list[kou])
- test = gradientDescent(Elems.get(Elem_list[kou]), Fr_g[0], 0.00001, 0.0001)
- Elems[Elem_list[kou]] = test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement