<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.fann.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.fann-get-cascade-num-candidates.php',
    1 => 'fann_get_cascade_num_candidates',
    2 => 'Returns the number of candidates used during training',
  ),
  'up' => 
  array (
    0 => 'ref.fann.php',
    1 => 'Fann 関数',
  ),
  'prev' => 
  array (
    0 => 'function.fann-get-cascade-num-candidate-groups.php',
    1 => 'fann_get_cascade_num_candidate_groups',
  ),
  'next' => 
  array (
    0 => 'function.fann-get-cascade-output-change-fraction.php',
    1 => 'fann_get_cascade_output_change_fraction',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/fann/functions/fann-get-cascade-num-candidates.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.fann-get-cascade-num-candidates" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">fann_get_cascade_num_candidates</h1>
  <p class="verinfo">(PECL fann &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">fann_get_cascade_num_candidates</span> &mdash; <span class="dc-title">Returns the number of candidates used during training</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.fann-get-cascade-num-candidates-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>fann_get_cascade_num_candidates</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$ann</code></span>): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   The number of candidates used during training (calculated by multiplying
   <span class="function"><a href="function.fann-get-cascade-activation-functions-count.php" class="function">fann_get_cascade_activation_functions_count()</a></span>,
   <span class="function"><a href="function.fann-get-cascade-activation-steepnesses-count.php" class="function">fann_get_cascade_activation_steepnesses_count()</a></span> and
   <span class="function"><a href="function.fann-get-cascade-num-candidate-groups.php" class="function">fann_get_cascade_num_candidate_groups()</a></span>).
  </p>
  <p class="para">
   The actual candidates is defined by the <span class="function"><a href="function.fann-get-cascade-activation-functions.php" class="function">fann_get_cascade_activation_functions()</a></span> and
   <span class="function"><a href="function.fann-get-cascade-activation-steepnesses.php" class="function">fann_get_cascade_activation_steepnesses()</a></span> 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 <span class="function"><a href="function.fann-set-cascade-num-candidate-groups.php" class="function">fann_set_cascade_num_candidate_groups()</a></span>.
  </p>
  <p class="para">
   The default number of candidates is 6x4x2 = 48
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.fann-get-cascade-num-candidates-parameters">
  <h3 class="title">パラメータ</h3>
  <dl>
   
    <dt><code class="parameter">ann</code></dt>
    <dd>
     <p class="para">ニューラルネットワークリソース。</p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.fann-get-cascade-num-candidates-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="para">
   The number of candidates used during training, or <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> on error.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.fann-get-cascade-num-candidates-seealso">
  <h3 class="title">参考</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.fann-get-cascade-activation-functions.php" class="function" rel="rdfs-seeAlso">fann_get_cascade_activation_functions()</a> - Returns the cascade activation functions</span></li>
    <li><span class="function"><a href="function.fann-get-cascade-activation-functions-count.php" class="function" rel="rdfs-seeAlso">fann_get_cascade_activation_functions_count()</a> - Returns the number of cascade activation functions</span></li>
    <li><span class="function"><a href="function.fann-get-cascade-activation-steepnesses.php" class="function" rel="rdfs-seeAlso">fann_get_cascade_activation_steepnesses()</a> - Returns the cascade activation steepnesses</span></li>
    <li><span class="function"><a href="function.fann-get-cascade-activation-steepnesses-count.php" class="function" rel="rdfs-seeAlso">fann_get_cascade_activation_steepnesses_count()</a> - The number of activation steepnesses</span></li>
    <li><span class="function"><a href="function.fann-get-cascade-num-candidate-groups.php" class="function" rel="rdfs-seeAlso">fann_get_cascade_num_candidate_groups()</a> - Returns the number of candidate groups</span></li>
   </ul>
  </p>
 </div>



</div><?php manual_footer($setup); ?>