C# Class Accord.Neuro.DistanceNetwork

Inheritance: Network
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode Description
DistanceNetwork ( int inputsCount, int neuronsCount ) : System

Initializes a new instance of the DistanceNetwork class.

The new network is randomized (see Neuron.Randomize method) after it is created.

GetWinner ( ) : int

Get winner neuron.

The method returns index of the neuron, which weights have the minimum distance from network's input.

Method Details

DistanceNetwork() public méthode

Initializes a new instance of the DistanceNetwork class.
The new network is randomized (see Neuron.Randomize method) after it is created.
public DistanceNetwork ( int inputsCount, int neuronsCount ) : System
inputsCount int Network's inputs count.
neuronsCount int Network's neurons count.
Résultat System

GetWinner() public méthode

Get winner neuron.
The method returns index of the neuron, which weights have the minimum distance from network's input.
public GetWinner ( ) : int
Résultat int