What are they doing? :D
kyJHeIqYoLQ
---------- Post updated 11-14-09 at 10:24 AM ---------- Previous update was 11-13-09 at 04:53 PM ----------
Heard of them? Who's them? :b:
Totally Hidden Extreme Magic (1/6)
mSLMOUOtaQQ
Totally Hidden Extreme Magic (2/6)
2bwp2GUrNNc
Totally... (3 Replies)
Dear Experts,
I just want any web site from where i can download free or i can buy a full trainning video of unix shell programming.
Can any body tell me the good video CBT for unic shell scripting.
Regards,
SHARY (1 Reply)
FANN_CREATE_TRAIN_FROM_CALLBACK(3) 1 FANN_CREATE_TRAIN_FROM_CALLBACK(3)fann_create_train_from_callback - Creates the training data struct from a user supplied functionSYNOPSIS
resource fann_create_train_from_callback (int $num_data, int $num_input, int $num_output, collable $user_function)
DESCRIPTION
Creates the training data struct from a user supplied function. As the training data are numerable (data 1, data 2...), the user must
write a function that receives the number of the training data set (input, output) and returns the set.
PARAMETERS
o $num_data
- The number of training data
o $num_input
- The number of inputs per training data
o $num_output
- The number of ouputs per training data
o $user_function
- The user supplied function with following parameters:
o num - The number of the training data set
o num_input - The number of inputs per training data
o num - The number of ouputs per training dataThe number of inputs per training data
The function should return an associative array with keys input and output and two array values of input and output.
RETURN VALUES
Returns a train data resource on success, or FALSE on error.
EXAMPLES
Example #1
fann_create_train_from_callback example
<?php
function create_train_callback($num_data, $num_input, $num_output) {
return array(
"input" => array_fill(0, $num_input, 1),
"output" => array_fill(0, $num_output, 1),
);
}
$num_data = 3;
$num_input = 2;
$num_output = 1;
$train_data = fann_create_train_from_callback($num_data, $num_input, $num_output, "create_train_callback");
if ($train_data) {
// Do something with $train_data
}
?>
SEE ALSO fann_read_train_from_file(3), fann_train_on_data(3), fann_destroy_train(3), fann_save_train(3).
PHP Documentation Group FANN_CREATE_TRAIN_FROM_CALLBACK(3)