org.encog.examples.neural.persist
Class Serial
java.lang.Object
org.encog.examples.neural.persist.Serial
public class Serial
- extends Object
This example shows how to use Java serialization to store a neural network.
This file is not cross platform and cannot be shared with Encog C#. Additionally
future versions of Encog may not be compatable with this file.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILENAME
public static final String FILENAME
- See Also:
- Constant Field Values
XOR_INPUT
public static double[][] XOR_INPUT
XOR_IDEAL
public static double[][] XOR_IDEAL
Serial
public Serial()
trainAndSave
public void trainAndSave()
throws IOException
- Throws:
IOException
loadAndEvaluate
public void loadAndEvaluate()
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
main
public static void main(String[] args)
Copyright © 2011. All Rights Reserved.