C# Класс Accord.Neuro.Neurons.StochasticNeuron

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

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

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