fann_train_on_file

(PECL fann >= 1.0.0)

fann_train_on_file锟节达拷某锟斤拷锟侥硷拷锟斤拷取锟斤拷锟斤拷锟斤拷锟斤拷锟捷硷拷锟斤拷训锟斤拷一锟斤拷时锟戒。

说锟斤拷

fann_train_on_file ( resource $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.

锟轿硷拷