C# Класс AForge.Neuro.DistanceNetwork

Distance network.
Distance network is a neural network of only one distance layer. The network is a base for such neural networks as SOM, Elastic net, etc.
Наследование: Network
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

DistanceNetwork() публичный Метод

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.
Результат System

GetWinner() публичный Метод

Get winner neuron.
The method returns index of the neuron, which weights have the minimum distance from network's input.
public GetWinner ( ) : int
Результат int