Top Description Fields Constructors Methods
org.apache.commons.math3.ml.neuralnet.sofm

public Class KohonenTrainingTask

extends Object
implements Runnable
Class Inheritance
All Implemented Interfaces
java.lang.Runnable
Imports
java.util.Iterator, org.apache.commons.math3.ml.neuralnet.Network

Trainer for Kohonen's Self-Organizing Map.
Since
3.3

Field Summary

Modifier and TypeField and Description
private final Iterator<double[]>
featuresIterator

Training data.

private final Network
net

SOFM to be trained.

private final KohonenUpdateAction
updateAction

Update procedure.

Constructor Summary

AccessConstructor and Description
public
KohonenTrainingTask(Network
Network to be trained with the SOFM algorithm.
net
,
Iterator<double[]>
Training data iterator.
featuresIterator
,
KohonenUpdateAction
SOFM update procedure.
updateAction
)

Creates a (sequential) trainer for the given network.

Method Summary

Modifier and TypeMethod and Description
public void
run()

Implements java.lang.Runnable.run.

Runs this operation.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

featuresIteratorback to summary
private final Iterator<double[]> featuresIterator

Training data.

netback to summary
private final Network net

SOFM to be trained.

updateActionback to summary
private final KohonenUpdateAction updateAction

Update procedure.

Constructor Detail

KohonenTrainingTaskback to summary
public KohonenTrainingTask(Network net, Iterator<double[]> featuresIterator, KohonenUpdateAction updateAction)

Creates a (sequential) trainer for the given network.

Parameters
net:Network

Network to be trained with the SOFM algorithm.

featuresIterator:Iterator<double[]>

Training data iterator.

updateAction:KohonenUpdateAction

SOFM update procedure.

Method Detail

runback to summary
public void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.