fann_read_train_from_file(3) php man page | unix.com

Man Page: fann_read_train_from_file

Operating Environment: php

Section: 3

FANN_READ_TRAIN_FROM_FILE(3)						 1					      FANN_READ_TRAIN_FROM_FILE(3)

fann_read_train_from_file - Reads a file that stores training data

SYNOPSIS
resource fann_read_train_from_file (string $filename)
DESCRIPTION
Reads a file that stores training data.
PARAMETERS
o $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 space
RETURN VALUES
Returns a train data resource on success, or FALSE on error.
EXAMPLES
Example #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 -1
SEE ALSO
fann_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_get_bit_fail(3) - php
fann_get_cascade_output_change_fraction(3) - php
fann_train_epoch(3) - php
fann_train_on_file(3) - php
ai::fann(3pm) - debian
Similar Topics in the Unix Linux Community
Removing blank lines from comma seperated and space seperated file.
Column name Problem
How to loop through space separated values?
XOR two strings
Split fields from a file