Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 3349

php-manual-en-7.2.11-1.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Creates a standard backpropagation neural network, which is not fully connected using an array of layer sizes</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.fann-create-shortcut.html">fann_create_shortcut</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.fann-create-sparse.html">fann_create_sparse</a></div>
 <div class="up"><a href="ref.fann.html">Fann Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.fann-create-sparse-array" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">fann_create_sparse_array</h1>
  <p class="verinfo">(PECL fann &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">fann_create_sparse_array</span> &mdash; <span class="dc-title">Creates a standard backpropagation neural network, which is not fully connected using an array of layer sizes</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.fann-create-sparse-array-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">resource</span> <span class="methodname"><strong>fann_create_sparse_array</strong></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$connection_rate</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$num_layers</code></span>
   , <span class="methodparam"><span class="type">array</span> <code class="parameter">$layers</code></span>
   )</div>

  <p class="para rdfs-comment">
   Creates a standard backpropagation neural network, which is not fully connected using an array of layer sizes.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.fann-create-sparse-array-parameters">
  <h3 class="title">Parameters</h3>
  <dl>

   
    <dt>
<code class="parameter">connection_rate</code></dt>

    <dd>

     <p class="para">
      The connection rate controls how many connections there will be in the network. If the connection rate
      is set to 1, the network will be fully connected, but if it is set to 0.5 only half of the connections
      will be set. A connection rate of 1 will yield the same result as <span class="function"><a href="function.fann-create-standard.html" class="function">fann_create_standard()</a></span>.
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">num_layers</code></dt>

    <dd>

     <p class="para">
      The total number of layers including the input and the output layer.
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">layers</code></dt>

    <dd>

     <p class="para">
       An array of layer sizes.
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.fann-create-sparse-array-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns a neural network resource on success, or <strong><code>FALSE</code></strong> on error.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.fann-create-sparse-array-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.fann-create-sparse.html" class="function" rel="rdfs-seeAlso">fann_create_sparse()</a> - Creates a standard backpropagation neural network, which is not fully connected</span></li>
    <li class="member"><span class="function"><a href="function.fann-create-standard.html" class="function" rel="rdfs-seeAlso">fann_create_standard()</a> - Creates a standard fully connected backpropagation neural network</span></li>
    <li class="member"><span class="function"><a href="function.fann-create-shortcut.html" class="function" rel="rdfs-seeAlso">fann_create_shortcut()</a> - Creates a standard backpropagation neural network which is not fully connectected and has shortcut connections</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.fann-create-shortcut.html">fann_create_shortcut</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.fann-create-sparse.html">fann_create_sparse</a></div>
 <div class="up"><a href="ref.fann.html">Fann Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>