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_cascadetrain_on_data(3) - php |
fann_cascadetrain_on_file(3) - php |
fann_train_epoch(3) - php |
fann_train_on_file(3) - php |
ai::fann(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
grep sorting/formatting |
Extracting part of a string |
Column name Problem |
How to loop through space separated values? |
Split fields from a file |