<spanid="pyfts-common-composite-module"></span><h2>pyFTS.common.Composite module<aclass="headerlink"href="#module-pyFTS.common.Composite"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Composite.</span></span><spanclass="sig-name descname"><spanclass="pre">FuzzySet</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">name</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">superset</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">False</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Composite.html#FuzzySet"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Composite.FuzzySet"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">append</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">mf</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">parameters</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Composite.html#FuzzySet.append"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Composite.FuzzySet.append"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">append_set</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">set</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Composite.html#FuzzySet.append_set"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Composite.FuzzySet.append_set"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">membership</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">x</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Composite.html#FuzzySet.membership"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Composite.FuzzySet.membership"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">transform</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">x</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Composite.html#FuzzySet.transform"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Composite.FuzzySet.transform"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-common-flr-module"></span><h2>pyFTS.common.FLR module<aclass="headerlink"href="#module-pyFTS.common.FLR"title="Permalink to this headline">¶</a></h2>
<p>This module implements functions for Fuzzy Logical Relationship generation</p>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.FLR.</span></span><spanclass="sig-name descname"><spanclass="pre">FLR</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">LHS</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">RHS</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FLR.html#FLR"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.FLR.FLR"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">LHS</span></span><aclass="headerlink"href="#pyFTS.common.FLR.FLR.LHS"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">RHS</span></span><aclass="headerlink"href="#pyFTS.common.FLR.FLR.RHS"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.FLR.</span></span><spanclass="sig-name descname"><spanclass="pre">IndexedFLR</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">index</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">LHS</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">RHS</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FLR.html#IndexedFLR"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.FLR.IndexedFLR"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">index</span></span><aclass="headerlink"href="#pyFTS.common.FLR.IndexedFLR.index"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.FLR.</span></span><spanclass="sig-name descname"><spanclass="pre">generate_high_order_recurrent_flr</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">fuzzyData</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FLR.html#generate_high_order_recurrent_flr"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.FLR.generate_high_order_recurrent_flr"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.FLR.</span></span><spanclass="sig-name descname"><spanclass="pre">generate_non_recurrent_flrs</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">fuzzyData</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">steps</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">1</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FLR.html#generate_non_recurrent_flrs"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.FLR.generate_non_recurrent_flrs"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.FLR.</span></span><spanclass="sig-name descname"><spanclass="pre">generate_recurrent_flrs</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">fuzzyData</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">steps</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">1</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FLR.html#generate_recurrent_flrs"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.FLR.generate_recurrent_flrs"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-common-fuzzyset-module"></span><h2>pyFTS.common.FuzzySet module<aclass="headerlink"href="#module-pyFTS.common.FuzzySet"title="Permalink to this headline">¶</a></h2>
<spanclass="sig-name descname"><spanclass="pre">Z</span></span><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.Z"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">alpha</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#float"title="(in Python v3.10)"><spanclass="pre">float</span></a></em><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.alpha"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">centroid</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#float"title="(in Python v3.10)"><spanclass="pre">float</span></a></em><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.centroid"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">membership</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">x</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#FuzzySet.membership"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.membership"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">mf</span></span><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.mf"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">parameters</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#list"title="(in Python v3.10)"><spanclass="pre">list</span></a></em><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.parameters"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">partition_function</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">uod</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">nbins</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">100</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#FuzzySet.partition_function"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.partition_function"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">transform</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">x</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#FuzzySet.transform"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.transform"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">type</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.10)"><spanclass="pre">str</span></a></em><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.type"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">variable</span></span><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.variable"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.FuzzySet.</span></span><spanclass="sig-name descname"><spanclass="pre">check_bounds</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">fuzzy_sets</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">ordered_sets</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#check_bounds"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.check_bounds"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.FuzzySet.</span></span><spanclass="sig-name descname"><spanclass="pre">check_bounds_index</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">fuzzy_sets</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">ordered_sets</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#check_bounds_index"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.check_bounds_index"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.FuzzySet.</span></span><spanclass="sig-name descname"><spanclass="pre">fuzzyfy</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">partitioner</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#fuzzyfy"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.fuzzyfy"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.FuzzySet.</span></span><spanclass="sig-name descname"><spanclass="pre">fuzzyfy_series_old</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">fuzzy_sets</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">method</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'maximum'</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#fuzzyfy_series_old"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.fuzzyfy_series_old"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.FuzzySet.</span></span><spanclass="sig-name descname"><spanclass="pre">get_maximum_membership_fuzzyset</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">inst</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">fuzzy_sets</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">ordered_sets</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><aclass="reference internal"href="#pyFTS.common.FuzzySet.FuzzySet"title="pyFTS.common.FuzzySet.FuzzySet"><spanclass="pre">pyFTS.common.FuzzySet.FuzzySet</span></a></span></span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#get_maximum_membership_fuzzyset"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.get_maximum_membership_fuzzyset"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.FuzzySet.</span></span><spanclass="sig-name descname"><spanclass="pre">grant_bounds</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">fuzzy_sets</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">ordered_sets</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#grant_bounds"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.grant_bounds"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.FuzzySet.</span></span><spanclass="sig-name descname"><spanclass="pre">set_ordered</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">fuzzy_sets</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#set_ordered"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.set_ordered"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-common-membership-module"></span><h2>pyFTS.common.Membership module<aclass="headerlink"href="#module-pyFTS.common.Membership"title="Permalink to this headline">¶</a></h2>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Membership.</span></span><spanclass="sig-name descname"><spanclass="pre">bellmf</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">x</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">parameters</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Membership.html#bellmf"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Membership.bellmf"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Membership.</span></span><spanclass="sig-name descname"><spanclass="pre">gaussmf</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">x</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">parameters</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Membership.html#gaussmf"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Membership.gaussmf"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Membership.</span></span><spanclass="sig-name descname"><spanclass="pre">sigmf</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">x</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">parameters</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Membership.html#sigmf"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Membership.sigmf"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Membership.</span></span><spanclass="sig-name descname"><spanclass="pre">singleton</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">x</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">parameters</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Membership.html#singleton"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Membership.singleton"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Membership.</span></span><spanclass="sig-name descname"><spanclass="pre">trapmf</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">x</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">parameters</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Membership.html#trapmf"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Membership.trapmf"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Membership.</span></span><spanclass="sig-name descname"><spanclass="pre">trimf</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">x</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">parameters</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Membership.html#trimf"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Membership.trimf"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-common-sortedcollection-module"></span><h2>pyFTS.common.SortedCollection module<aclass="headerlink"href="#module-pyFTS.common.SortedCollection"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.SortedCollection.</span></span><spanclass="sig-name descname"><spanclass="pre">SortedCollection</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">iterable</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">()</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">key</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection"title="Permalink to this definition">¶</a></dt>
<divclass="doctest highlight-default notranslate"><divclass="highlight"><pre><span></span><spanclass="gp">>>></span><spanclass="n">pprint</span><spanclass="p">(</span><spanclass="nb">list</span><spanclass="p">(</span><spanclass="n">s</span><spanclass="p">))</span><spanclass="c1"># show records sorted by age</span>
<divclass="doctest highlight-default notranslate"><divclass="highlight"><pre><span></span><spanclass="gp">>>></span><spanclass="n">s</span><spanclass="o">.</span><spanclass="n">find_le</span><spanclass="p">(</span><spanclass="mi">29</span><spanclass="p">)</span><spanclass="c1"># find oldest person aged 29 or younger</span>
<spanclass="gp">>>></span><spanclass="n">s</span><spanclass="o">.</span><spanclass="n">find_lt</span><spanclass="p">(</span><spanclass="mi">28</span><spanclass="p">)</span><spanclass="c1"># find oldest person under 28</span>
<spanclass="gp">>>></span><spanclass="n">s</span><spanclass="o">.</span><spanclass="n">find_gt</span><spanclass="p">(</span><spanclass="mi">28</span><spanclass="p">)</span><spanclass="c1"># find youngest person over 28</span>
<divclass="doctest highlight-default notranslate"><divclass="highlight"><pre><span></span><spanclass="gp">>>></span><spanclass="n">r</span><spanclass="o">=</span><spanclass="n">s</span><spanclass="o">.</span><spanclass="n">find_ge</span><spanclass="p">(</span><spanclass="mi">32</span><spanclass="p">)</span><spanclass="c1"># find youngest person aged 32 or older</span>
<spanclass="gp">>>></span><spanclass="n">s</span><spanclass="o">.</span><spanclass="n">index</span><spanclass="p">(</span><spanclass="n">r</span><spanclass="p">)</span><spanclass="c1"># get the index of their record</span>
<spanclass="go">3</span>
<spanclass="gp">>>></span><spanclass="n">s</span><spanclass="p">[</span><spanclass="mi">3</span><spanclass="p">]</span><spanclass="c1"># fetch the record at that index</span>
<divclass="doctest highlight-default notranslate"><divclass="highlight"><pre><span></span><spanclass="gp">>>></span><spanclass="n">s</span><spanclass="o">.</span><spanclass="n">key</span><spanclass="o">=</span><spanclass="n">itemgetter</span><spanclass="p">(</span><spanclass="mi">0</span><spanclass="p">)</span><spanclass="c1"># now sort by first name</span>
<spanclass="sig-name descname"><spanclass="pre">around</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">k</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.around"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.around"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">between</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">ge</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">le</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.between"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.between"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">clear</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.clear"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.clear"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">copy</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.copy"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.copy"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">count</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">item</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.count"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.count"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">find</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">k</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.find"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.find"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">find_ge</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">k</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.find_ge"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.find_ge"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">find_gt</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">k</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.find_gt"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.find_gt"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">find_le</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">k</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.find_le"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.find_le"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">find_lt</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">k</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.find_lt"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.find_lt"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">index</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">item</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.index"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.index"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">insert</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">item</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.insert"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.insert"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">insert_right</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">item</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.insert_right"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.insert_right"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">inside</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">ge</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">le</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.inside"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.inside"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span><spanclass="w"></span></em><spanclass="sig-name descname"><spanclass="pre">key</span></span><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.key"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">remove</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">item</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.remove"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.remove"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-common-util-module"></span><h2>pyFTS.common.Util module<aclass="headerlink"href="#module-pyFTS.common.Util"title="Permalink to this headline">¶</a></h2>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Util.</span></span><spanclass="sig-name descname"><spanclass="pre">current_milli_time</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.common.Util.current_milli_time"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Util.</span></span><spanclass="sig-name descname"><spanclass="pre">draw_sets_on_axis</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">axis</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">model</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">size</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#draw_sets_on_axis"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Util.draw_sets_on_axis"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Util.</span></span><spanclass="sig-name descname"><spanclass="pre">enumerate2</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">xs</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">start</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">0</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">step</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">1</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#enumerate2"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Util.enumerate2"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Util.</span></span><spanclass="sig-name descname"><spanclass="pre">load_env</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">file</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#load_env"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Util.load_env"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Util.</span></span><spanclass="sig-name descname"><spanclass="pre">load_obj</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">file</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#load_obj"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Util.load_obj"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Util.</span></span><spanclass="sig-name descname"><spanclass="pre">persist_env</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">file</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#persist_env"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Util.persist_env"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Util.</span></span><spanclass="sig-name descname"><spanclass="pre">persist_obj</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">obj</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">file</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#persist_obj"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Util.persist_obj"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Util.</span></span><spanclass="sig-name descname"><spanclass="pre">plot_distribution2</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">probabilitydist</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#plot_distribution2"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Util.plot_distribution2"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Util.</span></span><spanclass="sig-name descname"><spanclass="pre">plot_interval2</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">intervals</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#plot_interval2"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Util.plot_interval2"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Util.</span></span><spanclass="sig-name descname"><spanclass="pre">plot_probability_distributions</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">pmfs</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">lcolors</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">tam</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">[15,</span><spanclass="pre">7]</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#plot_probability_distributions"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Util.plot_probability_distributions"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Util.</span></span><spanclass="sig-name descname"><spanclass="pre">show_and_save_image</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">fig</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">file</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">flag</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">lgd</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#show_and_save_image"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Util.show_and_save_image"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.Util.</span></span><spanclass="sig-name descname"><spanclass="pre">uniquefilename</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">name</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#uniquefilename"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.Util.uniquefilename"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-common-flrg-module"></span><h2>pyFTS.common.flrg module<aclass="headerlink"href="#module-pyFTS.common.flrg"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.flrg.</span></span><spanclass="sig-name descname"><spanclass="pre">FLRG</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">order</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">LHS</span></span><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.LHS"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">RHS</span></span><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.RHS"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">append_rhs</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">set</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.append_rhs"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.append_rhs"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_key</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.get_key"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.get_key"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_lower</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">sets</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.get_lower"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.get_lower"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_membership</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">sets</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.get_membership"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.get_membership"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_midpoint</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">sets</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.get_midpoint"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.get_midpoint"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_midpoints</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">sets</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.get_midpoints"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.get_midpoints"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_upper</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">sets</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.get_upper"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.get_upper"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">order</span></span><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.order"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">reset_calculated_values</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.reset_calculated_values"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.reset_calculated_values"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-common-fts-module"></span><h2>pyFTS.common.fts module<aclass="headerlink"href="#module-pyFTS.common.fts"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.fts.</span></span><spanclass="sig-name descname"><spanclass="pre">FTS</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">alpha_cut</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#float"title="(in Python v3.10)"><spanclass="pre">float</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.alpha_cut"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">append_log</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">operation</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">value</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.append_log"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.append_log"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">append_rule</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">flrg</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.append_rule"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.append_rule"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">append_transformation</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">transformation</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.append_transformation"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.append_transformation"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">apply_inverse_transformations</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">params</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.apply_inverse_transformations"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.apply_inverse_transformations"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">apply_transformations</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">params</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">updateUoD</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">False</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.apply_transformations"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.apply_transformations"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">auto_update</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.10)"><spanclass="pre">bool</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.auto_update"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">benchmark_only</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.10)"><spanclass="pre">bool</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.benchmark_only"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">clip_uod</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">ndata</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.clip_uod"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.clip_uod"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">clone_parameters</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">model</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.clone_parameters"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.clone_parameters"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">detail</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.10)"><spanclass="pre">str</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.detail"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">fit</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">ndata</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.fit"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.fit"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">flrgs</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#dict"title="(in Python v3.10)"><spanclass="pre">dict</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.flrgs"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">forecast</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#list"title="(in Python v3.10)"><spanclass="pre">list</span></a></span></span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.forecast"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.forecast"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">forecast_ahead_multivariate</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">steps</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><spanclass="pre">pandas.core.frame.DataFrame</span></span></span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.forecast_ahead_multivariate"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.forecast_ahead_multivariate"title="Permalink to this definition">¶</a></dt>
<li><p><strong>data</strong>– Pandas dataframe with one column for each variable and with the minimal length equal to the max_lag of the model</p></li>
<li><p><strong>steps</strong>– the number of steps ahead to forecast</p></li>
<li><p><strong>start_at</strong>– in the multi step forecasting, the index of the data where to start forecasting (default: 0)</p></li>
</ul>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>a Pandas Dataframe object representing the forecasted values for each variable</p>
<spanclass="sig-name descname"><spanclass="pre">forecast_distribution</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#list"title="(in Python v3.10)"><spanclass="pre">list</span></a></span></span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.forecast_distribution"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.forecast_distribution"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">forecast_interval</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#list"title="(in Python v3.10)"><spanclass="pre">list</span></a></span></span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.forecast_interval"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.forecast_interval"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">forecast_multivariate</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><spanclass="pre">pandas.core.frame.DataFrame</span></span></span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.forecast_multivariate"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.forecast_multivariate"title="Permalink to this definition">¶</a></dt>
<li><p><strong>data</strong>– Pandas dataframe with one column for each variable and with the minimal length equal to the max_lag of the model</p></li>
<li><p><strong>kwargs</strong>– model specific parameters</p></li>
</ul>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>a Pandas Dataframe object representing the forecasted values for each variable</p>
<spanclass="sig-name descname"><spanclass="pre">fuzzy</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#dict"title="(in Python v3.10)"><spanclass="pre">dict</span></a></span></span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.fuzzy"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.fuzzy"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">get_UoD</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#set"title="(in Python v3.10)"><spanclass="pre">set</span></a></span></span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.get_UoD"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.get_UoD"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">has_interval_forecasting</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.10)"><spanclass="pre">bool</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.has_interval_forecasting"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">has_point_forecasting</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.10)"><spanclass="pre">bool</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.has_point_forecasting"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">has_probability_forecasting</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.10)"><spanclass="pre">bool</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.has_probability_forecasting"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">has_seasonality</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.10)"><spanclass="pre">bool</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.has_seasonality"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">indexer</span></span><aclass="headerlink"href="#pyFTS.common.fts.FTS.indexer"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">is_clustered</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.10)"><spanclass="pre">bool</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.is_clustered"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">is_high_order</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.10)"><spanclass="pre">bool</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.is_high_order"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">is_multivariate</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.10)"><spanclass="pre">bool</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.is_multivariate"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">is_time_variant</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.10)"><spanclass="pre">bool</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.is_time_variant"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">is_wrapper</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.10)"><spanclass="pre">bool</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.is_wrapper"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">len_total</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.len_total"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.len_total"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">log</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">pd.DataFrame</span></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.log"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">max_lag</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.10)"><spanclass="pre">int</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.max_lag"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">merge</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">model</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.merge"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.merge"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">min_order</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.10)"><spanclass="pre">int</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.min_order"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">name</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.10)"><spanclass="pre">str</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.name"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">offset</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><spanclass="sig-return"><spanclass="sig-return-icon">→</span><spanclass="sig-return-typehint"><aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.10)"><spanclass="pre">int</span></a></span></span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.offset"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.offset"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">order</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.10)"><spanclass="pre">int</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.order"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">original_max</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#float"title="(in Python v3.10)"><spanclass="pre">float</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.original_max"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">original_min</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#float"title="(in Python v3.10)"><spanclass="pre">float</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.original_min"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">partitioner</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference internal"href="pyFTS.partitioners.html#pyFTS.partitioners.partitioner.Partitioner"title="pyFTS.partitioners.partitioner.Partitioner"><spanclass="pre">partitioner.Partitioner</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.partitioner"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">predict</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.predict"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.predict"title="Permalink to this definition">¶</a></dt>
<li><p><strong>data</strong>– time series with minimal length to the order of the model</p></li>
<li><p><strong>type</strong>– the forecasting type, one of these values: point(default), interval, distribution or multivariate.</p></li>
<li><p><strong>steps_ahead</strong>– The forecasting path H, i. e., tell the model to forecast from t+1 to t+H.</p></li>
<li><p><strong>step_to</strong>– The forecasting step H, i. e., tell the model to forecast to t+H for each input sample</p></li>
<li><p><strong>start_at</strong>– in the multi step forecasting, the index of the data where to start forecasting (default value: 0)</p></li>
<li><p><strong>distributed</strong>– boolean, indicate if the forecasting procedure will be distributed in a dispy cluster (default value: False)</p></li>
<li><p><strong>nodes</strong>– a list with the dispy cluster nodes addresses</p></li>
<li><p><strong>explain</strong>– try to explain, step by step, the one-step-ahead point forecasting result given the input data. (default value: False)</p></li>
<li><p><strong>generators</strong>– for multivariate methods on multi step ahead forecasting, generators is a dict where the keys
are the dataframe columun names (except the target_variable) and the values are lambda functions that
accept one value (the actual value of the variable) and return the next value or trained FTS
models that accept the actual values and forecast new ones.</p></li>
</ul>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>a numpy array with the forecasted data</p>
<spanclass="sig-name descname"><spanclass="pre">reset_calculated_values</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.reset_calculated_values"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.reset_calculated_values"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">shortname</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.10)"><spanclass="pre">str</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.shortname"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">standard_horizon</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.10)"><spanclass="pre">int</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.standard_horizon"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">train</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.train"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.train"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">transformations</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#list"title="(in Python v3.10)"><spanclass="pre">list</span></a><spanclass="p"><spanclass="pre">[</span></span><aclass="reference internal"href="pyFTS.common.transformations.html#pyFTS.common.transformations.transformation.Transformation"title="pyFTS.common.transformations.transformation.Transformation"><spanclass="pre">transformation.Transformation</span></a><spanclass="p"><spanclass="pre">]</span></span></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.transformations"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">transformations_param</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#list"title="(in Python v3.10)"><spanclass="pre">list</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.transformations_param"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">uod_clip</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.10)"><spanclass="pre">bool</span></a></em><aclass="headerlink"href="#pyFTS.common.fts.FTS.uod_clip"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-common-tree-module"></span><h2>pyFTS.common.tree module<aclass="headerlink"href="#module-pyFTS.common.tree"title="Permalink to this headline">¶</a></h2>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.tree.</span></span><spanclass="sig-name descname"><spanclass="pre">FLRGTree</span></span><aclass="reference internal"href="_modules/pyFTS/common/tree.html#FLRGTree"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.tree.FLRGTree"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span><spanclass="w"></span></em><spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.tree.</span></span><spanclass="sig-name descname"><spanclass="pre">FLRGTreeNode</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">value</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/tree.html#FLRGTreeNode"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.tree.FLRGTreeNode"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">appendChild</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">child</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/tree.html#FLRGTreeNode.appendChild"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.tree.FLRGTreeNode.appendChild"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">getChildren</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/tree.html#FLRGTreeNode.getChildren"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.tree.FLRGTreeNode.getChildren"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">getStr</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">k</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/tree.html#FLRGTreeNode.getStr"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.tree.FLRGTreeNode.getStr"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">paths</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">acc</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">[]</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/tree.html#FLRGTreeNode.paths"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.tree.FLRGTreeNode.paths"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.tree.</span></span><spanclass="sig-name descname"><spanclass="pre">build_tree_without_order</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">node</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">lags</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">level</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/tree.html#build_tree_without_order"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.tree.build_tree_without_order"title="Permalink to this definition">¶</a></dt>
<spanclass="sig-prename descclassname"><spanclass="pre">pyFTS.common.tree.</span></span><spanclass="sig-name descname"><spanclass="pre">flat</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">dados</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/tree.html#flat"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pyFTS.common.tree.flat"title="Permalink to this definition">¶</a></dt>