Examples of addStrategy()


Examples of org.encog.neural.networks.training.propagation.resilient.ResilientPropagation.addStrategy()

   
    // train the neural network
    final MLTrain train = new ResilientPropagation(network, trainingSet);
    // reset if improve is less than 1% over 5 cycles
    train.addStrategy(new RequiredImprovementStrategy(5));

    EncogUtility.trainToError(train, 0.01);
   
    EncogUtility.evaluate(network, trainingSet);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.