Method | Description | |
---|---|---|
Run ( double input ) : double |
Runs learning iteration. The method runs one learning iterations - finds winner neuron (the neuron which has weights with values closest to the specified input vector) and updates its weight (as well as weights of neighbor neurons) in the way to decrease difference with the specified input vector. |
|
RunEpoch ( double input ) : double |
Runs learning epoch. The method runs one learning epoch, by calling Run method for each vector provided in the input array. |
|
SOMLearning ( DistanceNetwork network ) : System |
Initializes a new instance of the SOMLearning class. This constructor supposes that a square network will be passed for training - it should be possible to get square root of network's neurons amount. |
|
SOMLearning ( DistanceNetwork network, int width, int height ) : System |
Initializes a new instance of the SOMLearning class. The constructor allows to pass network of arbitrary rectangular shape. The amount of neurons in the network should be equal to width * height. |
public RunEpoch ( double input ) : double | ||
input | double | Array of input vectors. |
return | double |
public SOMLearning ( DistanceNetwork network ) : System | ||
network | DistanceNetwork | Neural network to train. |
return | System |
public SOMLearning ( DistanceNetwork network, int width, int height ) : System | ||
network | DistanceNetwork | Neural network to train. |
width | int | Neural network's width. |
height | int | Neural network's height. |
return | System |