C# Class Encog.Neural.SOM.Training.Neighborhood.NeighborhoodSingle

A very simple neighborhood function that will return 1.0 (full effect) for the winning neuron, and 0.0 (no change) for everything else.
Inheritance: INeighborhoodFunction
Show file Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
Function ( int currentNeuron, int bestNeuron ) : double

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

Method Details

Function() public method

Determine how much the current neuron should be affected by training based on its proximity to the winning neuron.
public Function ( int currentNeuron, int bestNeuron ) : double
currentNeuron int THe current neuron being evaluated.
bestNeuron int The winning neuron.
return double