Package org.encog.neural.networks.training

Examples of org.encog.neural.networks.training.Train


            System.out.print(e + "Problem opening file");
        }
    }

    private int trainNeuralNetwork() {
        final Train train = new ResilientPropagation(network, trainingData);

        int epoch = 1;
        do {
            train.iteration();
            //System.out.println("Epoch #" + epoch + " Error: " + train.getError());
            epoch++;
            if (epoch > 500) {
                return 1;
            }
        } while (train.getError() > 0.01);
        return 0;
    }
View Full Code Here

TOP

Related Classes of org.encog.neural.networks.training.Train

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.