<spanid="pyfts-distributed-dispy-module"></span><h2>pyFTS.distributed.dispy module<aclass="headerlink"href="#module-pyFTS.distributed.dispy"title="Permalink to this headline">¶</a></h2>
<codeclass="sig-prename descclassname">pyFTS.distributed.dispy.</code><codeclass="sig-name descname">get_number_of_cpus</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">cluster</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/distributed/dispy.html#get_number_of_cpus"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.distributed.dispy.get_number_of_cpus"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.distributed.dispy.</code><codeclass="sig-name descname">simple_model_predict</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">model</span></em>, <emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">parameters</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/distributed/dispy.html#simple_model_predict"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.distributed.dispy.simple_model_predict"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.distributed.dispy.</code><codeclass="sig-name descname">simple_model_train</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">model</span></em>, <emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">parameters</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/distributed/dispy.html#simple_model_train"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.distributed.dispy.simple_model_train"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.distributed.dispy.</code><codeclass="sig-name descname">start_dispy_cluster</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">method</span></em>, <emclass="sig-param"><spanclass="n">nodes</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/distributed/dispy.html#start_dispy_cluster"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.distributed.dispy.start_dispy_cluster"title="Permalink to this definition">¶</a></dt>
<dd><p>Start a new Dispy cluster on ‘nodes’ to execute the method ‘method’</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>method</strong>– function to be executed on each cluster node</p></li>
<li><p><strong>nodes</strong>– list of node names or IP’s.</p></li>
</ul>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>the dispy cluster instance and the http_server for monitoring</p>
<codeclass="sig-prename descclassname">pyFTS.distributed.dispy.</code><codeclass="sig-name descname">stop_dispy_cluster</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">cluster</span></em>, <emclass="sig-param"><spanclass="n">http_server</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/distributed/dispy.html#stop_dispy_cluster"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.distributed.dispy.stop_dispy_cluster"title="Permalink to this definition">¶</a></dt>