org.neuroph.samples
Class XorMultiLayerPerceptronSample

java.lang.Object
  extended by org.neuroph.samples.XorMultiLayerPerceptronSample

public class XorMultiLayerPerceptronSample
extends java.lang.Object

This sample shows how to create, train, save and load simple Multi Layer Perceptron

Author:
Zoran Sevarac

Constructor Summary
XorMultiLayerPerceptronSample()
           
 
Method Summary
static void main(java.lang.String[] args)
          Runs this sample
static void testNeuralNetwork(NeuralNetwork neuralNet, TrainingSet trainingSet)
          Prints network output for the each element from the specified training set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XorMultiLayerPerceptronSample

public XorMultiLayerPerceptronSample()
Method Detail

main

public static void main(java.lang.String[] args)
Runs this sample


testNeuralNetwork

public static void testNeuralNetwork(NeuralNetwork neuralNet,
                                     TrainingSet trainingSet)
Prints network output for the each element from the specified training set.

Parameters:
neuralNet - neural network
trainingSet - training set