Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fann_get_cascade_num_candidates(3) [php man page]

FANN_GET_CASCADE_NUM_CANDIDATES(3)					 1					FANN_GET_CASCADE_NUM_CANDIDATES(3)

fann_get_cascade_num_candidates - Returns the number of candidates used during training

SYNOPSIS
int fann_get_cascade_num_candidates (resource $ann) DESCRIPTION
The number of candidates used during training (calculated by multiplying fann_get_cascade_activation_functions_count(3), fann_get_cas- cade_activation_steepnesses_count(3) and fann_get_cascade_num_candidate_groups(3)). The actual candidates is defined by the fann_get_cascade_activation_functions(3) and fann_get_cascade_activation_steepnesses(3) arrays. These arrays define the activation functions and activation steepnesses used for the candidate neurons. If there are 2 activation functions in the activation function array and 3 steepnesses in the steepness array, then there will be 2x3=6 different candidates which will be trained. These 6 different candidates can be copied into several candidate groups, where the only difference between these groups is the initial weights. If the number of groups is set to 2, then the number of candidate neurons will be 2x3x2=12. The number of candidate groups is defined by fann_set_cascade_num_candidate_groups(3). The default number of candidates is 6x4x2 = 48 PARAMETERS
o $ann -Neural network resource. RETURN VALUES
The number of candidates used during training, or FALSE on error. SEE ALSO
fann_get_cascade_activation_functions(3), fann_get_cascade_activation_functions_count(3), fann_get_cascade_activation_steepnesses(3), fann_get_cascade_activation_steepnesses_count(3), fann_get_cascade_num_candidate_groups(3). PHP Documentation Group FANN_GET_CASCADE_NUM_CANDIDATES(3)

Check Out this Related Man Page

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 function

SYNOPSIS
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)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Hp-ux

HI there I have to learn how to instal and configure th HP-UX OS. Is there any chance to get an instalation resources for HP-UX for training purposes ? Something like evaluaton version. Is there any chance to install HP-UX on my PC ? Cheers (1 Reply)
Discussion started by: nagileon
1 Replies

2. Shell Programming and Scripting

forums to hire unix experts

Please recommend forums where I could look for unix expert candidates. (3 Replies)
Discussion started by: itmgr
3 Replies

3. UNIX for Dummies Questions & Answers

What training resources do people use?

Out of curiosity, what training resources would people recommend for beginners to UNIX/scripting? Do you find forums such as these are better than books in providing help as and when? Or do you think more formal training is better? (2 Replies)
Discussion started by: kutz13
2 Replies

4. UNIX for Dummies Questions & Answers

UNIX Training?

At work I have to restart applications and install upgrades to applications running on Solaris 10. Its pretty basic stuff but I have little experience of Unix so it can be a bit hairy at times. Work have offered to send me on some training but I have to select the course/training. I'm not... (2 Replies)
Discussion started by: Sepia
2 Replies

5. UNIX for Dummies Questions & Answers

Unix Training-where, when etc.

I'm being asked to go and take a training course in Advanced Unix and Perl. The main reason is the amount of information needed to get up to speed a short period of time, which is what we're limited on. Travel is fine. Can anyone suggest a good resource for researching the where and when for... (1 Reply)
Discussion started by: gavineq
1 Replies

6. Programming

C Brain Teaser

Dear Gurus, I have encountered a C question, which I thought of sharing with you. This question was asked by one of my technical training staff...Though my training was over I'm still thinking of a solution for this.. Write a C program to do a small task(lets say just simply printing a "Hello... (34 Replies)
Discussion started by: vrk1219
34 Replies

7. AIX

Recommendation help...

Hi guys, This is my first post. I have just started my training in AIX and would like some help with regards to training material. I have obtained IBM's CBTs (units 1 through 19) for AIX basics. I am looking at the following books - AIX 5L administration by Randal K Michael. - UNIX from new... (5 Replies)
Discussion started by: theaixeman
5 Replies

8. Linux

LinuxCBT/UnixCBT video training recommended?

Hi Is anyone here customer of LinuxCBT and can say something about the quality of their videos? Do you recommend me purchase video training of them? I am primary interested in OpenLDAP training. Link Linux Training, Open Source Training, Learn Linux and Open Source (6 Replies)
Discussion started by: slashdotweenie
6 Replies

9. UNIX for Dummies Questions & Answers

Solaris for a training: PC vs Sparc

I need a computer to try Solaris. I'm learning with UNIX Academy training DVDs and after spending much time with Linux I want to try and learn on Solaris. I'll have to buy a computer for my training anyway. I found on ebay plenty of inexpensive Sun boxes. Would it be beneficial for learning to have... (26 Replies)
Discussion started by: newlinuxuser1
26 Replies

10. UNIX for Dummies Questions & Answers

Unix Performance testing - training content

Hi Everyone, My company is involved in performing performance testing and now they want to perform couple of training related with executing those tests on the servers based on Unix sytems. And I have to provide them draft of the content for those trainings. I think this kind of training... (2 Replies)
Discussion started by: Bartuss
2 Replies

11. War Stories

Project - ERP-MES Interface

Hi all, that's my personal "war story" and probably a beginning of a never ending love story. It is roughly 8 weeks ago, I've got a training for a new ERP system. In front of the training my boss mentioned it based on a unix. Great, I have been always interested in but I don't know why I... (2 Replies)
Discussion started by: Noobie1995
2 Replies

12. Programming

C: lenght of array

Doing some training code with arrays i run into the following issue: If i ask the user how long the array is supposed to be, malloc it and then ask for the values inside the array and return the list to main and assing it to a pointer to list of integers: #include <stdio.h> #include... (7 Replies)
Discussion started by: tornow
7 Replies

13. UNIX for Dummies Questions & Answers

Group sums by matching and then multiplying by weights

Hi Experts, Please help with the following. I have 3 columns in File 1 , variables with values nested within groups. File 1 gr1 var1 a gr1 var2 b gr1 var3 a gr1 var4 c gr2 var1 a gr2 var2 a gr2 var4 c gr3 var1 b gr3 var3 b gr3 var4 a gr3 var5 a (3 Replies)
Discussion started by: ritakadm
3 Replies

14. Red Hat

Is redhat training mandatory for RHCSA certification

Hey guys, I m planning to take the RHCSA certification. Do I have to take the training from RedHat first? Is it mandatory or I can go on my own and appear for the certification? Let me know. Thanks... (2 Replies)
Discussion started by: snchaudhari2
2 Replies