Method | 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. |
public ActivationNetwork ( IActivationFunction function, int inputsCount ) : System | ||
function | IActivationFunction | Activation function of neurons of the network. |
inputsCount | int | Network's inputs count. |
return | System |
public SetActivationFunction ( IActivationFunction function ) : void | ||
function | IActivationFunction | Activation function to set. |
return | void |