C# Class Accord.Neuro.Learning.PerceptronLearning

Perceptron learning algorithm.

This learning algorithm is used to train one layer neural network of Activation Neurons with the Threshold activation function.

See information about Perceptron and its learning algorithm.

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

Méthodes publiques

Méthode Description
PerceptronLearning ( ActivationNetwork network ) : System

Initializes a new instance of the PerceptronLearning class.

Run ( double input, double output ) : double

Runs learning iteration.

Runs one learning iteration and updates neuron's weights in the case if neuron's output is not equal to the desired output.

RunEpoch ( double input, double output ) : double

Runs learning epoch.

The method runs one learning epoch, by calling Run method for each vector provided in the input array.

Method Details

PerceptronLearning() public méthode

Initializes a new instance of the PerceptronLearning class.
Invalid nuaral network. It should have one layer only.
public PerceptronLearning ( ActivationNetwork network ) : System
network ActivationNetwork Network to teach.
Résultat System

Run() public méthode

Runs learning iteration.

Runs one learning iteration and updates neuron's weights in the case if neuron's output is not equal to the desired output.

public Run ( double input, double output ) : double
input double Input vector.
output double Desired output vector.
Résultat double

RunEpoch() public méthode

Runs learning epoch.

The method runs one learning epoch, by calling Run method for each vector provided in the input array.

public RunEpoch ( double input, double output ) : double
input double Array of input vectors.
output double Array of output vectors.
Résultat double