Package org.encog.neural.networks.training.propagation

Examples of org.encog.neural.networks.training.propagation.TrainingContinuation


    rprop1.iteration();
   
    rprop2.iteration();
    rprop2.iteration();
   
    TrainingContinuation cont = rprop2.pause();
   
    ResilientPropagation rprop3 = new ResilientPropagation(net2,trainingSet);
    rprop3.resume(cont);
   
    rprop1.iteration();
View Full Code Here


    rprop1.iteration();
   
    rprop2.iteration();
    rprop2.iteration();
   
    TrainingContinuation cont = rprop2.pause();
   
    EncogDirectoryPersistence.saveObject(EG_FILENAME, cont);
    TrainingContinuation cont2 = (TrainingContinuation)EncogDirectoryPersistence.loadObject(EG_FILENAME);
   
    ResilientPropagation rprop3 = new ResilientPropagation(net2,trainingSet);
    rprop3.resume(cont2);
   
    rprop1.iteration();
View Full Code Here

   *
   * @return A training continuation object to continue with.
   */
  @Override
  public TrainingContinuation pause() {
    final TrainingContinuation result = new TrainingContinuation();
    result.setTrainingType(this.getClass().getSimpleName());
    result.set(Backpropagation.LAST_DELTA, this.lastDelta);
    return result;
  }
View Full Code Here

   
    // train network 2, continue
    ResilientPropagation rprop2 = new ResilientPropagation(network2,trainingData);
    rprop2.iteration();
    rprop2.iteration();
    TrainingContinuation state = rprop2.pause();
    rprop2 = new ResilientPropagation(network2,trainingData);
    rprop2.resume(state);
    rprop2.iteration();
    rprop2.iteration();
   
View Full Code Here

   
    // train network 2, continue
    Backpropagation rprop2 = new Backpropagation(network2,trainingData,0.4,0.4);
    rprop2.iteration();
    rprop2.iteration();
    TrainingContinuation state = rprop2.pause();
    rprop2 = new Backpropagation(network2,trainingData,0.4,0.4);
    rprop2.resume(state);
    rprop2.iteration();
    rprop2.iteration();
   
View Full Code Here

   *
   * @return A training continuation object to continue with.
   */
  @Override
  public TrainingContinuation pause() {
    final TrainingContinuation result = new TrainingContinuation();

    result.setTrainingType(this.getClass().getSimpleName());

    result.set(ResilientPropagation.LAST_GRADIENTS,getLastGradient());
    result.set(ResilientPropagation.UPDATE_VALUES,getUpdateValues());

    return result;
  }
View Full Code Here

   *
   * @return A training continuation object to continue with.
   */
  @Override
  public TrainingContinuation pause() {
    final TrainingContinuation result = new TrainingContinuation();
    result.setTrainingType(this.getClass().getSimpleName());
    result.set(QuickPropagation.LAST_GRADIENTS, this.getLastGradient());
    return result;
  }
View Full Code Here

TOP

Related Classes of org.encog.neural.networks.training.propagation.TrainingContinuation

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.