fann_test_data
(PECL fann >= 1.0.0)
fann_test_data — 使用训练数据来测试并且计算出 MSE
说明
fann_test_data(resource
$ann
, resource $data
): float使用训练数据来测试并且计算出 MSE。
该函数将会更新 MSE 和 误差的值。
参数
-
ann
-
神经网络 资源。
-
data
-
神经网络训练数据 资源。
返回值
成功,则更新 MSE, 错误则返回 false
。
参见
- fann_train_on_data() - 在整个数据集上训练一段时间。
- fann_train_epoch() - 使用一组训练数据训练一个周期。
- fann_get_bit_fail() - 失败位的数量
- fann_get_MSE() - 从网络中读取均方误差。
- fann_set_training_algorithm() - 设置训练算法。

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/function.fann-test-data.php