src/main/components/network/MoNeuralNetwork.java
// EFFECTS: starts training the data for the neural network
starts training the data for the neural network
starts training the data for the neural network
private void start() {
        this.setParsedValues();
        for (MoTrainingData moTrainingData: this.trainingData) {
            this.calculate(moTrainingData.getInput());
        }
        this.trainData();
        for (MoTrainingData moTrainingData: this.trainingData) {
            this.calculate(moTrainingData.getInput());
        }
    }
private void start ( ) { this . setParsedValues ( ) ; for ( MoTrainingData moTrainingData : this . trainingData ) { this . calculate ( moTrainingData . getInput ( ) ) ; } this . trainData ( ) ; for ( MoTrainingData moTrainingData : this . trainingData ) { this . calculate ( moTrainingData . getInput ( ) ) ; } }
EFFECTS: starts training the data for the neural network
EFFECTS : starts training the data for the neural network
//System.out.print("Outputs before training:\n"); // System.out.print("Outputs after training:\n"); //done