(PECL fann >= 1.0.0)
fann_train_on_file — 锟节达拷某锟斤拷锟侥硷拷锟斤拷取锟斤拷锟斤拷锟斤拷锟斤拷锟捷硷拷锟斤拷训锟斤拷一锟斤拷时锟戒。
$ann
, string $filename
, int $max_epochs
, int $epochs_between_reports
, float $desired_error
) : bool锟节达拷某锟斤拷锟侥硷拷锟斤拷取锟斤拷锟斤拷锟斤拷锟斤拷锟捷硷拷锟斤拷训锟斤拷一锟斤拷时锟戒。
锟斤拷训锟斤拷使锟斤拷 fann_set_training_algorithm() 锟斤拷锟斤拷选锟斤拷锟斤拷惴拷锟斤拷锟叫┭碉拷锟斤拷惴拷锟斤拷玫牟锟斤拷锟斤拷锟�
ann
Neural network resource.
filename
锟斤拷锟斤拷训锟斤拷锟斤拷锟捷碉拷锟侥硷拷锟斤拷
max_epochs
训锟斤拷应锟矫硷拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟�
epochs_between_reports
锟矫伙拷锟斤拷锟斤拷之锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟轿�0时锟斤拷示没锟斤拷锟矫伙拷锟斤拷锟斤拷锟斤拷锟斤拷锟矫★拷
desired_error
锟斤拷锟斤拷锟斤拷锟斤拷 fann_get_MSE() 锟斤拷 fann_get_bit_fail()锟侥凤拷锟斤拷值, 取锟斤拷锟斤拷 fann_set_train_stop_function() 选锟斤拷锟酵V癸拷锟斤拷锟斤拷锟�
Returns TRUE
on success, or FALSE
otherwise.