public class KohonenUpdateAction extends Object implements UpdateAction
updatemethod modifies the features
wof the "winning" neuron and its neighbours according to the following rule:
wnew = wold + α e(-d / σ) * (sample - wold)where
dis the number of links to traverse in order to reach the neuron from the winning neuron.
constructorare instances of thread-safe classes.
updatemethod will increment the internal counter used to compute the current values for
|Constructor and Description|
|Modifier and Type||Method and Description|
Retrieves the number of calls to the
Updates the network in response to the sample
public KohonenUpdateAction(DistanceMeasure distance, LearningFactorFunction learningFactor, NeighbourhoodSizeFunction neighbourhoodSize)
distance- Distance function.
learningFactor- Learning factor update function.
neighbourhoodSize- Neighbourhood size update function.
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.