C# 클래스 Accord.Neuro.Neurons.StochasticNeuron

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

공개 메소드들

메소드 설명
Compute ( double input ) : double

Computes output value of neuron.

Generate ( double input ) : double

Samples the neuron output considering the stochastic activation function.

StochasticNeuron ( int inputs, IStochasticFunction function ) : System

Initializes a new instance of the StochasticNeuron class.

메소드 상세

Compute() 공개 메소드

Computes output value of neuron.
public Compute ( double input ) : double
input double An input vector.
리턴 double

Generate() 공개 메소드

Samples the neuron output considering the stochastic activation function.
public Generate ( double input ) : double
input double An input vector.
리턴 double

StochasticNeuron() 공개 메소드

Initializes a new instance of the StochasticNeuron class.
public StochasticNeuron ( int inputs, IStochasticFunction function ) : System
inputs int Number of inputs for the neuron.
function IStochasticFunction Activation function for the neuron.
리턴 System