Query: fann_set_callback
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FANN_SET_CALLBACK(3) 1 FANN_SET_CALLBACK(3) fann_set_callback - Sets the callback function for use during trainingSYNOPSISbool fann_set_callback (resource $ann, collable $callback)DESCRIPTIONSets the callback function for use during training. It means that it is called from fann_train_on_data(3) or fann_train_on_file(3).PARAMETERSo $ann -Neural network resource. o $callback - The supplied callback function takes following parameters: o ann - The neural network resource o train - The train data resource or NULL if called from fann_train_on_file(3) o max_epochs - The maximum number of epochs the training should continue o epochs_between_reports - The number of epochs between calling this function o desired_error - The desired fann_get_MSE(3) or fann_get_bit_fail(3), depending on the stop function chosen by fann_set_train_stop_function(3) o epochs - The current epoch The callback should return TRUE. If it returns FALSE, the training will terminate.RETURN VALUESReturns TRUE on success, or FALSE otherwise.SEE ALSOfann_train_on_data(3), fann_train_on_file(3). PHP Documentation Group FANN_SET_CALLBACK(3)
Similar Topics in the Unix Linux Community |
---|
vi and pico |
training |
C Brain Teaser |
Help training for Unix Sys Admin |
Bad substitution issues.. but why? |