fann_set_activation_function_output

Sets the activation function for the output layer

Description

bool fann_set_activation_function_output(resource $ann, int $activation_function)

Sets the activation function for the output layer.

Parameters

ann

Neural network resource.

activation_function

The activation functions constant.

Return Values

Returns true on success, or false otherwise.

See Also

  • fann_set_activation_function
  • fann_set_activation_function_layer
  • fann_set_activation_function_hidden
  • fann_set_activation_steepness