Package examples.dlife.nn.adder

Sample programs that illustrate the use of the neural network package (dlife.nn).

See:
          Description

Class Summary
EvaluateBinaryAdder Evaluate the performance of the network trained and serialized by the TrainBinaryAdder example.
TrainBinaryAdder Create, train and serialize (save) a neural network for adding two 2-bit unsigned binary numbers.
UseBinaryAdder Use the neural network created and trained by the TrainBinaryAdder example to add binary numbers entered by the user.
 

Package examples.dlife.nn.adder Description

Sample programs that illustrate the use of the neural network package (dlife.nn). The three classes in this package create, train, evaluate and use a standard back propagation neural network that adds two 2-bit unsigned binary numbers.

Start by running the TrainBinaryAdder program. It will create the network and train it to be able to add two 2-bit unsigned binary numbers. Next run the EvaluateBinaryAdder program. It will try the trained network on every possible pair of 2-bit unsigned binary numbers and report information about the network's performance. Finally, run the UseBinaryAdder program, which will allow you to enter two 2-bit unsigned binary numbers and it will use the trained network to add those numbers and report their sum.