org.joone.samples.engine.validation
Class SimpleValidationSample
- java.lang.Object
-
- org.joone.samples.engine.validation.SimpleValidationSample
-
- All Implemented Interfaces:
- java.util.EventListener, NeuralNetListener, NeuralValidationListener
public class SimpleValidationSample extends java.lang.Object implements NeuralNetListener, NeuralValidationListener
This example shows how to check the training level of the net using a validation data source. In this example we will learn to use the following objects: - org.joone.util.LearningSwitch - org.joone.net.NeuralNetValidator - org.joone.util.NormalizerPlugIn This program shows how to build the same kind of neural net as that contained into the org/joone/samples/editor/scripting/ValidationSample.ser file using only java code and the core engine's API. Open that net in the GUI editor to see the architecture of the net built in this example.
-
-
Constructor Summary
Constructors Constructor and Description SimpleValidationSample()Creates a new instance of SampleScript
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcicleTerminated(NeuralNetEvent e)voiderrorChanged(NeuralNetEvent e)static voidmain(java.lang.String[] args)voidnetStarted(NeuralNetEvent e)voidnetStopped(NeuralNetEvent e)voidnetStoppedError(NeuralNetEvent e, java.lang.String error)voidnetValidated(NeuralValidationEvent event)
-
-
-
Constructor Detail
-
SimpleValidationSample
public SimpleValidationSample()
Creates a new instance of SampleScript
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
- Parameters:
args- the command line arguments
-
netValidated
public void netValidated(NeuralValidationEvent event)
- Specified by:
netValidatedin interfaceNeuralValidationListener
-
cicleTerminated
public void cicleTerminated(NeuralNetEvent e)
- Specified by:
cicleTerminatedin interfaceNeuralNetListener
-
errorChanged
public void errorChanged(NeuralNetEvent e)
- Specified by:
errorChangedin interfaceNeuralNetListener
-
netStarted
public void netStarted(NeuralNetEvent e)
- Specified by:
netStartedin interfaceNeuralNetListener
-
netStopped
public void netStopped(NeuralNetEvent e)
- Specified by:
netStoppedin interfaceNeuralNetListener
-
netStoppedError
public void netStoppedError(NeuralNetEvent e, java.lang.String error)
- Specified by:
netStoppedErrorin interfaceNeuralNetListener
-
-
DataMelt 3.0 © DataMelt by jWork.ORG