(PECL fann >= 1.0.0)
fann_cascadetrain_on_file — 读取文件并在整个数据集上训练,使用 Cascade2 训练算法训练一段时间
$ann,$filename,$max_neurons,$neurons_between_reports,$desired_error和 fann_cascadetrain_on_data() 函数做一样的工作,但是该函数是直接从文件读取训练数据的。
ann神经网络 资源。
filename包含训练数据的文件。
max_neurons添加到神经网络的最大神经元数。
neurons_between_reports打印状态报告之间的神经元数量。0值表示没有报告打印。
desired_error期望的 fann_get_MSE() 值或者 fann_get_bit_fail() 值, 取决于 fann_set_train_stop_function() 函数选择的停止函数。