Query: fann_read_train_from_file
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FANN_READ_TRAIN_FROM_FILE(3) 1 FANN_READ_TRAIN_FROM_FILE(3) fann_read_train_from_file - Reads a file that stores training dataSYNOPSISresource fann_read_train_from_file (string $filename)DESCRIPTIONReads a file that stores training data.PARAMETERSo $filename - The input file in the following format: num_train_data num_input num_output inputdata seperated by space outputdata seperated by space inputdata seperated by space outputdata seperated by spaceRETURN VALUESReturns a train data resource on success, or FALSE on error.EXAMPLESExample #1 fann_read_train_from_file example <?php $train_data = fann_read_train_from_file("xor.data"); if ($train_data) { // Do something with $train_data for XOR function } ?> Contents of xor.data 4 2 1 -1 -1 -1 -1 1 1 1 -1 1 1 1 -1SEE ALSOfann_train_on_data(3), fann_destroy_train(3), fann_save_train(3). PHP Documentation Group FANN_READ_TRAIN_FROM_FILE(3)
Related Man Pages |
---|
fann_create_train_from_callback(3) - php |
fann_cascadetrain_on_file(3) - php |
fann_set_activation_steepness(3) - php |
fann_set_callback(3) - php |
fann_train_on_file(3) - php |
Similar Topics in the Unix Linux Community |
---|
Extracting part of a string |
C Brain Teaser |
awk parsing problem |
Removing blank lines from comma seperated and space seperated file. |
Column name Problem |