Exercise 8 - nn_model

Hello ,
I am getting error in my code.
Can you explian where i am going wrong?

<< code snipit removed >>

Thanks,
Sourav Sinha

Hi @sousinha74 , the error doesn’t seem to be in this piece of the code. So it’s either something with the initialization of the parameters, or you are using some global parameters when calling this function. Hope this helps.

I removed the piece of code as it is policy on the platform not to share solutions.

1 Like

@sjfischer Thank you.
Let me check on the previous codes

@sjfischer I have checked all the coeds and it traced backed to the n_x, n_h, n_y selection.
I had hardcoded the numbers. That was the problem. Thanks

@sousinha74 , great to hear you managed to resolve the issue!