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[] input
)
Request Example View Source

Parameters

input
Type: SystemDouble
An input vector.

Return Value

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