<spanid="module-contents"></span><h2>Module contents<aclass="headerlink"href="#module-pyFTS.probabilistic"title="Permalink to this headline">¶</a></h2>
<spanid="pyfts-probabilistic-probabilitydistribution-module"></span><h2>pyFTS.probabilistic.ProbabilityDistribution module<aclass="headerlink"href="#module-pyFTS.probabilistic.ProbabilityDistribution"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">pyFTS.probabilistic.ProbabilityDistribution.</code><codeclass="descname">ProbabilityDistribution</code><spanclass="sig-paren">(</span><em>type='KDE'</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">append</code><spanclass="sig-paren">(</span><em>values</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.append"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.append"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>values</strong>– A list of values to account the frequency</td>
<codeclass="descname">append_interval</code><spanclass="sig-paren">(</span><em>intervals</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.append_interval"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.append_interval"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>intervals</strong>– A list of intervals do increment the frequency</td>
<codeclass="descname">averageloglikelihood</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.averageloglikelihood"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.averageloglikelihood"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">bins</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.bins"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">build_cdf_qtl</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.build_cdf_qtl"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.build_cdf_qtl"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">crossentropy</code><spanclass="sig-paren">(</span><em>q</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.crossentropy"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.crossentropy"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>q</strong>– a probabilistic.ProbabilityDistribution object</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body">Cross entropy between this probability distribution and the given distribution</td>
<codeclass="descname">cumulative</code><spanclass="sig-paren">(</span><em>values</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.cumulative"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.cumulative"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">density</code><spanclass="sig-paren">(</span><em>values</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.density"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.density"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>values</strong>– List of values to return the densities</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body">List of probability densities for the input values</td>
<codeclass="descname">differential_offset</code><spanclass="sig-paren">(</span><em>value</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.differential_offset"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.differential_offset"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">empiricalloglikelihood</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.empiricalloglikelihood"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.empiricalloglikelihood"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">entropy</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.entropy"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.entropy"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">expected_value</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.expected_value"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.expected_value"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">kullbackleiblerdivergence</code><spanclass="sig-paren">(</span><em>q</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.kullbackleiblerdivergence"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.kullbackleiblerdivergence"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>q</strong>– a probabilistic.ProbabilityDistribution object</td>
<codeclass="descname">labels</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.labels"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">plot</code><spanclass="sig-paren">(</span><em>axis=None, color='black', tam=[10, 6], title=None</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.plot"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.plot"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">pseudologlikelihood</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.pseudologlikelihood"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.pseudologlikelihood"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">quantile</code><spanclass="sig-paren">(</span><em>values</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.quantile"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.quantile"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">set</code><spanclass="sig-paren">(</span><em>value</em>, <em>density</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/ProbabilityDistribution.html#ProbabilityDistribution.set"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.set"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">type</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.type"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">uod</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.uod"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-probabilistic-kde-module"></span><h2>pyFTS.probabilistic.kde module<aclass="headerlink"href="#module-pyFTS.probabilistic.kde"title="Permalink to this headline">¶</a></h2>
<p>Kernel Density Estimation</p>
<dlclass="class">
<dtid="pyFTS.probabilistic.kde.KernelSmoothing">
<emclass="property">class </em><codeclass="descclassname">pyFTS.probabilistic.kde.</code><codeclass="descname">KernelSmoothing</code><spanclass="sig-paren">(</span><em>h</em>, <em>kernel='epanechnikov'</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/kde.html#KernelSmoothing"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.kde.KernelSmoothing"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">h</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.probabilistic.kde.KernelSmoothing.h"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">kernel</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.probabilistic.kde.KernelSmoothing.kernel"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">kernel_function</code><spanclass="sig-paren">(</span><em>u</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/probabilistic/kde.html#KernelSmoothing.kernel_function"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.probabilistic.kde.KernelSmoothing.kernel_function"title="Permalink to this definition">¶</a></dt>