why i got this error in

‘’ Programming Assignment: Logistic Regression with a Neural Network Mindset’’ ?

i think maybe i misunderstand something basically

4.2 - Initializing parameters

why i got this error in

‘’ Programming Assignment: Logistic Regression with a Neural Network Mindset’’ ?

i think maybe i misunderstand something basically

4.2 - Initializing parameters

Please look in more detail at the instructions and you can also check the documentation for numpy zeros: google … wait for it … “numpy zeros”. What you’ll find is that it takes a single “tuple” as the argument specifying the dimensions you want. You’ve instead given a list of arguments.

Also note that b is a scalar, so you don’t need any numpy calls to initialize it.

1 Like