Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.ml.train.strategy.end
Class EndIterationsStrategy

    java.lang.Object
      org.encog.ml.train.strategy.end.EndIterationsStrategy

All Implemented Interfaces:
  EndTrainingStrategy, Strategy

    public class EndIterationsStrategy

extends Object
implements EndTrainingStrategy

Constructor Summary
`EndIterationsStrategy(int maxIterations)`

Method Summary
`void` | `init(MLTrain train)` Initialize this strategy.
`void` | `postIteration()` Called just after a training iteration.
`void` | `preIteration()` Called just before a training iteration.
`boolean` | `shouldStop()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### EndIterationsStrategy

    public EndIterationsStrategy(int maxIterations)

Method Detail

### shouldStop

    public boolean shouldStop()

  Specified by:
    `shouldStop` in interface `EndTrainingStrategy`
  Returns:
    True if training should stop.

### init

    public void init(MLTrain train)

  Initialize this strategy.

  Specified by:
    `init` in interface `Strategy`
  Parameters:
    `train` - The training algorithm.

### postIteration

    public void postIteration()

  Called just after a training iteration.

  Specified by:
    `postIteration` in interface `Strategy`

### preIteration

    public void preIteration()

  Called just before a training iteration.

  Specified by:
    `preIteration` in interface `Strategy`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011. All Rights Reserved.