Documentation For Encog 2.x

NeighborhoodGaussian.Function Method

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

public 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.

Implements

INeighborhoodFunction.Function

See Also

NeighborhoodGaussian Class | Encog.Neural.Networks.Training.Competitive.Neighborhood Namespace