php man page for fann_read_train_from_file

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 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
sylseg-sk-training(1) - debian
fann_train_on_data(3) - php
fann_cascadetrain_on_data(3) - php
fann_init_weights(3) - php
fann_set_activation_steepness(3) - php
Similar Topics in the Unix Linux Community
Help with file editing while keeping file format intact
XOR two strings
AWK Command
Abnormality while piping tr command output to sed
Split fields from a file