org.encog.neural.som.training.basic.neighborhood
Interface NeighborhoodFunction
-
- All Known Implementing Classes:
- NeighborhoodBubble, NeighborhoodRBF, NeighborhoodRBF1D, NeighborhoodSingle
public interface NeighborhoodFunctionDefines how a neighborhood function should work in competitive training. This is most often used in the training process for a self-organizing map. This function determines to what degree the training should take place on a neuron, based on its proximity to the "winning" neuron.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doublefunction(int currentNeuron, int bestNeuron)Determine how much the current neuron should be affected by training based on its proximity to the winning neuron.doublegetRadius()voidsetRadius(double radius)Set the radius.
-
-
-
Method Detail
-
function
double function(int currentNeuron, int bestNeuron)Determine how much the current neuron should be affected by training based on its proximity to the winning neuron.- Parameters:
currentNeuron- THe current neuron being evaluated.bestNeuron- The winning neuron.- Returns:
- The ratio for this neuron's adjustment.
-
getRadius
double getRadius()
- Returns:
- The radius.
-
setRadius
void setRadius(double radius)
Set the radius.- Parameters:
radius- The new radius.
-
-
DMelt 3.0 © DataMelt by jWork.ORG