i am getting the following error, How to get no of input features from X? How to get 1st element of shape as X – input dataset of shape (input size, number of examples)
(upload://qkkrtNbQ3kivZWEBRYisfIXKaQ4.png)
Hello Aman,
Its against honor of conduct here to post a solution, but obviously yours is not a solution.
What you need to is find the shape of X and Y matrices, if they are numpy arrays you can use the numpy.shape method (google it and read about it).