<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">class </em><codeclass="sig-prename descclassname">pyFTS.common.Composite.</code><codeclass="sig-name descname">FuzzySet</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">name</span></em>, <emclass="sig-param"><spanclass="n">superset</span><spanclass="o">=</span><spanclass="default_value">False</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Composite.html#FuzzySet"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Composite.FuzzySet"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">append</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">mf</span></em>, <emclass="sig-param"><spanclass="n">parameters</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Composite.html#FuzzySet.append"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Composite.FuzzySet.append"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">append_set</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">set</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Composite.html#FuzzySet.append_set"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Composite.FuzzySet.append_set"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">membership</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">x</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Composite.html#FuzzySet.membership"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Composite.FuzzySet.membership"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">transform</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">x</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Composite.html#FuzzySet.transform"><spanclass="viewcode-link">[source]</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">class </em><codeclass="sig-prename descclassname">pyFTS.common.FLR.</code><codeclass="sig-name descname">FLR</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">LHS</span></em>, <emclass="sig-param"><spanclass="n">RHS</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FLR.html#FLR"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FLR.FLR"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.common.FLR.</code><codeclass="sig-name descname">IndexedFLR</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">index</span></em>, <emclass="sig-param"><spanclass="n">LHS</span></em>, <emclass="sig-param"><spanclass="n">RHS</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FLR.html#IndexedFLR"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FLR.IndexedFLR"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">index</code><aclass="headerlink"href="#pyFTS.common.FLR.IndexedFLR.index"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.FLR.</code><codeclass="sig-name descname">generate_high_order_recurrent_flr</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">fuzzyData</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FLR.html#generate_high_order_recurrent_flr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FLR.generate_high_order_recurrent_flr"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.FLR.</code><codeclass="sig-name descname">generate_non_recurrent_flrs</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">fuzzyData</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FLR.html#generate_non_recurrent_flrs"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FLR.generate_non_recurrent_flrs"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.FLR.</code><codeclass="sig-name descname">generate_recurrent_flrs</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">fuzzyData</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FLR.html#generate_recurrent_flrs"><spanclass="viewcode-link">[source]</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>
<codeclass="sig-name descname">Z</code><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.Z"title="Permalink to this definition">¶</a></dt>
<dd><p>Partition function in respect to the membership function</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.FuzzySet.FuzzySet.alpha">
<codeclass="sig-name descname">alpha</code><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.alpha"title="Permalink to this definition">¶</a></dt>
<dd><p>The alpha cut value</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.FuzzySet.FuzzySet.centroid">
<codeclass="sig-name descname">centroid</code><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.centroid"title="Permalink to this definition">¶</a></dt>
<dd><p>The fuzzy set center of mass (or midpoint)</p>
<codeclass="sig-name descname">membership</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">x</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#FuzzySet.membership"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.membership"title="Permalink to this definition">¶</a></dt>
<ddclass="field-even"><p>membership value of x at this fuzzy set</p>
</dd>
</dl>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.FuzzySet.FuzzySet.mf">
<codeclass="sig-name descname">mf</code><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.mf"title="Permalink to this definition">¶</a></dt>
<dd><p>The membership function</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.FuzzySet.FuzzySet.name">
<codeclass="sig-name descname">name</code><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.name"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">parameters</code><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.parameters"title="Permalink to this definition">¶</a></dt>
<dd><p>The parameters of the membership function</p>
<codeclass="sig-name descname">partition_function</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">uod</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">nbins</span><spanclass="o">=</span><spanclass="default_value">100</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#FuzzySet.partition_function"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.partition_function"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">transform</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">x</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#FuzzySet.transform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.transform"title="Permalink to this definition">¶</a></dt>
<ddclass="field-even"><p>return a native type value for the structured type</p>
</dd>
</dl>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.FuzzySet.FuzzySet.type">
<codeclass="sig-name descname">type</code><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.type"title="Permalink to this definition">¶</a></dt>
<dd><p>The fuzzy set type (common, composite, nonstationary, etc)</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.FuzzySet.FuzzySet.variable">
<codeclass="sig-name descname">variable</code><aclass="headerlink"href="#pyFTS.common.FuzzySet.FuzzySet.variable"title="Permalink to this definition">¶</a></dt>
<dd><p>In multivariate time series, indicate for which variable this fuzzy set belogs</p>
<codeclass="sig-prename descclassname">pyFTS.common.FuzzySet.</code><codeclass="sig-name descname">check_bounds</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">fuzzy_sets</span></em>, <emclass="sig-param"><spanclass="n">ordered_sets</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#check_bounds"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.check_bounds"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.FuzzySet.</code><codeclass="sig-name descname">check_bounds_index</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">fuzzy_sets</span></em>, <emclass="sig-param"><spanclass="n">ordered_sets</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#check_bounds_index"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.check_bounds_index"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.FuzzySet.</code><codeclass="sig-name descname">fuzzyfy</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">partitioner</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#fuzzyfy"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.fuzzyfy"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.FuzzySet.</code><codeclass="sig-name descname">fuzzyfy_instance</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inst</span></em>, <emclass="sig-param"><spanclass="n">fuzzy_sets</span></em>, <emclass="sig-param"><spanclass="n">ordered_sets</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#fuzzyfy_instance"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.fuzzyfy_instance"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.FuzzySet.</code><codeclass="sig-name descname">fuzzyfy_instances</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">fuzzy_sets</span></em>, <emclass="sig-param"><spanclass="n">ordered_sets</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#fuzzyfy_instances"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.fuzzyfy_instances"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.FuzzySet.</code><codeclass="sig-name descname">fuzzyfy_series_old</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">fuzzy_sets</span></em>, <emclass="sig-param"><spanclass="n">method</span><spanclass="o">=</span><spanclass="default_value">'maximum'</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#fuzzyfy_series_old"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.fuzzyfy_series_old"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.FuzzySet.</code><codeclass="sig-name descname">get_fuzzysets</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inst</span></em>, <emclass="sig-param"><spanclass="n">fuzzy_sets</span></em>, <emclass="sig-param"><spanclass="n">ordered_sets</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">alpha_cut</span><spanclass="o">=</span><spanclass="default_value">0.0</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#get_fuzzysets"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.get_fuzzysets"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.FuzzySet.</code><codeclass="sig-name descname">get_maximum_membership_fuzzyset</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inst</span></em>, <emclass="sig-param"><spanclass="n">fuzzy_sets</span></em>, <emclass="sig-param"><spanclass="n">ordered_sets</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#get_maximum_membership_fuzzyset"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.get_maximum_membership_fuzzyset"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.FuzzySet.</code><codeclass="sig-name descname">get_maximum_membership_fuzzyset_index</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inst</span></em>, <emclass="sig-param"><spanclass="n">fuzzy_sets</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#get_maximum_membership_fuzzyset_index"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.get_maximum_membership_fuzzyset_index"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.FuzzySet.</code><codeclass="sig-name descname">grant_bounds</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">fuzzy_sets</span></em>, <emclass="sig-param"><spanclass="n">ordered_sets</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#grant_bounds"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.FuzzySet.grant_bounds"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.FuzzySet.</code><codeclass="sig-name descname">set_ordered</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">fuzzy_sets</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/FuzzySet.html#set_ordered"><spanclass="viewcode-link">[source]</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>
<codeclass="sig-prename descclassname">pyFTS.common.Membership.</code><codeclass="sig-name descname">bellmf</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">x</span></em>, <emclass="sig-param"><spanclass="n">parameters</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Membership.html#bellmf"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Membership.bellmf"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Membership.</code><codeclass="sig-name descname">gaussmf</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">x</span></em>, <emclass="sig-param"><spanclass="n">parameters</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Membership.html#gaussmf"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Membership.gaussmf"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Membership.</code><codeclass="sig-name descname">sigmf</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">x</span></em>, <emclass="sig-param"><spanclass="n">parameters</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Membership.html#sigmf"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Membership.sigmf"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Membership.</code><codeclass="sig-name descname">singleton</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">x</span></em>, <emclass="sig-param"><spanclass="n">parameters</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Membership.html#singleton"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Membership.singleton"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Membership.</code><codeclass="sig-name descname">trapmf</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">x</span></em>, <emclass="sig-param"><spanclass="n">parameters</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Membership.html#trapmf"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Membership.trapmf"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Membership.</code><codeclass="sig-name descname">trimf</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">x</span></em>, <emclass="sig-param"><spanclass="n">parameters</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Membership.html#trimf"><spanclass="viewcode-link">[source]</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">class </em><codeclass="sig-prename descclassname">pyFTS.common.SortedCollection.</code><codeclass="sig-name descname">SortedCollection</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">iterable</span><spanclass="o">=</span><spanclass="default_value">()</span></em>, <emclass="sig-param"><spanclass="n">key</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection"><spanclass="viewcode-link">[source]</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>
<codeclass="sig-name descname">around</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">k</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.around"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.around"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">between</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">ge</span></em>, <emclass="sig-param"><spanclass="n">le</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.between"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.between"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">clear</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.clear"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.clear"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">copy</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.copy"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.copy"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">count</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">item</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.count"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.count"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">find</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">k</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.find"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.find"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">find_ge</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">k</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.find_ge"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.find_ge"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">find_gt</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">k</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.find_gt"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.find_gt"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">find_le</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">k</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.find_le"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.find_le"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">find_lt</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">k</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.find_lt"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.find_lt"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">index</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">item</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.index"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.index"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">insert</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">item</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.insert"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.insert"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">insert_right</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">item</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.insert_right"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.insert_right"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">inside</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">ge</span></em>, <emclass="sig-param"><spanclass="n">le</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.inside"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.inside"title="Permalink to this definition">¶</a></dt>
<emclass="property">property </em><codeclass="sig-name descname">key</code><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">remove</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">item</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/SortedCollection.html#SortedCollection.remove"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.SortedCollection.SortedCollection.remove"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-common-transformations-module"></span><h2>pyFTS.common.Transformations module<aclass="headerlink"href="#module-pyFTS.common.Transformations"title="Permalink to this headline">¶</a></h2>
<p>Common data transformation used on pre and post processing of the FTS</p>
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.common.Transformations.</code><codeclass="sig-name descname">AdaptiveExpectation</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">parameters</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#AdaptiveExpectation"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.AdaptiveExpectation"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">apply</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">param</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#AdaptiveExpectation.apply"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.AdaptiveExpectation.apply"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">inverse</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">param</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#AdaptiveExpectation.inverse"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.AdaptiveExpectation.inverse"title="Permalink to this definition">¶</a></dt>
<emclass="property">property </em><codeclass="sig-name descname">parameters</code><aclass="headerlink"href="#pyFTS.common.Transformations.AdaptiveExpectation.parameters"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.common.Transformations.</code><codeclass="sig-name descname">BoxCox</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">plambda</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#BoxCox"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.BoxCox"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">apply</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">param</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#BoxCox.apply"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.BoxCox.apply"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">inverse</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">param</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#BoxCox.inverse"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.BoxCox.inverse"title="Permalink to this definition">¶</a></dt>
<emclass="property">property </em><codeclass="sig-name descname">parameters</code><aclass="headerlink"href="#pyFTS.common.Transformations.BoxCox.parameters"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.common.Transformations.</code><codeclass="sig-name descname">Differential</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">lag</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#Differential"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.Differential"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">apply</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">param</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#Differential.apply"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.Differential.apply"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">inverse</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">param</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#Differential.inverse"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.Differential.inverse"title="Permalink to this definition">¶</a></dt>
<emclass="property">property </em><codeclass="sig-name descname">parameters</code><aclass="headerlink"href="#pyFTS.common.Transformations.Differential.parameters"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.common.Transformations.</code><codeclass="sig-name descname">LinearTrend</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#LinearTrend"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.LinearTrend"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">apply</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">param</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#LinearTrend.apply"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.LinearTrend.apply"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">data_field</code><aclass="headerlink"href="#pyFTS.common.Transformations.LinearTrend.data_field"title="Permalink to this definition">¶</a></dt>
<dd><p>The Pandas Dataframe column to use as data</p>
<codeclass="sig-name descname">datetime_mask</code><aclass="headerlink"href="#pyFTS.common.Transformations.LinearTrend.datetime_mask"title="Permalink to this definition">¶</a></dt>
<dd><p>The Pandas Dataframe mask for datetime indexes</p>
<codeclass="sig-name descname">generate_indexes</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">value</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#LinearTrend.generate_indexes"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.LinearTrend.generate_indexes"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">increment</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">value</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#LinearTrend.increment"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.LinearTrend.increment"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">index_field</code><aclass="headerlink"href="#pyFTS.common.Transformations.LinearTrend.index_field"title="Permalink to this definition">¶</a></dt>
<dd><p>The Pandas Dataframe column to use as index</p>
<codeclass="sig-name descname">index_type</code><aclass="headerlink"href="#pyFTS.common.Transformations.LinearTrend.index_type"title="Permalink to this definition">¶</a></dt>
<dd><p>The type of the time index used to train the regression coefficients. Available types are: field, datetime</p>
<codeclass="sig-name descname">inverse</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">param</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#LinearTrend.inverse"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.LinearTrend.inverse"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">model</code><aclass="headerlink"href="#pyFTS.common.Transformations.LinearTrend.model"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">train</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#LinearTrend.train"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.LinearTrend.train"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">trend</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#LinearTrend.trend"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.LinearTrend.trend"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.common.Transformations.</code><codeclass="sig-name descname">ROI</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#ROI"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.ROI"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">apply</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">param</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#ROI.apply"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.ROI.apply"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">inverse</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">param</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#ROI.inverse"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.ROI.inverse"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.common.Transformations.</code><codeclass="sig-name descname">Scale</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">min</span><spanclass="o">=</span><spanclass="default_value">0</span></em>, <emclass="sig-param"><spanclass="n">max</span><spanclass="o">=</span><spanclass="default_value">1</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#Scale"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.Scale"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">apply</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">param</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#Scale.apply"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.Scale.apply"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">inverse</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">param</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#Scale.inverse"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.Scale.inverse"title="Permalink to this definition">¶</a></dt>
<emclass="property">property </em><codeclass="sig-name descname">parameters</code><aclass="headerlink"href="#pyFTS.common.Transformations.Scale.parameters"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.common.Transformations.</code><codeclass="sig-name descname">Transformation</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#Transformation"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.Transformation"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">apply</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">param</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#Transformation.apply"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.Transformation.apply"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">inverse</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">param</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#Transformation.inverse"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.Transformation.inverse"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Transformations.</code><codeclass="sig-name descname">Z</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">original</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Transformations.html#Z"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Transformations.Z"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>
<codeclass="sig-prename descclassname">pyFTS.common.Util.</code><codeclass="sig-name descname">current_milli_time</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.common.Util.current_milli_time"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Util.</code><codeclass="sig-name descname">draw_sets_on_axis</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">axis</span></em>, <emclass="sig-param"><spanclass="n">model</span></em>, <emclass="sig-param"><spanclass="n">size</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#draw_sets_on_axis"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Util.draw_sets_on_axis"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Util.</code><codeclass="sig-name descname">enumerate2</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">xs</span></em>, <emclass="sig-param"><spanclass="n">start</span><spanclass="o">=</span><spanclass="default_value">0</span></em>, <emclass="sig-param"><spanclass="n">step</span><spanclass="o">=</span><spanclass="default_value">1</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#enumerate2"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Util.enumerate2"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Util.</code><codeclass="sig-name descname">load_env</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">file</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#load_env"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Util.load_env"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Util.</code><codeclass="sig-name descname">load_obj</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">file</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#load_obj"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Util.load_obj"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Util.</code><codeclass="sig-name descname">persist_env</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">file</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#persist_env"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Util.persist_env"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Util.</code><codeclass="sig-name descname">persist_obj</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">obj</span></em>, <emclass="sig-param"><spanclass="n">file</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#persist_obj"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Util.persist_obj"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Util.</code><codeclass="sig-name descname">plot_distribution2</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">probabilitydist</span></em>, <emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#plot_distribution2"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Util.plot_distribution2"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Util.</code><codeclass="sig-name descname">plot_interval2</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">intervals</span></em>, <emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#plot_interval2"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Util.plot_interval2"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Util.</code><codeclass="sig-name descname">plot_probability_distributions</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">pmfs</span></em>, <emclass="sig-param"><spanclass="n">lcolors</span></em>, <emclass="sig-param"><spanclass="n">tam</span><spanclass="o">=</span><spanclass="default_value">[15, 7]</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#plot_probability_distributions"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Util.plot_probability_distributions"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Util.</code><codeclass="sig-name descname">show_and_save_image</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">fig</span></em>, <emclass="sig-param"><spanclass="n">file</span></em>, <emclass="sig-param"><spanclass="n">flag</span></em>, <emclass="sig-param"><spanclass="n">lgd</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#show_and_save_image"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.Util.show_and_save_image"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.Util.</code><codeclass="sig-name descname">uniquefilename</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">name</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/Util.html#uniquefilename"><spanclass="viewcode-link">[source]</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">class </em><codeclass="sig-prename descclassname">pyFTS.common.flrg.</code><codeclass="sig-name descname">FLRG</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">order</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">append_rhs</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">set</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.append_rhs"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.append_rhs"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_key</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.get_key"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.get_key"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_lower</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">sets</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.get_lower"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.get_lower"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_membership</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">sets</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.get_membership"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.get_membership"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_midpoint</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">sets</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.get_midpoint"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.get_midpoint"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_midpoints</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">sets</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.get_midpoints"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.get_midpoints"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_upper</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">sets</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.get_upper"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.flrg.FLRG.get_upper"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">reset_calculated_values</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/flrg.html#FLRG.reset_calculated_values"><spanclass="viewcode-link">[source]</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">class </em><codeclass="sig-prename descclassname">pyFTS.common.fts.</code><codeclass="sig-name descname">FTS</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">alpha_cut</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.alpha_cut"title="Permalink to this definition">¶</a></dt>
<dd><p>A float with the minimal membership to be considered on fuzzyfication process</p>
<codeclass="sig-name descname">append_log</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">operation</span></em>, <emclass="sig-param"><spanclass="n">value</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.append_log"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.append_log"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">append_rule</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">flrg</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.append_rule"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.append_rule"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">append_transformation</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">transformation</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.append_transformation"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.append_transformation"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">apply_inverse_transformations</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">params</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.apply_inverse_transformations"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.apply_inverse_transformations"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">apply_transformations</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">params</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">updateUoD</span><spanclass="o">=</span><spanclass="default_value">False</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.apply_transformations"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.apply_transformations"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">auto_update</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.auto_update"title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean value indicating that model is incremental</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.fts.FTS.benchmark_only">
<codeclass="sig-name descname">benchmark_only</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.benchmark_only"title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean value indicating a façade for external (non-FTS) model used on benchmarks or ensembles.</p>
<codeclass="sig-name descname">clip_uod</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">ndata</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.clip_uod"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.clip_uod"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">clone_parameters</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">model</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.clone_parameters"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.clone_parameters"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">fit</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">ndata</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.fit"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.fit"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">forecast</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.forecast"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.forecast"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">forecast_ahead</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">steps</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.forecast_ahead"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.forecast_ahead"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">forecast_ahead_distribution</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">steps</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.forecast_ahead_distribution"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.forecast_ahead_distribution"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">forecast_ahead_interval</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">steps</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.forecast_ahead_interval"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.forecast_ahead_interval"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">forecast_ahead_multivariate</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">steps</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.forecast_ahead_multivariate"><spanclass="viewcode-link">[source]</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>
<codeclass="sig-name descname">forecast_distribution</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.forecast_distribution"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.forecast_distribution"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">forecast_interval</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.forecast_interval"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.forecast_interval"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">forecast_multivariate</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.forecast_multivariate"><spanclass="viewcode-link">[source]</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>
<codeclass="sig-name descname">fuzzy</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.fuzzy"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.fuzzy"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_UoD</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.get_UoD"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.get_UoD"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">has_interval_forecasting</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.has_interval_forecasting"title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean value indicating if the model supports interval forecasting, default: False</p>
<codeclass="sig-name descname">has_point_forecasting</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.has_point_forecasting"title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean value indicating if the model supports point forecasting, default: True</p>
<codeclass="sig-name descname">has_probability_forecasting</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.has_probability_forecasting"title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean value indicating if the model support probabilistic forecasting, default: False</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.fts.FTS.has_seasonality">
<codeclass="sig-name descname">has_seasonality</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.has_seasonality"title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean value indicating if the model supports seasonal indexers, default: False</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.fts.FTS.indexer">
<codeclass="sig-name descname">indexer</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.indexer"title="Permalink to this definition">¶</a></dt>
<dd><p>An pyFTS.models.seasonal.Indexer object for indexing the time series data</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.fts.FTS.is_clustered">
<codeclass="sig-name descname">is_clustered</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.is_clustered"title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean value indicating if the model support multivariate time series (Pandas DataFrame), but works like
a monovariate method, default: False</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.fts.FTS.is_high_order">
<codeclass="sig-name descname">is_high_order</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.is_high_order"title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean value indicating if the model support orders greater than 1, default: False</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.fts.FTS.is_multivariate">
<codeclass="sig-name descname">is_multivariate</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.is_multivariate"title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean value indicating if the model support multivariate time series (Pandas DataFrame), default: False</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.fts.FTS.is_time_variant">
<codeclass="sig-name descname">is_time_variant</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.is_time_variant"title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean value indicating if this model is time variant</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.fts.FTS.is_wrapper">
<codeclass="sig-name descname">is_wrapper</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.is_wrapper"title="Permalink to this definition">¶</a></dt>
<dd><p>Indicates that this model is a wrapper for other(s) method(s)</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.fts.FTS.lags">
<codeclass="sig-name descname">lags</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.lags"title="Permalink to this definition">¶</a></dt>
<dd><p>The list of lag indexes for high order models</p>
<codeclass="sig-name descname">len_total</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.len_total"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.len_total"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">merge</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">model</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.merge"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.merge"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">min_order</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.min_order"title="Permalink to this definition">¶</a></dt>
<dd><p>In high order models, this integer value indicates the minimal order supported for the model, default: 1</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.fts.FTS.name">
<codeclass="sig-name descname">name</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.name"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">offset</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.offset"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.offset"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p>An integer with the number of lags to skip</p>
</dd>
</dl>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.fts.FTS.order">
<codeclass="sig-name descname">order</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.order"title="Permalink to this definition">¶</a></dt>
<dd><p>A integer with the model order (number of past lags are used on forecasting)</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.fts.FTS.original_max">
<codeclass="sig-name descname">original_max</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.original_max"title="Permalink to this definition">¶</a></dt>
<dd><p>A float with the upper limit of the Universe of Discourse, the maximal value found on training data</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.fts.FTS.original_min">
<codeclass="sig-name descname">original_min</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.original_min"title="Permalink to this definition">¶</a></dt>
<dd><p>A float with the lower limit of the Universe of Discourse, the minimal value found on training data</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.fts.FTS.partitioner">
<codeclass="sig-name descname">partitioner</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.partitioner"title="Permalink to this definition">¶</a></dt>
<dd><p>A pyFTS.partitioners.Partitioner object with the Universe of Discourse partitioner used on the model. This is a mandatory dependecy.</p>
<codeclass="sig-name descname">predict</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.predict"><spanclass="viewcode-link">[source]</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 horizon, i. e., the number of steps ahead to forecast (default value: 1)</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
<codeclass="sig-name descname">reset_calculated_values</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.reset_calculated_values"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.reset_calculated_values"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">shortname</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.shortname"title="Permalink to this definition">¶</a></dt>
<dd><p>A string with a short name or alias for the model</p>
<codeclass="sig-name descname">train</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/fts.html#FTS.train"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.fts.FTS.train"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">transformations</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.transformations"title="Permalink to this definition">¶</a></dt>
<dd><p>A list with the data transformations (common.Transformations) applied on model pre and post processing, default: []</p>
<codeclass="sig-name descname">transformations_param</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.transformations_param"title="Permalink to this definition">¶</a></dt>
<dd><p>A list with the specific parameters for each data transformation</p>
</dd></dl>
<dlclass="py attribute">
<dtid="pyFTS.common.fts.FTS.uod_clip">
<codeclass="sig-name descname">uod_clip</code><aclass="headerlink"href="#pyFTS.common.fts.FTS.uod_clip"title="Permalink to this definition">¶</a></dt>
<dd><p>Flag indicating if the test data will be clipped inside the training Universe of Discourse</p>
<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">class </em><codeclass="sig-prename descclassname">pyFTS.common.tree.</code><codeclass="sig-name descname">FLRGTree</code><aclass="reference internal"href="_modules/pyFTS/common/tree.html#FLRGTree"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.tree.FLRGTree"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.common.tree.</code><codeclass="sig-name descname">FLRGTreeNode</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">value</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/tree.html#FLRGTreeNode"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.tree.FLRGTreeNode"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">appendChild</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">child</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/tree.html#FLRGTreeNode.appendChild"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.tree.FLRGTreeNode.appendChild"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">getChildren</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/tree.html#FLRGTreeNode.getChildren"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.tree.FLRGTreeNode.getChildren"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">getStr</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">k</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/tree.html#FLRGTreeNode.getStr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.tree.FLRGTreeNode.getStr"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">paths</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">acc</span><spanclass="o">=</span><spanclass="default_value">[]</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/tree.html#FLRGTreeNode.paths"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.tree.FLRGTreeNode.paths"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.tree.</code><codeclass="sig-name descname">build_tree_without_order</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">node</span></em>, <emclass="sig-param"><spanclass="n">lags</span></em>, <emclass="sig-param"><spanclass="n">level</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/tree.html#build_tree_without_order"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.tree.build_tree_without_order"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.common.tree.</code><codeclass="sig-name descname">flat</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">dados</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/common/tree.html#flat"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.common.tree.flat"title="Permalink to this definition">¶</a></dt>