com.rapidminer.tools.math.som
Class RitterAdaptation

java.lang.Object
  extended by com.rapidminer.tools.math.som.RitterAdaptation
All Implemented Interfaces:
AdaptationFunction, java.io.Serializable

public class RitterAdaptation
extends java.lang.Object
implements AdaptationFunction

The RitterAdaptation provides an implementation of the AdaptationFunction interface for calculation the adaption of a node to an input stimulus.

Author:
Sebastian Land
See Also:
Serialized Form

Constructor Summary
RitterAdaptation()
           
 
Method Summary
 double[] adapt(double[] stimulus, double[] nodeValue, double distanceFromImpact, int time, int maxtime)
          This method returns the new value of a node, after it had adopted to a stimulus.
 double getAdaptationRadius(double[] stimulus, int time, int maxtime)
          This method returns the maximum adaption radius, given the input stimulus, the current trainingsphase (time) and the total number of trainingsphases (timemax).
 void setAdaptationRadiusEnd(double end)
           
 void setAdaptationRadiusStart(double start)
           
 void setLearnRateEnd(double end)
           
 void setLearnRateStart(double start)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RitterAdaptation

public RitterAdaptation()
Method Detail

adapt

public double[] adapt(double[] stimulus,
                      double[] nodeValue,
                      double distanceFromImpact,
                      int time,
                      int maxtime)
Description copied from interface: AdaptationFunction
This method returns the new value of a node, after it had adopted to a stimulus. The stimulus and the old node value are given. The distance from the impact of the stimulus may influence the strength of the adoption to the stimulus, as may the current trainingsphase (time) and the total number of trainingsphases (timemax)

Specified by:
adapt in interface AdaptationFunction

getAdaptationRadius

public double getAdaptationRadius(double[] stimulus,
                                  int time,
                                  int maxtime)
Description copied from interface: AdaptationFunction
This method returns the maximum adaption radius, given the input stimulus, the current trainingsphase (time) and the total number of trainingsphases (timemax). It may be used for finding all nodes effected by the stimulus.

Specified by:
getAdaptationRadius in interface AdaptationFunction

setAdaptationRadiusStart

public void setAdaptationRadiusStart(double start)

setAdaptationRadiusEnd

public void setAdaptationRadiusEnd(double end)

setLearnRateStart

public void setLearnRateStart(double start)

setLearnRateEnd

public void setLearnRateEnd(double end)


Copyright © 2001-2009 by Rapid-I