I found a mistake in comments provided in assignment Planar Data classification with one hidden layer

In nn_model() function there is a guiding comment given below:

# Cost function. Inputs: “A2, Y, parameters”. Outputs: “cost”.

Here it says compute_cost() function takes 3 inputs A2, Y, parameters but compute_cost only takes 2 arguments A2 and Y

Hey @hardikdhuri thank you for taking the time out to give us feedback. However, are you sure you are looking at the latest assignment version ? Because this is what I have:

1 Like

Ohh I might be looking at the old one :sweat_smile: Sorry!!!

1 Like

no worries. But I really appreciate you giving us feedback.
Please let me know if you come across more. Thank you.

1 Like