fann_scale_output_train_data

(PECL fann >= 1.0.0)

fann_scale_output_train_dataScales the outputs in the training data to the specified range

说明

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

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

参数

train_data

Neural network training data resource.

new_min

New minimum after scaling outputs in training data.

new_max

New maximum after scaling outputs in training data.

返回值

Returns TRUE on success, or FALSE otherwise.

参见