I believe there is an error in the test code for Exercise 2: layer_size. We are asked to define three variables n_x, n_h, and n_y, representing the size of input, hidden, and output layers, respectively. The expected output is n_x = 5, n_h = 4 (set for this exercise), and n_y = 2. But given the shapes of X (2, 400) and Y (1, 400), I believe the correct output should be n_x = 2, n_h = 4, and n_y = 1. Could you please clarify if I am mistaken or if there is an error in the test code? Thank you.
Never mind. I found the issue. (I have an issue deleting this post)
Hello @Torur_Skaalum, great job figuring it out yourself!
Cheers,
Raymond
1 Like