(PECL fann >= 1.0.0)
fann_set_scaling_params — Calculate input and output scaling parameters for future use based on training data
$ann
,$train_data
,$new_input_min
,$new_input_max
,$new_output_min
,$new_output_max
Calculate input and output scaling parameters for future use based on training data.
ann
ニューラルネットワークリソース。
train_data
ニューラルネットワークトレーニングリソース。
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)
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)
成功した場合に true
、それ以外の場合に false
を返します。