C# 클래스 AForge.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
파일 보기 프로젝트 열기: holisticware-admin/MonoVersal.AForgeNET 1 사용 예제들

공개 메소드들

메소드 설명
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