Метод | Описание | |
---|---|---|
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.
|
public Compute ( double input ) : double | ||
input | double | An input vector. |
Результат | double |
public Generate ( double input ) : double | ||
input | double | An input vector. |
Результат | double |
public StochasticNeuron ( int inputs, IStochasticFunction function ) : System | ||
inputs | int | Number of inputs for the neuron. |
function | IStochasticFunction | Activation function for the neuron. |
Результат | System |