org.neuroph.samples
Class XorMultiLayerPerceptronSample
java.lang.Object
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
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 |
XorMultiLayerPerceptronSample
public XorMultiLayerPerceptronSample()
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 networktrainingSet
- training set