©
本文档使用
php.cn手册 发布
(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
)Scales 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.