略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: fann_set_input_scaling_params

2024-04-27

fann_set_input_scaling_params

(PECL fann >= 1.0.0)

fann_set_input_scaling_params根据训练数据计算将来使用的输入比例参数

说明

fann_set_input_scaling_params(
    resource $ann,
    resource $train_data,
    float $new_input_min,
    float $new_input_max
): bool

根据训练数据计算将来使用的输入比例参数。

参数

ann

神经网络 资源

train_data

神经网络训练数据 资源

new_input_min

缩放后输入数据的期望下限 (不严格遵循)

new_input_max

缩放后输入数据的期望上线 (不严格遵循)

返回值

成功时返回 true,其它情况下返回 false

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.fann-set-input-scaling-params.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3