2-Layer ANN Training System

From GM-RKB
Jump to navigation Jump to search

A 2-Layer ANN Training System is a ANN Training System that implements a 2-Layer ANN Training Algorithm to solve a 2-Layer ANN Training Task.



References

2016

2015

Inputs Output
0 0 1 0
1 1 1 1
1 0 1 1
0 1 1 0
Consider trying to predict the output column given the three input columns. We could solve this problem by simply measuring statistics between the input values and the output values. If we did so, we would see that the leftmost input column is perfectly correlated with the output. Backpropagation, in its simplest form, measures statistics like this to make a model. Let's jump right in and use it to do this.

2 Layer Neural Network:

Python code: nn.py

Output After Training:

[ [0.00966449]

[0.00786506]

[ 0.99358898]

[ 0.99211957]]