src/core/network/NeuralNetwork.java
public void validate(Sampler validationSampler, boolean waitToComplete) throws NeuralNetworkException {
        checkNotStarted();
        waitToComplete();
        executeLock.lock();
        if (validationSampler != null) this.validationSampler = validationSampler;
        if (this.validationSampler == null) throw new NeuralNetworkException("Validation sampler is not set.");
        nextState(ExecutionState.VALIDATE);
        if (waitToComplete) waitToComplete();
    }
/**
     * Validates neural network.<br>
     * Sets specific input and output (actual true values) test samples.<br>
     * Optionally waits neural network validation procedure to complete.<br>
     *
     * @param validationSampler validation sampler containing validation data set.
     * @param waitToComplete if true waits for neural network execution complete otherwise returns function prior validation completion.
     * @throws NeuralNetworkException throws exception if validation fails.
     */
Validates neural network.
Sets specific input and output (actual true values) test samples.
Optionally waits neural network validation procedure to complete.

@param validationSampler validation sampler containing validation data set.
@param waitToComplete if true waits for neural network execution complete otherwise returns function prior validation completion.
@throws NeuralNetworkException throws exception if validation fails.
Validates neural network . Sets specific input and output ( actual true values ) test samples . Optionally waits neural network validation procedure to complete . @param validationSampler validation sampler containing validation data set . @param waitToComplete if true waits for neural network execution complete otherwise returns function prior validation completion . @throws NeuralNetworkException throws exception if validation fails .
public void validate(Sampler validationSampler, boolean waitToComplete) throws NeuralNetworkException {
        checkNotStarted();
        waitToComplete();
        executeLock.lock();
        if (validationSampler != null) this.validationSampler = validationSampler;
        if (this.validationSampler == null) throw new NeuralNetworkException("Validation sampler is not set.");
        nextState(ExecutionState.VALIDATE);
        if (waitToComplete) waitToComplete();
    }
public void validate ( Sampler validationSampler , boolean waitToComplete ) throws NeuralNetworkException { checkNotStarted ( ) ; waitToComplete ( ) ; executeLock . lock ( ) ; if ( validationSampler != null ) this . validationSampler = validationSampler ; if ( this . validationSampler == null ) throw new NeuralNetworkException ( "Validation sampler is not set." ) ; nextState ( ExecutionState . VALIDATE ) ; if ( waitToComplete ) waitToComplete ( ) ; }
Validates neural network.<br>
 Sets specific input and output (actual true values) test samples.<br>
 Optionally waits neural network validation procedure to complete.<br>
Validates neural network . <br > Sets specific input and output ( actual true values ) test samples . <br > Optionally waits neural network validation procedure to complete . <br >