Week 2 Ex 8: Shape mismatch


I get the following shape mismatch error when testing my model function. I examined A.shape and Y.shape in my propagate function and they both give me (1, 3). All previous tests have passed. Any idea what I’m doing wrong and how I can fix it?


Hi @kshaloh it looks like the problem arises in the np.dot on line 31, how are the shape of w and X ?