src/core/network/NeuralNetwork.java
public void train(Sampler trainingSampler, boolean reset, boolean waitToComplete) throws NeuralNetworkException {
        checkNotStarted();
        waitToComplete();
        executeLock.lock();
        if (trainingSampler != null) this.trainingSampler = trainingSampler;
        if (this.trainingSampler == null) throw new NeuralNetworkException("Training sampler is not set.");
        this.reset = reset;
        nextState(ExecutionState.TRAIN);
        if (waitToComplete) waitToComplete();
    }
/**
     * Trains neural network with option to reset neural network and it's layers.<br>
     * Sets specific training input and output samples.<br>
     * Optionally waits neural network training procedure to complete.<br>
     *
     * @param trainingSampler training sampler containing training data.
     * @param reset if true resets neural network and it's layers.
     * @param waitToComplete if true waits for neural network execution complete otherwise returns function prior training completion.
     * @throws NeuralNetworkException throws exception if training procedure fails.
     */
Trains neural network with option to reset neural network and it's layers.
Sets specific training input and output samples.
Optionally waits neural network training procedure to complete.

@param trainingSampler training sampler containing training data.
@param reset if true resets neural network and it's layers.
@param waitToComplete if true waits for neural network execution complete otherwise returns function prior training completion.
@throws NeuralNetworkException throws exception if training procedure fails.
Trains neural network with option to reset neural network and it ' s layers . Sets specific training input and output samples . Optionally waits neural network training procedure to complete . @param trainingSampler training sampler containing training data . @param reset if true resets neural network and it ' s layers . @param waitToComplete if true waits for neural network execution complete otherwise returns function prior training completion . @throws NeuralNetworkException throws exception if training procedure fails .
public void train(Sampler trainingSampler, boolean reset, boolean waitToComplete) throws NeuralNetworkException {
        checkNotStarted();
        waitToComplete();
        executeLock.lock();
        if (trainingSampler != null) this.trainingSampler = trainingSampler;
        if (this.trainingSampler == null) throw new NeuralNetworkException("Training sampler is not set.");
        this.reset = reset;
        nextState(ExecutionState.TRAIN);
        if (waitToComplete) waitToComplete();
    }
public void train ( Sampler trainingSampler , boolean reset , boolean waitToComplete ) throws NeuralNetworkException { checkNotStarted ( ) ; waitToComplete ( ) ; executeLock . lock ( ) ; if ( trainingSampler != null ) this . trainingSampler = trainingSampler ; if ( this . trainingSampler == null ) throw new NeuralNetworkException ( "Training sampler is not set." ) ; this . reset = reset ; nextState ( ExecutionState . TRAIN ) ; if ( waitToComplete ) waitToComplete ( ) ; }
Trains neural network with option to reset neural network and it's layers.<br>
 Sets specific training input and output samples.<br>
 Optionally waits neural network training procedure to complete.<br>
Trains neural network with option to reset neural network and it ' s layers . <br > Sets specific training input and output samples . <br > Optionally waits neural network training procedure to complete . <br >