Class Runner


public class Runner
extends java.lang.Object

This class runs the neural network. It is set up to run within the executable jar file, Neurun.jar. You must have the JDK 1.3 or a more recent version, or an equivalent runtime installed on your system. The training file should be in the same directory as Neurun.jar, along with the Java Matrix mathematics package, Jama-1.0.1.jar. To run the application with the example training set in the file xorandor.txt, type:

java -jar Neurun.jar

The default display frequency is once every 10,000 training cycles. If you want to change the display frequency, type the full command:

java -jar Neurun.jar xorandor.txt 1500

To run it with your own training file, give the file name and display frequency:

java -jar Neurun.jar yourtrainingfile.txt 2000

The class uses the convention that files ending in .nn contain trained networks. When you are done with the training for a data set, the program saves the trained network in a file ending in .nn. For example, the trained network for xorandor.txt gets saved in xorandor.txt.nn. If you run the program with this trained file, you can enter inputs and see the results immediately. To do this, you would type, for example,

java -jar Neurun.jar yourtrainingfile.txt.nn

Constructor Summary
Method Summary
static void main(java.lang.String[] args)
          See above
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Runner()
Method Detail


public static void main(java.lang.String[] args)
See above