Week1-gradient-desenct possible error

When creating a post, please add:

  • Week # must be added in the tags option of the post.
  • Link to the classroom item you are referring to:
  • Description (include relevant info but please do not post solution code or your entire notebook):

Why is that the negative slope part it is -2 instead of 2? is it a mistake?

No, It is not an error ,but y is decreasing with increase in x and by the definition of slope the change is opposite so slope become negative.
Hope you find it useful.

1 Like

thanks was helpful!