fann_scale_input_train_data

(PECL fann >= 1.0.0)

fann_scale_input_train_dataScales the inputs in the training data to the specified range

说明

bool fann_scale_input_train_data ( resource $train_data , float $new_min , float $new_max )

Scales the inputs in the training data to the specified range.

参数

train_data

Neural network training data resource.

new_min

New minimum after scaling inputs in training data.

new_max

New maximum after scaling inputs in training data.

返回值

Returns TRUE on success, or FALSE otherwise.

参见