Documentation of 'org.joone.net.NeuralNetValidator' Java class
NeuralNetValidator
org.joone.net

Class NeuralNetValidator

  • All Implemented Interfaces:
    java.lang.Runnable, java.util.EventListener, NeuralNetListener


    public class NeuralNetValidator
    extends java.lang.Object
    implements java.lang.Runnable, NeuralNetListener
    This class is useful to validate a neural network. It simply sets some parameters of the neural network passed as parameter and starts itself in a separated thread, notifying a listener when the validation step finishes.
    • Constructor Detail

      • NeuralNetValidator

        public NeuralNetValidator(NeuralNet nn)
    • Method Detail

      • fireNetValidated

        public void fireNetValidated()
      • useTrainingData

        public void useTrainingData(boolean anUse)
        By default the validator validates a neural network with validation data, however by calling this method before calling the start() method, one can decide if the network should be validated with validation data (the parameter anUse should be false) or by using the training data (the parameter anUse should be true).
        Parameters:
        anUse - true if we should use training data for validation, false if we should use the validation data for validation (default).
      • start

        public void start()
        Starts the validation into a separated thread
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • getNeuralNet

        public NeuralNet getNeuralNet()
        Gets the network to validate (or has been validated).
        Returns:
        the netork to validate (or the network that has been validated).

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.