Implementing and Testing a Feed Forward Neural Network

Aakash Pydi
Jun 9 · 1 min read

I implemented and tested a feed forward neural network using pytorch in this project. (Link to Github Repo of Source Code). I tested my implementation using, AND, OR, NOT and XOR networks.

The forward propagation neural network is implemented in neural_network.py. The functionality of the classes defined in logic_gates.py relies on this neural network. The class representations of the AND, OR, NOT, and XOR gates is given in logic_gates.py.

The implemented classes were tested in test.py. The output of executing test.py is given below.

Written on April 8, 2018

Aakash Pydi

Written by

Code. Debug. Repeat. Currently a Software Engineer on a DevOps+Data Engineering team at Cerner. Always promoting curiosity, camaraderie and compassion.