(PECL fann >= 1.0.0)
fann_set_input_scaling_params — Calculate input scaling parameters for future use based on training data
$ann
, resource $train_data
, float $new_input_min
, float $new_input_max
) : boolCalculate input scaling parameters for future use based on training data.
annNeural network resource.
train_dataNeural network training data resource.
new_input_minThe desired lower bound in input data after scaling (not strictly followed)
new_input_maxThe desired upper bound in input data after scaling (not strictly followed)
Returns true on success, or false otherwise.