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

Inheritance: INeighborhoodFunction
Show file Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

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

Calculate the value for the multi RBF function.

NeighborhoodRBF ( RBFEnum type, int x, int y ) : Encog.MathUtil.RBF

Construct a 2d neighborhood function based on the sizes for the x and y dimensions.

NeighborhoodRBF ( int size, RBFEnum type ) : Encog.MathUtil.RBF

Construct a multi-dimensional neighborhood function.

Private Methods

Method Description
CalculateDisplacement ( ) : void

Calculate all of the displacement values.

TranslateCoordinates ( int index ) : int[]

Translate the specified index into a set of multi-dimensional coordinates that represent the same index. This is how the multi-dimensional coordinates are translated into a one dimensional index for the input neurons.

Method Details

Function() public method

Calculate the value for the multi RBF function.
public Function ( int currentNeuron, int bestNeuron ) : double
currentNeuron int The current neuron.
bestNeuron int The best neuron.
return double

NeighborhoodRBF() public method

Construct a 2d neighborhood function based on the sizes for the x and y dimensions.
public NeighborhoodRBF ( RBFEnum type, int x, int y ) : Encog.MathUtil.RBF
type RBFEnum The RBF type to use.
x int The size of the x-dimension.
y int The size of the y-dimension.
return Encog.MathUtil.RBF

NeighborhoodRBF() public method

Construct a multi-dimensional neighborhood function.
public NeighborhoodRBF ( int size, RBFEnum type ) : Encog.MathUtil.RBF
size int The sizes of each dimension.
type RBFEnum The RBF type to use.
return Encog.MathUtil.RBF