Propogate C1 W2 Assignment


I have an issue with the Assignment for Week2 i…e Logistic Regression with a NN mindset and particularly my problem is with the propogate method, where I have filled in the correct formulae but I keep getting this error always:

The error is in calculating A. To use dot product, you have to use a comma (,) between two elements. For example,,B). Also, your cost formula is incorrect. Double-check the equation.

thanks, I rectified my error by rewriting my code i.e sigmoid(,X) + b) and as well as adding the np.log on the A function.

anyways I rectified the issue by removing the str() function from the above, I submitted my code and I passed it.