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.neural.som.training.clustercopy
Class SOMClusterCopyTraining

    java.lang.Object
      org.encog.ml.train.BasicTraining
          org.encog.neural.som.training.clustercopy.SOMClusterCopyTraining

All Implemented Interfaces:
  MLTrain

    public class SOMClusterCopyTraining

extends BasicTraining

SOM cluster copy is a very simple trainer for SOM's. Using this triner all of the training data is copied to the SOM weights. This can provide a functional SOM, or can be used as a starting point for training.

Constructor Summary
`SOMClusterCopyTraining(SOM network, MLDataSet training)` Construct the object.

Method Summary
`boolean` | `canContinue()`
`MLMethod` | `getMethod()` Get the current best machine learning method from the training.
`void` | `iteration()` Perform one iteration of training.
`TrainingContinuation` | `pause()` Pause the training to continue later.
`void` | `resume(TrainingContinuation state)` Resume training.

Methods inherited from class org.encog.ml.train.BasicTraining
`addStrategy, finishTraining, getError, getImplementationType, getIteration, getStrategies, getTraining, isTrainingDone, iteration, postIteration, preIteration, setError, setIteration, setTraining`

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

Constructor Detail

### SOMClusterCopyTraining

    public SOMClusterCopyTraining(SOM network,
                                  MLDataSet training)

  Construct the object.

  Parameters:
    `network` - The network to train.
    `training` - The training data.

Method Detail

### canContinue

    public final boolean canContinue()

  Returns:
    True if the training can be paused, and later continued.

### getMethod

    public final MLMethod getMethod()

  Get the current best machine learning method from the training.

  Returns:
    The best machine learningm method.

### iteration

    public final void iteration()

  Perform one iteration of training.

### pause

    public final TrainingContinuation pause()

  Pause the training to continue later.

  Returns:
    A training continuation object.

### resume

    public void resume(TrainingContinuation state)

  Resume training.

  Parameters:
    `state` - The training continuation object to use to continue.

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.