array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.fann-scale-train-data.php', 1 => 'fann_scale_train_data', 2 => 'Scales the inputs and outputs in the training data to the specified range', ), 'up' => array ( 0 => 'ref.fann.php', 1 => 'Функції Fann', ), 'prev' => array ( 0 => 'function.fann-scale-train.php', 1 => 'fann_scale_train', ), 'next' => array ( 0 => 'function.fann-set-activation-function.php', 1 => 'fann_set_activation_function', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/fann/functions/fann-scale-train-data.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

fann_scale_train_data

(PECL fann >= 1.0.0)

fann_scale_train_dataScales the inputs and outputs in the training data to the specified range

Опис

fann_scale_train_data(resource $train_data, float $new_min, float $new_max): bool

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

Параметри

train_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.

Значення, що повертаються

Повертає true у разі успіху або false у разі невдачі.

Прогляньте також