Having some trouble determining the correct inputs/equation for Y_hat in this question, am reluctant to post code. Also, is ‘n_y’ really one of the correct inputs? In the event a mentor is available and willing to connect, please let me know.
If this is the nn_model
section, then note that we are building this network in a modular way. The top level “model” function calls the other subsidiary functions we wrote earlier, like forward_propagation
and compute_cost
.
The first step might be just to read through the instructions for that whole section starting at “3 - Neural Networks”.
Sorry, no, that comment is incorrect. I’ll file a bug about that. That comment is about how you call forward_propagation
. You just wrote the function above, so you know what arguments it takes, right?