fann_set_output_scaling_params

PECL fann >= 1.0.0
fann_set_output_scaling_params - Calculate output scaling parameters for future use based on training data
Manual

fann_set_output_scaling_params(
     resource$ann,
     resource$train_data,
     float$new_output_min,
     float$new_output_max
): bool

Calculate output scaling parameters for future use based on training data.

Parameters

ann

Neural network resource.

train_data

Neural network training data resource.

new_output_min

The desired lower bound in output data after scaling (not strictly followed)

new_output_max

The desired upper bound in output data after scaling (not strictly followed)

Return Values

Returns true on success, or false otherwise.

Related Functions

Function fann_set_output_scaling_params:

  • Manual

FANN (Fast Artificial Neural Network) Functions

Most used PHP functions