Exercise 2 of week 3

Why the size of the input layer is 5 instead of 2 and why the size of the output layer is 2 instead of 1?

I have another question about exercise 4. Why does A2 have 3 columns instead of 400?

Hi @Kyle in both cases the dimensions you are seeing are the ones of the test cases used to validate the code of the layer_sizes function and of the forward_propagation function. The test cases have predetermined synthetic input data that are not related to the flower planar dataset. Hope this clarify your doubts