Week 1 gradient decent

How to solve this issue

When you post a question, please give the details of what assignment (or notebook name) you are working on.

I assume this is from MLS Course 1,Week 1, “Optional lab: gradient descent”.

Are you working in the Coursera Labs environment, or have you tried to download the notebook and run it locally?

Yes it’s from c1w1 gredient decent i am running it locally all things working fine except last graph which shows plt. divergence

Please post a screen capture that shows how it works in the Coursera Labs environment.

  • If it works in Coursera Labs, then you have a problem with the versions of the tools you have installed locally.

  • If it doesn’t work in Coursera Labs, then you have a coding problem in the assignment.