C# Класс Accord.Neuro.Neuron

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
inputsCount int
output double
rand IRandomNumberGenerator
weights double[]

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

Метод Описание
Compute ( double input ) : double

Computes output value of neuron.

The actual neuron's output value is determined by inherited class. The output value is also stored in Output property.

Randomize ( ) : void

Randomize neuron.

Initialize neuron's weights with random values specified by the RandGenerator.

Защищенные методы

Метод Описание
Neuron ( int inputs ) : System

Initializes a new instance of the Neuron class.

The new neuron will be randomized (see Randomize method) after it is created.

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

Compute() публичный абстрактный Метод

Computes output value of neuron.
The actual neuron's output value is determined by inherited class. The output value is also stored in Output property.
public abstract Compute ( double input ) : double
input double Input vector.
Результат double

Neuron() защищенный Метод

Initializes a new instance of the Neuron class.
The new neuron will be randomized (see Randomize method) after it is created.
protected Neuron ( int inputs ) : System
inputs int Neuron's inputs count.
Результат System

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

Randomize neuron.
Initialize neuron's weights with random values specified by the RandGenerator.
public Randomize ( ) : void
Результат void

Описание свойств

inputsCount защищенное свойство

Neuron's inputs count.
protected int inputsCount
Результат int

output защищенное свойство

Neuron's output value.
protected double output
Результат double

rand защищенное свойство

Random number generator.
The generator is used for neuron's weights randomization.
protected IRandomNumberGenerator rand
Результат IRandomNumberGenerator

weights защищенное свойство

Neuron's weights.
protected double[] weights
Результат double[]