Package org.encog.ml.train.strategy.end

Examples of org.encog.ml.train.strategy.end.EndTrainingStrategy


   * @return True if training can progress no further.
   */
  public boolean isTrainingDone() {
    for (Strategy strategy : this.strategies) {
      if (strategy instanceof EndTrainingStrategy) {
        EndTrainingStrategy end = (EndTrainingStrategy)strategy;
        if( end.shouldStop() ) {
          return true;
        }
      }
    }
   
View Full Code Here


   * @return True, if training should continue.
   */
  public final boolean shouldContinue() {
    for (final Strategy strategy : this.train.getStrategies()) {
      if (strategy instanceof EndTrainingStrategy) {
        final EndTrainingStrategy end = (EndTrainingStrategy) strategy;

        if (end.shouldStop()) {
          return false;
        }
      }
    }
    return true;
View Full Code Here

   * @return True if training can progress no further.
   */
  public boolean isTrainingDone() {
    for (Strategy strategy : this.strategies) {
      if (strategy instanceof EndTrainingStrategy) {
        EndTrainingStrategy end = (EndTrainingStrategy)strategy;
        if( end.shouldStop() ) {
          return true;
        }
      }
    }
   
View Full Code Here

   * @return True if training can progress no further.
   */
  public boolean isTrainingDone() {
    for (Strategy strategy : this.strategies) {
      if (strategy instanceof EndTrainingStrategy) {
        EndTrainingStrategy end = (EndTrainingStrategy)strategy;
        if( end.shouldStop() ) {
          return true;
        }
      }
    }
   
View Full Code Here

   * @return True, if training should continue.
   */
  public boolean shouldContinue() {
    for (final Strategy strategy : this.train.getStrategies()) {
      if (strategy instanceof EndTrainingStrategy) {
        final EndTrainingStrategy end = (EndTrainingStrategy) strategy;

        if (end.shouldStop()) {
          return false;
        }
      }
    }
    return true;
View Full Code Here

TOP

Related Classes of org.encog.ml.train.strategy.end.EndTrainingStrategy

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.