Ken-Soft

Software and the World

Neural Network - Back-Error Propagation - Java

Posted under Artificial Intelligence, General Development, Java, Neural Networks, Programming, Software Development by Kenny on Thursday 25 December 2008 at 9:33 pm
Bookmark and Share

This Neural Network is a command line implementation that uses the Back-Error Propagation learning algorithm. As well, The number of center layers, neurons per center layer, and learning rate are all changeable. The provided Test file teach Logial AND, however other test files can easily be created.

The Jar file can be downloaded here: NN.jar
Below is the Syntax for running NN.jar in a command line:
java -jar NN.jar [num center layers] [num center layer neurons] [learning rate]
An example includes:
java -jar NN.jar 2 10 1.5
Which specifies a neural network with 2 center layers, 10 neurons per center layer, and a learning rate of 1.5. If now parameters are supplied it runs with default parameter; which are 1 center layers, 1 neurons per center layer, and a learning rate of 0.5.
That should give a display similar to the image below.
neural network back error propagation java

Below are some links to A couple articles that give a good brief overview about neural networks, including some concepts about developing learning algorithms. Hope they are useful.
About Neural Networks (English)
About Neural Networks (Japanese/日本語)

NeuralNetwork.java

Layer.java

There are two test file for you to try out.

NeuralNetworkTest.java

NeuralNetworkTest2.java


2 Comments »

  1. Pingback by Ken-Soft » Neural Network - Load Train Data from XML - Java — December 25, 2008 @ 9:53 pm

    [...] This Neural Network is a command line implementation that uses the Back-Error Propagation learning algorithm. The main difference with this model is that all train data is loaded from an external XML file. The Train data specification can be found Here. [...]

  2. Pingback by Ken-Soft » Neural Network (Back-Error Propagation) C++ — December 20, 2009 @ 4:45 am

    [...] Neural Network - Back-Error Propagation - Java [...]

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Copyright © 2009 www.Ken-Soft.com