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_train_on_data(3) - php
fann_cascadetrain_on_file(3) - php
fann_set_activation_steepness(3) - php
fann_set_callback(3) - php
fann_train_epoch(3) - php
Similar Topics in the Unix Linux Community
Column name Problem
Help with file editing while keeping file format intact
How to loop through space separated values?
filnding the line in afile which has less number of '|''s
AWK Command