Click or drag to resize
Accord.NET (logo)

ActivationNetworkSetActivationFunction Method

Set new activation function for all neurons of the network.

Namespace:  Accord.Neuro
Assembly:  Accord.Neuro (in Accord.Neuro.dll) Version: 3.8.0
Syntax
public void SetActivationFunction(
	IActivationFunction function
)
Request Example View Source

Parameters

function
Type: Accord.NeuroIActivationFunction
Activation function to set.
Remarks

The method sets new activation function for all neurons by calling SetActivationFunction(IActivationFunction) method for each layer of the network.

See Also