C# Class Accord.Neuro.ActivationNetwork

Inheritance: Network
Afficher le fichier Open project: accord-net/framework Class Usage Examples

Méthodes publiques

Méthode Description
ActivationNetwork ( IActivationFunction function, int inputsCount ) : System

Initializes a new instance of the ActivationNetwork class.

The new network is randomized (see ActivationNeuron.Randomize method) after it is created.

SetActivationFunction ( IActivationFunction function ) : void

Set new activation function for all neurons of the network.

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

Method Details

ActivationNetwork() public méthode

Initializes a new instance of the ActivationNetwork class.
The new network is randomized (see ActivationNeuron.Randomize method) after it is created.
public ActivationNetwork ( IActivationFunction function, int inputsCount ) : System
function IActivationFunction Activation function of neurons of the network.
inputsCount int Network's inputs count.
Résultat System

SetActivationFunction() public méthode

Set new activation function for all neurons of the network.

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

public SetActivationFunction ( IActivationFunction function ) : void
function IActivationFunction Activation function to set.
Résultat void