Course 2 week 1 exercise 4 get theta with np.copy

Hi everyone
I’m not sure if I understand this right, but I don’t know if it is correct to geht theta_plus or theta_minus with np.copy(parameters_values) or do I have to specify this more.

My code always produceses an error so I assume that this might be the mistake



        # theta_plus =                                        # Step 1
        # theta_plus[i] =                                     # Step 2
        # J_plus[i], _ =                                      # Step 3

You can just follow the recipe :slight_smile:

ah yah thank you … i was just not sure if the 1. point was enough or if i have to add anything