<liclass="toctree-l2"><aclass="reference internal"href="examples.html#implementing-your-own-data-importer">Implementing your own data importer</a></li>
<spanid="PyCTBN-optimizers-constraint-based-optimizer-module"></span><h2>PyCTBN.optimizers.constraint_based_optimizer module<aclass="headerlink"href="#module-PyCTBN.optimizers.constraint_based_optimizer"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">PyCTBN.optimizers.constraint_based_optimizer.</code><codeclass="sig-name descname">ConstraintBasedOptimizer</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">node_id</span><spanclass="p">:</span><spanclass="n">str</span></em>, <emclass="sig-param"><spanclass="n">structure_estimator</span><spanclass="p">:</span><spanclass="n"><aclass="reference internal"href="PyCTBN.estimators.html#PyCTBN.estimators.structure_estimator.StructureEstimator"title="PyCTBN.estimators.structure_estimator.StructureEstimator">PyCTBN.estimators.structure_estimator.StructureEstimator</a></span></em>, <emclass="sig-param"><spanclass="n">tot_vars_count</span><spanclass="p">:</span><spanclass="n">int</span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.optimizers.constraint_based_optimizer.ConstraintBasedOptimizer"title="Permalink to this definition">¶</a></dt>
<p>Optimizer class that implement a CTPC Algorithm</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>node_id</strong> (<em>string</em>) – current node’s id</p></li>
<li><p><strong>structure_estimator</strong> (<em>class:'StructureEstimator'</em>) – a structure estimator object with the information about the net</p></li>
<li><p><strong>tot_vars_count</strong> (<em>int</em>) – number of variables in the dataset</p></li>
<codeclass="sig-name descname">optimize_structure</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.optimizers.constraint_based_optimizer.ConstraintBasedOptimizer.optimize_structure"title="Permalink to this definition">¶</a></dt>
<spanid="PyCTBN-optimizers-hill-climbing-search-module"></span><h2>PyCTBN.optimizers.hill_climbing_search module<aclass="headerlink"href="#module-PyCTBN.optimizers.hill_climbing_search"title="Permalink to this headline">¶</a></h2>
<p>Optimizer class that implement Hill Climbing Search</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>node_id</strong> (<em>string</em>) – current node’s id</p></li>
<li><p><strong>structure_estimator</strong> (<em>class:'StructureEstimator'</em>) – a structure estimator object with the information about the net</p></li>
<li><p><strong>max_parents</strong> (<em>int</em><em>, </em><em>optional</em>) – maximum number of parents for each variable. If None, disabled, default to None</p></li>
<li><p><strong>iterations_number</strong> (<em>int</em><em>, </em><em>optional</em>) – maximum number of optimization algorithm’s iteration, default to 40</p></li>
<li><p><strong>patience</strong> (<em>int</em><em>, </em><em>optional</em>) – number of iteration without any improvement before to stop the search.If None, disabled, default to None</p></li>
<codeclass="sig-name descname">optimize_structure</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span>→ List<aclass="headerlink"href="#PyCTBN.optimizers.hill_climbing_search.HillClimbing.optimize_structure"title="Permalink to this definition">¶</a></dt>
<spanid="PyCTBN-optimizers-optimizer-module"></span><h2>PyCTBN.optimizers.optimizer module<aclass="headerlink"href="#module-PyCTBN.optimizers.optimizer"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">PyCTBN.optimizers.optimizer.</code><codeclass="sig-name descname">Optimizer</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">node_id</span><spanclass="p">:</span><spanclass="n">str</span></em>, <emclass="sig-param"><spanclass="n">structure_estimator</span><spanclass="p">:</span><spanclass="n"><aclass="reference internal"href="PyCTBN.estimators.html#PyCTBN.estimators.structure_estimator.StructureEstimator"title="PyCTBN.estimators.structure_estimator.StructureEstimator">PyCTBN.estimators.structure_estimator.StructureEstimator</a></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#PyCTBN.optimizers.optimizer.Optimizer"title="Permalink to this definition">¶</a></dt>
<emclass="property">abstract </em><codeclass="sig-name descname">optimize_structure</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span>→ List<aclass="headerlink"href="#PyCTBN.optimizers.optimizer.Optimizer.optimize_structure"title="Permalink to this definition">¶</a></dt>
<spanid="PyCTBN-optimizers-tabu-search-module"></span><h2>PyCTBN.optimizers.tabu_search module<aclass="headerlink"href="#module-PyCTBN.optimizers.tabu_search"title="Permalink to this headline">¶</a></h2>
<li><p><strong>node_id</strong> (<em>string</em>) – current node’s id</p></li>
<li><p><strong>structure_estimator</strong> (<em>class:'StructureEstimator'</em>) – a structure estimator object with the information about the net</p></li>
<li><p><strong>max_parents</strong> (<em>int</em><em>, </em><em>optional</em>) – maximum number of parents for each variable. If None, disabled, default to None</p></li>
<li><p><strong>iterations_number</strong> (<em>int</em><em>, </em><em>optional</em>) – maximum number of optimization algorithm’s iteration, default to 40</p></li>
<li><p><strong>patience</strong> (<em>int</em><em>, </em><em>optional</em>) – number of iteration without any improvement before to stop the search.If None, disabled, default to None</p></li>
<li><p><strong>tabu_length</strong> (<em>int</em><em>, </em><em>optional</em>) – maximum lenght of the data structures used in the optimization process, default to None</p></li>
<li><p><strong>tabu_rules_duration</strong> (<em>int</em><em>, </em><em>optional</em>) – number of iterations in which each rule keeps its value, default to None</p></li>
<codeclass="sig-name descname">optimize_structure</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span>→ List<aclass="headerlink"href="#PyCTBN.optimizers.tabu_search.TabuSearch.optimize_structure"title="Permalink to this definition">¶</a></dt>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/jucacrispim/sphinx_pdj_theme">theme</a> provided by <ahref="http://poraodojuca.net">Porão do Juca</a>.