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