(PECL fann >= 1.0.0)
fann_scale_train_data — Scales the inputs and outputs in the training data to the specified range
$train_data
, float $new_min
, float $new_max
) : boolScales the inputs and outputs in the training data to the specified range.
train_data
Neural network training data resource.
new_min
New minimum after scaling inputs and outputs in training data.
new_max
New maximum after scaling inputs and outputs in training data.
Returns TRUE
on success, or FALSE
otherwise.