C# Класс 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.

Наследование: ISupervisedLearning
Показать файл Открыть проект Примеры использования класса

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

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

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

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

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

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

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

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

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