|
|
FANN_GET_ACTIVATION_FUNCTION(3) 1 FANN_GET_ACTIVATION_FUNCTION(3) fann_get_activation_function - Returns the activation function SYNOPSIS
int fann_get_activation_function (resource $ann, int $layer, int $neuron) DESCRIPTION
Get the activation function for neuron number neuron in layer number layer, counting the input layer as layer 0. It is not possible to get activation functions for the neurons in the input layer. The return value is one of the activation functions constants. PARAMETERS
o $ann -Neural network resource. o $layer - Layer number. o $neuron - Neuron number. RETURN VALUES
Learning functions constant or -1 if the neuron is not defined in the neural network, or FALSE on error. SEE ALSO
fann_set_activation_function_layer(3), fann_set_activation_function_hidden(3), fann_set_activation_function_output(3), fann_set_activa- tion_steepness(3), fann_set_activation_function(3). PHP Documentation Group FANN_GET_ACTIVATION_FUNCTION(3)