<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="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="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="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="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.averageloglikelihood"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">build_cdf_qtl</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><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="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="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.cumulative"title="Permalink to this definition">¶</a></dt>
<dd><p>Return the cumulative probability densities for the input values,
<codeclass="descname">density</code><spanclass="sig-paren">(</span><em>values</em><spanclass="sig-paren">)</span><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="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="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="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="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="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">plot</code><spanclass="sig-paren">(</span><em>axis=None, color='black', tam=[10, 6], title=None</em><spanclass="sig-paren">)</span><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="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="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.quantile"title="Permalink to this definition">¶</a></dt>
<dd><p>Return the Universe of Discourse values in relation to the quantile input values,
<codeclass="descname">set</code><spanclass="sig-paren">(</span><em>value</em>, <em>density</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.ProbabilityDistribution.set"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.probabilistic.ProbabilityDistribution.</code><codeclass="descname">from_point</code><spanclass="sig-paren">(</span><em>x</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.probabilistic.ProbabilityDistribution.from_point"title="Permalink to this definition">¶</a></dt>
<dd><p>Create a probability distribution from a scalar value</p>
<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>
<emclass="property">class </em><codeclass="descclassname">pyFTS.probabilistic.kde.</code><codeclass="descname">KernelSmoothing</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.probabilistic.kde.KernelSmoothing"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">kernel_function</code><spanclass="sig-paren">(</span><em>u</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.probabilistic.kde.KernelSmoothing.kernel_function"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">probability</code><spanclass="sig-paren">(</span><em>x</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.probabilistic.kde.KernelSmoothing.probability"title="Permalink to this definition">¶</a></dt>