C1_W3_Logistic_Regression -Compute_gradient

I am getting this error when trying to test compute gradient in logistic regression assignment. Seems like n is not defined in the test cell, which is not editable by student

Hi @Samasoorya the error is the n that you are passing into the function. Can you check the above cell and make sure you run it

Tip:
Every time you open a notebook, you must run all of the cells starting from the top.
This is how the assets are imported and the workspace is created.