Click or drag to resize
Accord.NET (logo)

RestrictedBoltzmannMachineToActivationNetwork Method (IActivationFunction, Int32)

Creates a new ActivationNetwork from this instance.

Namespace:  Accord.Neuro.Networks
Assembly:  Accord.Neuro (in Accord.Neuro.dll) Version: 3.8.0
Syntax
public ActivationNetwork ToActivationNetwork(
	IActivationFunction function,
	int outputs
)
Request Example View Source

Parameters

function
Type: Accord.NeuroIActivationFunction
The activation function to use in the last layer.
outputs
Type: SystemInt32
The number of output neurons in the last layer.

Return Value

Type: ActivationNetwork
An ActivationNetwork containing this network.
See Also