<!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>Returns the the stop function used during training</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.fann-get-train-error-function.html">fann_get_train_error_function</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.fann-get-training-algorithm.html">fann_get_training_algorithm</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-get-train-stop-function" class="refentry"> <div class="refnamediv"> <h1 class="refname">fann_get_train_stop_function</h1> <p class="verinfo">(PECL fann >= 1.0.0)</p><p class="refpurpose"><span class="refname">fann_get_train_stop_function</span> — <span class="dc-title">Returns the the stop function used during training</span></p> </div> <div class="refsect1 description" id="refsect1-function.fann-get-train-stop-function-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><strong>fann_get_train_stop_function</strong></span> ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$ann</code></span> )</div> <p class="para rdfs-comment"> Returns the the stop function used during training. </p> <p class="para"> The stop functions are described further in <a href="fann.constants.html#constants.fann-stopfunc" class="link">stop functions</a> constants. </p> <p class="para"> The default stop function is <strong><code>FANN_STOPFUNC_MSE</code></strong>. </p> </div> <div class="refsect1 parameters" id="refsect1-function.fann-get-train-stop-function-parameters"> <h3 class="title">Parameters</h3> <dl> <dt> <span class="term"><em><code class="parameter">ann</code></em></span> <dd> <p class="para">Neural network <span class="type"><a href="language.types.resource.html" class="type resource">resource</a></span>.</p> </dd> </dt> </dl> </div> <div class="refsect1 returnvalues" id="refsect1-function.fann-get-train-stop-function-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> The <a href="fann.constants.html#constants.fann-stopfunc" class="link">stop function</a> constant, or <strong><code>FALSE</code></strong> on error. </p> </div> <div class="refsect1 seealso" id="refsect1-function.fann-get-train-stop-function-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.fann-set-train-stop-function.html" class="function" rel="rdfs-seeAlso">fann_set_train_stop_function()</a> - Sets the stop function used during training</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-get-train-error-function.html">fann_get_train_error_function</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.fann-get-training-algorithm.html">fann_get_training_algorithm</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>