fann_set_activation_function

(PECL fann >= 1.0.0) Sets the activation function for supplied neuron and layer bool fann_set_activation_function ( resource $ann, int $activation_function, int $layer, int $neuron ) Set the activation function for neuron number neuron in layer number layer, counting the input layer as layer 0. It is not possible to set activation functions for the neurons in the input layer. When choosing an activation function it is

fann_set_activation_function_output

(PECL fann >= 1.0.0) Sets the activation function for the output layer 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. Returns:

fann_set_activation_function_layer

(PECL fann >= 1.0.0) Sets the activation function for all the neurons in the supplied layer. bool fann_set_activation_function_layer ( resource $ann, int $activation_function, int $layer ) Set the activation function for all the neurons in the layer number layer, counting the input layer as layer 0. It is not possible to set activation functions for the neurons in the input layer. Parameters:

fann_set_activation_function_hidden

(PECL fann >= 1.0.0) Sets the activation function for all of the hidden layers bool fann_set_activation_function_hidden ( resource $ann, int $activation_function ) Sets the activation function for all of the hidden layers. Parameters: ann Neural network resource. activation_function The activation functions constant.

fann_scale_train

(PECL fann >= 1.0.0) Scale input and output data based on previously calculated parameters bool fann_scale_train ( resource $ann, resource $train_data ) Scale input and output data based on previously calculated parameters. Parameters: ann Neural network resource. train_data Neural network training data resource. Retu

fann_scale_train_data

(PECL fann >= 1.0.0) Scales the inputs and outputs in the training data to the specified range bool fann_scale_train_data ( resource $train_data, float $new_min, float $new_max ) Scales the inputs and outputs in the training data to the specified range. Parameters: train_data Neural network training data resource. new_min New minimum a

fann_scale_output

(PECL fann >= 1.0.0) Scale data in output vector before feed it to ann based on previously calculated parameters bool fann_scale_output ( resource $ann, array $output_vector ) Scale data in output vector before feed it to ann based on previously calculated parameters. Parameters: ann Neural network resource. output_vector Output vector

fann_scale_output_train_data

(PECL fann >= 1.0.0) Scales the outputs in the training data to the specified range bool fann_scale_output_train_data ( resource $train_data, float $new_min, float $new_max ) Scales the outputs in the training data to the specified range. Parameters: train_data Neural network training data resource. new_min New minimum after scaling ou

fann_scale_input

(PECL fann >= 1.0.0) Scale data in input vector before feed it to ann based on previously calculated parameters bool fann_scale_input ( resource $ann, array $input_vector ) Scale data in input vector before feed it to ann based on previously calculated parameters. Parameters: ann Neural network resource. input_vector Input vector that

fann_scale_input_train_data

(PECL fann >= 1.0.0) Scales the inputs in the training data to the specified range bool fann_scale_input_train_data ( resource $train_data, float $new_min, float $new_max ) Scales the inputs in the training data to the specified range. Parameters: train_data Neural network training data resource. new_min New minimum after scaling input