src/core/network/NeuralNetwork.java
public Sequence predict(Sequence inputs, boolean waitToComplete) throws NeuralNetworkException {
        checkNotStarted();
        waitToComplete();
        executeLock.lock();
        if (inputs == null) {
            executeLock.unlock();
            throw new NeuralNetworkException("No prediction inputs set");
        }
        predictInputs = inputs;
        nextState(ExecutionState.PREDICT);
        return waitToComplete ? getOutput() : null;
    }
/**
     * Predicts values based on given inputs.<br>
     * Optionally waits neural network prediction procedure to complete.<br>
     *
     * @param inputs test input set for prediction.
     * @param waitToComplete if true waits for neural network execution complete otherwise returns function prior prediction completion.
     * @return predicted values (neural network output).
     * @throws NeuralNetworkException throws exception if prediction fails.
     */
Predicts values based on given inputs.
Optionally waits neural network prediction procedure to complete.

@param inputs test input set for prediction.
@param waitToComplete if true waits for neural network execution complete otherwise returns function prior prediction completion.
@return predicted values (neural network output).
@throws NeuralNetworkException throws exception if prediction fails.
Predicts values based on given inputs . Optionally waits neural network prediction procedure to complete . @param inputs test input set for prediction . @param waitToComplete if true waits for neural network execution complete otherwise returns function prior prediction completion . @return predicted values ( neural network output ) . @throws NeuralNetworkException throws exception if prediction fails .
public Sequence predict(Sequence inputs, boolean waitToComplete) throws NeuralNetworkException {
        checkNotStarted();
        waitToComplete();
        executeLock.lock();
        if (inputs == null) {
            executeLock.unlock();
            throw new NeuralNetworkException("No prediction inputs set");
        }
        predictInputs = inputs;
        nextState(ExecutionState.PREDICT);
        return waitToComplete ? getOutput() : null;
    }
public Sequence predict ( Sequence inputs , boolean waitToComplete ) throws NeuralNetworkException { checkNotStarted ( ) ; waitToComplete ( ) ; executeLock . lock ( ) ; if ( inputs == null ) { executeLock . unlock ( ) ; throw new NeuralNetworkException ( "No prediction inputs set" ) ; } predictInputs = inputs ; nextState ( ExecutionState . PREDICT ) ; return waitToComplete ? getOutput ( ) : null ; }
Predicts values based on given inputs.<br>
 Optionally waits neural network prediction procedure to complete.<br>
Predicts values based on given inputs . <br > Optionally waits neural network prediction procedure to complete . <br >