Machine learning specialization week3

i have issues in implementing the function computegradient descent

@amr_mohamed2, I am moving your thread to course 1 week 3 and I suppose you are asking about the week’s assignmnet and in particular exercise 3 “compute_gradient”, correct?

  • Please describe what issues they are
  • Please share a screenshot or a text-copy of the error messages if there are any
  • Please DO NOT share your assignment code here


the problem that i can’t understand why i need for loops i could solve it using vectorization

Then feel free to just solve it with vectorization. =D