fann_train_on_data

(PECL fann >= 1.0.0)

fann_train_on_data���������ݼ���ѵ��һ��ʱ�䡣

˵��

fann_train_on_data ( resource $ann , resource $data , int $max_epochs , int $epochs_between_reports , float $desired_error ) : bool

���������ݼ���ѵ��һ��ʱ�䡣

��ѵ��ʹ�� fann_set_training_algorithm() ����ѡ����㷨����Щѵ���㷨���õIJ�����

����

ann

Neural network resource.

data

Neural network training data resource.

max_epochs

ѵ��Ӧ�ü����������������

epochs_between_reports

�û�����֮�������������Ϊ0ʱ��ʾû���û����������á�

desired_error

�������� fann_get_MSE() �� fann_get_bit_fail()�ķ���ֵ, ȡ���� fann_set_train_stop_function() ѡ���ֹͣ������

����ֵ

Returns TRUE on success, or FALSE otherwise.

�μ�