C# Class Accord.Neuro.Neuron

Afficher le fichier Open project: accord-net/framework

Protected Properties

Свойство Type Description
inputsCount int
output double
rand IRandomNumberGenerator
weights double[]

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

Compute() public abstract méthode

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.
Résultat double

Neuron() protected méthode

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.
Résultat System

Randomize() public méthode

Randomize neuron.
Initialize neuron's weights with random values specified by the RandGenerator.
public Randomize ( ) : void
Résultat void

Property Details

inputsCount protected_oe property

Neuron's inputs count.
protected int inputsCount
Résultat int

output protected_oe property

Neuron's output value.
protected double output
Résultat double

rand protected_oe property

Random number generator.
The generator is used for neuron's weights randomization.
protected IRandomNumberGenerator rand
Résultat IRandomNumberGenerator

weights protected_oe property

Neuron's weights.
protected double[] weights
Résultat double[]