Click or drag to resize
Accord.NET (logo)

StochasticNeuronGenerate Method (Double)

Samples the neuron output considering the stochastic activation function.

Namespace:  Accord.Neuro.Neurons
Assembly:  Accord.Neuro (in Accord.Neuro.dll) Version: 3.8.0
Syntax
public double Generate(
	double output
)
Request Example View Source

Parameters

output
Type: SystemDouble
The (previously computed) neuron output.

Return Value

Type: Double
A possible output for the neuron drawn from the neuron's stochastic function.
See Also