Click or drag to resize
Accord.NET (logo)

ActivationNetwork Constructor

Initializes a new instance of the ActivationNetwork class.

Namespace:  Accord.Neuro
Assembly:  Accord.Neuro (in Accord.Neuro.dll) Version: 3.8.0
Syntax
public ActivationNetwork(
	IActivationFunction function,
	int inputsCount,
	params int[] neuronsCount
)
Request Example View Source

Parameters

function
Type: Accord.NeuroIActivationFunction
Activation function of neurons of the network.
inputsCount
Type: SystemInt32
Network's inputs count.
neuronsCount
Type: SystemInt32
Array, which specifies the amount of neurons in each layer of the neural network.
Remarks
The new network is randomized (see Randomize method) after it is created.
See Also