we already know n_x & n_y = 1. when we try initiating the parameters, W = np.random.randn(n_y,n_x); why is the order n_y,n_x? and not the other way around or simply (1,1) ? does it matter given we are using a random number generator?
You want your code to work with any set of data, so that’s why you don’t hard-code the dimensions.
The convention is to use n_y for the rows and n_x for the columns. It’s not a universal standard, so you’ll find both methods.
Ok. thank you, Tom