C# 클래스 Accord.Neuro.Neuron

파일 보기 프로젝트 열기: accord-net/framework

보호된 프로퍼티들

프로퍼티 타입 설명
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[]