Skip to content
Advertisement

Forward Propagation for Neural Network

I am trying to create a forward-propagation function in Python 3.8.2. The inputs look like this:

JavaScript

I am not using biases (not sure if they are that important and it makes my code very complicated) but I am using weights. The weights are stored in a list, Layer1W, I’m not sure how long to make it, but I think, len(Test_Training_Input)+len(Test_Training_Output) should work.

So far, my function looks like this:

JavaScript

I think this is very wrong… Any suggestions?

Advertisement

Answer

This is a very rough explanation of a considerably complex topic, I highly recommend this e-book

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement