Documentation For Encog 2.x

INeighborhoodFunction.Function Method

Determine how much the current neuron should be affected by training based on its proximity to the winning neuron.

double Function(
   int currentNeuron,
   int bestNeuron
);

Parameters

currentNeuron
THe current neuron being evaluated.
bestNeuron
The winning neuron.

Return Value

The ratio for this neuron's adjustment.

See Also

INeighborhoodFunction Interface | Encog.Neural.Networks.Training.Competitive.Neighborhood Namespace