Compute_gradient not getting expected output

{code removed by mentor}

Hello @Srilekha1

From here we can see that the numbers in dj_dw are repeated.

This is highly indicative that you were not treating dj_dw as an array. An array is a list of numbers and they should have different values in our cases. Please check your implementation.


(PS: We can’t share assignment code here so I have removed it for you. )

1 Like

it didnot solve error .
still facing the same issue

Reposted Comupute_gradient