DEV Community

Discussion on: Build a flexible Neural Network with Backpropagation in Python

Collapse
 
bartekspitza profile image
bartekspitza

Nice guide. I have one question:

Shouldn't the input to the NN be a vector? Right now the NN is receiving the whole training matrix as its input. The network has two input neurons so I can't see why we wouldn't pass it some vector of the training data.

Tried googling this but couldnt find anything useful so would really appreciate your response!

Collapse
 
ayeo profile image
ayeo • Edited

I am not a python expert but it is probably usage of famous vectorized operations ;)