Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 2824

php-manual-en-5.5.7-1.mga4.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 fully connected backpropagation neural network 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-sparse.html">fann_create_sparse</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.fann-create-standard.html">fann_create_standard</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-standard-array" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">fann_create_standard_array</h1>
  <p class="verinfo">(PECL fann &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">fann_create_standard_array</span> &mdash; <span class="dc-title">Creates a standard fully connected backpropagation neural network using an array of layer sizes</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.fann-create-standard-array-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">resource</span> <span class="methodname"><strong>fann_create_standard_array</strong></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 fully connected backpropagation neural network.
  </p>
  <p class="para">
   There will be a bias neuron in each layer (except the output layer),
   and this bias neuron will be connected to all neurons in the next layer.
   When running the network, the bias nodes always emits 1.
  </p>
  <p class="para">
   To destroy a neural network use the  <span class="function"><a href="function.fann-destroy.html" class="function">fann_destroy()</a></span> function.
  </p>
 </div>


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

   <dt>

    <span class="term"><em><code class="parameter">num_layers</code></em></span>
    <dd>

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

   </dt>

   <dt>

    <span class="term"><em><code class="parameter">layers</code></em></span>
    <dd>

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

   </dt>

  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.fann-create-standard-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-standard-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-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-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-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-sparse.html">fann_create_sparse</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.fann-create-standard.html">fann_create_standard</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>