<spanid="pyfts-partitioners-partitioner-module"></span><h2>pyFTS.partitioners.partitioner module<aclass="headerlink"href="#module-pyFTS.partitioners.partitioner"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">pyFTS.partitioners.partitioner.</code><codeclass="descname">Partitioner</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.partitioner.Partitioner"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">build</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.partitioner.Partitioner.build"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">build_index</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.partitioner.Partitioner.build_index"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">check_bounds</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.partitioner.Partitioner.check_bounds"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>data</strong>– input data to be verified</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body">the index of the closest fuzzy set when data is outside de universe of discourse or None if</td>
<codeclass="descname">defuzzyfy</code><spanclass="sig-paren">(</span><em>values</em>, <em>mode='both'</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.partitioner.Partitioner.defuzzyfy"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">extractor</code><spanclass="sig-paren">(</span><em>x</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.partitioner.Partitioner.extractor"title="Permalink to this definition">¶</a></dt>
<dd><p>Extract a single primitive type from an structured instance</p>
<codeclass="descname">fuzzyfy</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.partitioner.Partitioner.fuzzyfy"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_name</code><spanclass="sig-paren">(</span><em>counter</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.partitioner.Partitioner.get_name"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">lower_set</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.partitioner.Partitioner.lower_set"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">plot</code><spanclass="sig-paren">(</span><em>ax</em>, <em>rounding=0</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.partitioner.Partitioner.plot"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">plot_set</code><spanclass="sig-paren">(</span><em>ax</em>, <em>s</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.partitioner.Partitioner.plot_set"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">search</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.partitioner.Partitioner.search"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">upper_set</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.partitioner.Partitioner.upper_set"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-partitioners-cmeans-module"></span><h2>pyFTS.partitioners.CMeans module<aclass="headerlink"href="#module-pyFTS.partitioners.CMeans"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">pyFTS.partitioners.CMeans.</code><codeclass="descname">CMeansPartitioner</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.CMeans.CMeansPartitioner"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">build</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.CMeans.CMeansPartitioner.build"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.partitioners.CMeans.</code><codeclass="descname">c_means</code><spanclass="sig-paren">(</span><em>k</em>, <em>dados</em>, <em>tam</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.CMeans.c_means"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.partitioners.CMeans.</code><codeclass="descname">distance</code><spanclass="sig-paren">(</span><em>x</em>, <em>y</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.CMeans.distance"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-partitioners-entropy-module"></span><h2>pyFTS.partitioners.Entropy module<aclass="headerlink"href="#module-pyFTS.partitioners.Entropy"title="Permalink to this headline">¶</a></h2>
<p>C. H. Cheng, R. J. Chang, and C. A. Yeh, “Entropy-based and trapezoidal fuzzification-based fuzzy time series approach for forecasting IT project cost,”
Technol. Forecast. Social Change, vol. 73, no. 5, pp. 524–542, Jun. 2006.</p>
<emclass="property">class </em><codeclass="descclassname">pyFTS.partitioners.Entropy.</code><codeclass="descname">EntropyPartitioner</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Entropy.EntropyPartitioner"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">build</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Entropy.EntropyPartitioner.build"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.partitioners.Entropy.</code><codeclass="descname">PMF</code><spanclass="sig-paren">(</span><em>data</em>, <em>threshold</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Entropy.PMF"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.partitioners.Entropy.</code><codeclass="descname">bestSplit</code><spanclass="sig-paren">(</span><em>data</em>, <em>npart</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Entropy.bestSplit"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.partitioners.Entropy.</code><codeclass="descname">entropy</code><spanclass="sig-paren">(</span><em>data</em>, <em>threshold</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Entropy.entropy"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.partitioners.Entropy.</code><codeclass="descname">informationGain</code><spanclass="sig-paren">(</span><em>data</em>, <em>thres1</em>, <em>thres2</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Entropy.informationGain"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.partitioners.Entropy.</code><codeclass="descname">splitAbove</code><spanclass="sig-paren">(</span><em>data</em>, <em>threshold</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Entropy.splitAbove"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.partitioners.Entropy.</code><codeclass="descname">splitBelow</code><spanclass="sig-paren">(</span><em>data</em>, <em>threshold</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Entropy.splitBelow"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-partitioners-fcm-module"></span><h2>pyFTS.partitioners.FCM module<aclass="headerlink"href="#module-pyFTS.partitioners.FCM"title="Permalink to this headline">¶</a></h2>
<p>S. T. Li, Y. C. Cheng, and S. Y. Lin, “A FCM-based deterministic forecasting model for fuzzy time series,”
<emclass="property">class </em><codeclass="descclassname">pyFTS.partitioners.FCM.</code><codeclass="descname">FCMPartitioner</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.FCM.FCMPartitioner"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">build</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.FCM.FCMPartitioner.build"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.partitioners.FCM.</code><codeclass="descname">fuzzy_cmeans</code><spanclass="sig-paren">(</span><em>k</em>, <em>dados</em>, <em>tam</em>, <em>m</em>, <em>deltadist=0.001</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.FCM.fuzzy_cmeans"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.partitioners.FCM.</code><codeclass="descname">fuzzy_distance</code><spanclass="sig-paren">(</span><em>x</em>, <em>y</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.FCM.fuzzy_distance"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.partitioners.FCM.</code><codeclass="descname">membership</code><spanclass="sig-paren">(</span><em>val</em>, <em>vals</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.FCM.membership"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-partitioners-grid-module"></span><h2>pyFTS.partitioners.Grid module<aclass="headerlink"href="#module-pyFTS.partitioners.Grid"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">pyFTS.partitioners.Grid.</code><codeclass="descname">GridPartitioner</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Grid.GridPartitioner"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">build</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Grid.GridPartitioner.build"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-partitioners-huarng-module"></span><h2>pyFTS.partitioners.Huarng module<aclass="headerlink"href="#module-pyFTS.partitioners.Huarng"title="Permalink to this headline">¶</a></h2>
<p>K. H. Huarng, “Effective lengths of intervals to improve forecasting in fuzzy time series,”
<emclass="property">class </em><codeclass="descclassname">pyFTS.partitioners.Huarng.</code><codeclass="descname">HuarngPartitioner</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Huarng.HuarngPartitioner"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">build</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Huarng.HuarngPartitioner.build"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-partitioners-singleton-module"></span><h2>pyFTS.partitioners.Singleton module<aclass="headerlink"href="#module-pyFTS.partitioners.Singleton"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">pyFTS.partitioners.Singleton.</code><codeclass="descname">SingletonPartitioner</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Singleton.SingletonPartitioner"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">build</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Singleton.SingletonPartitioner.build"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-partitioners-simple-module"></span><h2>pyFTS.partitioners.Simple module<aclass="headerlink"href="#module-pyFTS.partitioners.Simple"title="Permalink to this headline">¶</a></h2>
<p>Simple Partitioner for manually informed fuzzy sets</p>
<emclass="property">class </em><codeclass="descclassname">pyFTS.partitioners.Simple.</code><codeclass="descname">SimplePartitioner</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Simple.SimplePartitioner"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">append</code><spanclass="sig-paren">(</span><em>name</em>, <em>mf</em>, <em>parameters</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Simple.SimplePartitioner.append"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">append_complex</code><spanclass="sig-paren">(</span><em>fs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Simple.SimplePartitioner.append_complex"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-partitioners-subclust-module"></span><h2>pyFTS.partitioners.SubClust module<aclass="headerlink"href="#module-pyFTS.partitioners.SubClust"title="Permalink to this headline">¶</a></h2>
<p>Chiu, Stephen L. “Fuzzy model identification based on cluster estimation.” Journal of Intelligent & fuzzy systems 2.3 (1994): 267-278.</p>
<emclass="property">class </em><codeclass="descclassname">pyFTS.partitioners.SubClust.</code><codeclass="descname">SubClustPartitioner</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.SubClust.SubClustPartitioner"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">build</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.SubClust.SubClustPartitioner.build"title="Permalink to this definition">¶</a></dt>
<dd><p>Perform the partitioning of the Universe of Discourse</p>
<codeclass="descclassname">pyFTS.partitioners.SubClust.</code><codeclass="descname">imax</code><spanclass="sig-paren">(</span><em>vec</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.SubClust.imax"title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="function">
<dtid="pyFTS.partitioners.SubClust.subclust">
<codeclass="descclassname">pyFTS.partitioners.SubClust.</code><codeclass="descname">subclust</code><spanclass="sig-paren">(</span><em>data</em>, <em>ra</em>, <em>rb</em>, <em>eps_sup</em>, <em>eps_inf</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.SubClust.subclust"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-partitioners-util-module"></span><h2>pyFTS.partitioners.Util module<aclass="headerlink"href="#module-pyFTS.partitioners.Util"title="Permalink to this headline">¶</a></h2>
<p>Facility methods for pyFTS partitioners module</p>
<codeclass="descclassname">pyFTS.partitioners.Util.</code><codeclass="descname">plot_partitioners</code><spanclass="sig-paren">(</span><em>data, objs, tam=[12, 10], save=False, file=None, axis=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.partitioners.Util.plot_partitioners"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-partitioners-parallel-util-module"></span><h2>pyFTS.partitioners.parallel_util module<aclass="headerlink"href="#module-pyFTS.partitioners.parallel_util"title="Permalink to this headline">¶</a></h2>