PHP 8.1.0 Beta 1 available for testing

fann_set_scaling_params

(PECL fann >= 1.0.0)

fann_set_scaling_paramsCalculate input and output scaling parameters for future use based on training data

説明

fann_set_scaling_params(
    resource $ann,
    resource $train_data,
    float $new_input_min,
    float $new_input_max,
    float $new_output_min,
    float $new_output_max
): bool

Calculate input and output scaling parameters for future use based on training data.

パラメータ

ann

ニューラルネットワークリソース。

train_data

ニューラルネットワークトレーニングリソース。

new_input_min

The desired lower bound in input data after scaling (not strictly followed)

new_input_max

The desired upper bound in input data after scaling (not strictly followed)

new_output_min

The desired lower bound in output data after scaling (not strictly followed)

new_output_max

The desired upper bound in output data after scaling (not strictly followed)

返り値

成功した場合に true、それ以外の場合に false を返します。

参考

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top