Click or drag to resize
Accord.NET (logo)

StochasticNeuron Constructor

Initializes a new instance of the StochasticNeuron class.

Namespace:  Accord.Neuro.Neurons
Assembly:  Accord.Neuro (in Accord.Neuro.dll) Version: 3.8.0
Syntax
public StochasticNeuron(
	int inputs,
	IStochasticFunction function
)
Request Example View Source

Parameters

inputs
Type: SystemInt32
Number of inputs for the neuron.
function
Type: Accord.Neuro.ActivationFunctionsIStochasticFunction
Activation function for the neuron.
See Also