Documentation update
This commit is contained in:
parent
51bd6a5b3d
commit
8bf3f7b1e9
BIN
docs/build/doctrees/environment.pickle
vendored
BIN
docs/build/doctrees/environment.pickle
vendored
Binary file not shown.
Binary file not shown.
1
docs/build/html/_modules/index.html
vendored
1
docs/build/html/_modules/index.html
vendored
@ -78,6 +78,7 @@
|
||||
<li><a href="pyFTS/common/transformations/roi.html">pyFTS.common.transformations.roi</a></li>
|
||||
<li><a href="pyFTS/common/transformations/scale.html">pyFTS.common.transformations.scale</a></li>
|
||||
<li><a href="pyFTS/common/transformations/smoothing.html">pyFTS.common.transformations.smoothing</a></li>
|
||||
<li><a href="pyFTS/common/transformations/som.html">pyFTS.common.transformations.som</a></li>
|
||||
<li><a href="pyFTS/common/transformations/transformation.html">pyFTS.common.transformations.transformation</a></li>
|
||||
<li><a href="pyFTS/common/transformations/trend.html">pyFTS.common.transformations.trend</a></li>
|
||||
<li><a href="pyFTS/common/tree.html">pyFTS.common.tree</a></li>
|
||||
|
19
docs/build/html/genindex.html
vendored
19
docs/build/html/genindex.html
vendored
@ -206,6 +206,8 @@
|
||||
<li><a href="pyFTS.common.transformations.html#pyFTS.common.transformations.smoothing.ExponentialSmoothing.apply">(pyFTS.common.transformations.smoothing.ExponentialSmoothing method)</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.transformations.html#pyFTS.common.transformations.smoothing.MovingAverage.apply">(pyFTS.common.transformations.smoothing.MovingAverage method)</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.transformations.html#pyFTS.common.transformations.som.SOMTransformation.apply">(pyFTS.common.transformations.som.SOMTransformation method)</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.transformations.html#pyFTS.common.transformations.transformation.Transformation.apply">(pyFTS.common.transformations.transformation.Transformation method)</a>
|
||||
</li>
|
||||
@ -1603,6 +1605,8 @@
|
||||
<li><a href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.scale">pyFTS.common.transformations.scale</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.smoothing">pyFTS.common.transformations.smoothing</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.som">pyFTS.common.transformations.som</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.transformation">pyFTS.common.transformations.transformation</a>
|
||||
</li>
|
||||
@ -2290,6 +2294,13 @@
|
||||
|
||||
<ul>
|
||||
<li><a href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.smoothing">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
pyFTS.common.transformations.som
|
||||
|
||||
<ul>
|
||||
<li><a href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.som">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
@ -3028,6 +3039,8 @@
|
||||
<li><a href="pyFTS.benchmarks.html#pyFTS.benchmarks.Util.save_dataframe_point">save_dataframe_point() (in module pyFTS.benchmarks.Util)</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.benchmarks.html#pyFTS.benchmarks.Util.save_dataframe_probabilistic">save_dataframe_probabilistic() (in module pyFTS.benchmarks.Util)</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.transformations.html#pyFTS.common.transformations.som.SOMTransformation.save_net">save_net() (pyFTS.common.transformations.som.SOMTransformation method)</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.transformations.html#pyFTS.common.transformations.scale.Scale">Scale (class in pyFTS.common.transformations.scale)</a>
|
||||
</li>
|
||||
@ -3098,6 +3111,8 @@
|
||||
<li><a href="pyFTS.common.html#pyFTS.common.fts.FTS.shortname">shortname (pyFTS.common.fts.FTS attribute)</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.html#pyFTS.common.Util.show_and_save_image">show_and_save_image() (in module pyFTS.common.Util)</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.transformations.html#pyFTS.common.transformations.som.SOMTransformation.show_grid">show_grid() (pyFTS.common.transformations.som.SOMTransformation method)</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.html#pyFTS.common.Membership.sigmf">sigmf() (in module pyFTS.common.Membership)</a>
|
||||
</li>
|
||||
@ -3134,6 +3149,8 @@
|
||||
<li><a href="pyFTS.benchmarks.html#pyFTS.benchmarks.benchmarks.sliding_window_benchmarks2">sliding_window_benchmarks2() (in module pyFTS.benchmarks.benchmarks)</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.benchmarks.html#pyFTS.benchmarks.Measures.smape">smape() (in module pyFTS.benchmarks.Measures)</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.transformations.html#pyFTS.common.transformations.som.SOMTransformation">SOMTransformation (class in pyFTS.common.transformations.som)</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.html#pyFTS.common.SortedCollection.SortedCollection">SortedCollection (class in pyFTS.common.SortedCollection)</a>
|
||||
</li>
|
||||
@ -3187,6 +3204,8 @@
|
||||
<li><a href="pyFTS.common.html#pyFTS.common.fts.FTS.train">(pyFTS.common.fts.FTS method)</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.transformations.html#pyFTS.common.transformations.normalization.Normalization.train">(pyFTS.common.transformations.normalization.Normalization method)</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.transformations.html#pyFTS.common.transformations.som.SOMTransformation.train">(pyFTS.common.transformations.som.SOMTransformation method)</a>
|
||||
</li>
|
||||
<li><a href="pyFTS.common.transformations.html#pyFTS.common.transformations.trend.LinearTrend.train">(pyFTS.common.transformations.trend.LinearTrend method)</a>
|
||||
</li>
|
||||
|
2
docs/build/html/modules.html
vendored
2
docs/build/html/modules.html
vendored
@ -107,7 +107,7 @@
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.roi">pyFTS.common.transformations.roi module</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.scale">pyFTS.common.transformations.scale module</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.smoothing">pyFTS.common.transformations.smoothing module</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyFTS.common.transformations.html#pyfts-common-transformations-som-module">pyFTS.common.transformations.som module</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.som">pyFTS.common.transformations.som module</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.transformation">pyFTS.common.transformations.transformation module</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.trend">pyFTS.common.transformations.trend module</a></li>
|
||||
</ul>
|
||||
|
BIN
docs/build/html/objects.inv
vendored
BIN
docs/build/html/objects.inv
vendored
Binary file not shown.
5
docs/build/html/py-modindex.html
vendored
5
docs/build/html/py-modindex.html
vendored
@ -203,6 +203,11 @@
|
||||
<td>   
|
||||
<a href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.smoothing"><code class="xref">pyFTS.common.transformations.smoothing</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.som"><code class="xref">pyFTS.common.transformations.som</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
|
@ -410,8 +410,51 @@ y(t) = ( y(t-1) * y’(t) ) + y(t-1)</p>
|
||||
</dd></dl>
|
||||
|
||||
</div>
|
||||
<div class="section" id="pyfts-common-transformations-som-module">
|
||||
<h2>pyFTS.common.transformations.som module<a class="headerlink" href="#pyfts-common-transformations-som-module" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="section" id="module-pyFTS.common.transformations.som">
|
||||
<span id="pyfts-common-transformations-som-module"></span><h2>pyFTS.common.transformations.som module<a class="headerlink" href="#module-pyFTS.common.transformations.som" title="Permalink to this headline">¶</a></h2>
|
||||
<p>Kohonen Self Organizing Maps for Fuzzy Time Series</p>
|
||||
<dl class="py class">
|
||||
<dt id="pyFTS.common.transformations.som.SOMTransformation">
|
||||
<em class="property">class </em><code class="sig-prename descclassname">pyFTS.common.transformations.som.</code><code class="sig-name descname">SOMTransformation</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">grid_dimension</span><span class="p">:</span> <span class="n">Tuple</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">kwargs</span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyFTS/common/transformations/som.html#SOMTransformation"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pyFTS.common.transformations.som.SOMTransformation" title="Permalink to this definition">¶</a></dt>
|
||||
<dd><p>Bases: <a class="reference internal" href="#pyFTS.common.transformations.transformation.Transformation" title="pyFTS.common.transformations.transformation.Transformation"><code class="xref py py-class docutils literal notranslate"><span class="pre">pyFTS.common.transformations.transformation.Transformation</span></code></a></p>
|
||||
<dl class="py method">
|
||||
<dt id="pyFTS.common.transformations.som.SOMTransformation.apply">
|
||||
<code class="sig-name descname">apply</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">data</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span></em>, <em class="sig-param"><span class="n">param</span><span class="o">=</span><span class="default_value">None</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">kwargs</span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyFTS/common/transformations/som.html#SOMTransformation.apply"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pyFTS.common.transformations.som.SOMTransformation.apply" title="Permalink to this definition">¶</a></dt>
|
||||
<dd><p>Transform a M-dimensional dataset into a 3-dimensional dataset, where one dimension is the endogen variable
|
||||
If endogen_variable = None, the last column will be the endogen_variable.
|
||||
Args:</p>
|
||||
<blockquote>
|
||||
<div><p>data (pd.DataFrame): M-Dimensional dataset
|
||||
endogen_variable (str): column of dataset
|
||||
names (Tuple): names for new columns created by SOM Transformation.
|
||||
param:
|
||||
<a href="#id1"><span class="problematic" id="id2">**</span></a>kwargs: params of SOM’s train process</p>
|
||||
<blockquote>
|
||||
<div><p>percentage_train (float). Percentage of dataset that will be used for train SOM network. default: 0.7
|
||||
leaning_rate (float): leaning rate of SOM network. default: 0.01
|
||||
epochs: epochs of SOM network. default: 10000</p>
|
||||
</div></blockquote>
|
||||
</div></blockquote>
|
||||
<p>Returns:</p>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="py method">
|
||||
<dt id="pyFTS.common.transformations.som.SOMTransformation.save_net">
|
||||
<code class="sig-name descname">save_net</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">filename</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.9)">str</a></span> <span class="o">=</span> <span class="default_value">'SomNet trained'</span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyFTS/common/transformations/som.html#SOMTransformation.save_net"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pyFTS.common.transformations.som.SOMTransformation.save_net" title="Permalink to this definition">¶</a></dt>
|
||||
<dd></dd></dl>
|
||||
|
||||
<dl class="py method">
|
||||
<dt id="pyFTS.common.transformations.som.SOMTransformation.show_grid">
|
||||
<code class="sig-name descname">show_grid</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">graph_type</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.9)">str</a></span> <span class="o">=</span> <span class="default_value">'nodes_graph'</span></em>, <em class="sig-param"><span class="o">**</span><span class="n">kwargs</span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyFTS/common/transformations/som.html#SOMTransformation.show_grid"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pyFTS.common.transformations.som.SOMTransformation.show_grid" title="Permalink to this definition">¶</a></dt>
|
||||
<dd></dd></dl>
|
||||
|
||||
<dl class="py method">
|
||||
<dt id="pyFTS.common.transformations.som.SOMTransformation.train">
|
||||
<code class="sig-name descname">train</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">data</span><span class="p">:</span> <span class="n">pandas.core.frame.DataFrame</span></em>, <em class="sig-param"><span class="n">percentage_train</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.9)">float</a></span> <span class="o">=</span> <span class="default_value">0.7</span></em>, <em class="sig-param"><span class="n">leaning_rate</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.9)">float</a></span> <span class="o">=</span> <span class="default_value">0.01</span></em>, <em class="sig-param"><span class="n">epochs</span><span class="p">:</span> <span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.9)">int</a></span> <span class="o">=</span> <span class="default_value">10000</span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pyFTS/common/transformations/som.html#SOMTransformation.train"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pyFTS.common.transformations.som.SOMTransformation.train" title="Permalink to this definition">¶</a></dt>
|
||||
<dd></dd></dl>
|
||||
|
||||
</dd></dl>
|
||||
|
||||
</div>
|
||||
<div class="section" id="module-pyFTS.common.transformations.transformation">
|
||||
<span id="pyfts-common-transformations-transformation-module"></span><h2>pyFTS.common.transformations.transformation module<a class="headerlink" href="#module-pyFTS.common.transformations.transformation" title="Permalink to this headline">¶</a></h2>
|
||||
@ -582,7 +625,7 @@ y(t) = y’(t) + (a*t+b)</p>
|
||||
<li><a class="reference internal" href="#module-pyFTS.common.transformations.roi">pyFTS.common.transformations.roi module</a></li>
|
||||
<li><a class="reference internal" href="#module-pyFTS.common.transformations.scale">pyFTS.common.transformations.scale module</a></li>
|
||||
<li><a class="reference internal" href="#module-pyFTS.common.transformations.smoothing">pyFTS.common.transformations.smoothing module</a></li>
|
||||
<li><a class="reference internal" href="#pyfts-common-transformations-som-module">pyFTS.common.transformations.som module</a></li>
|
||||
<li><a class="reference internal" href="#module-pyFTS.common.transformations.som">pyFTS.common.transformations.som module</a></li>
|
||||
<li><a class="reference internal" href="#module-pyFTS.common.transformations.transformation">pyFTS.common.transformations.transformation module</a></li>
|
||||
<li><a class="reference internal" href="#module-pyFTS.common.transformations.trend">pyFTS.common.transformations.trend module</a></li>
|
||||
</ul>
|
||||
|
2
docs/build/html/pyFTS.html
vendored
2
docs/build/html/pyFTS.html
vendored
@ -108,7 +108,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.roi">pyFTS.common.transformations.roi module</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.scale">pyFTS.common.transformations.scale module</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.smoothing">pyFTS.common.transformations.smoothing module</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pyFTS.common.transformations.html#pyfts-common-transformations-som-module">pyFTS.common.transformations.som module</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.som">pyFTS.common.transformations.som module</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.transformation">pyFTS.common.transformations.transformation module</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pyFTS.common.transformations.html#module-pyFTS.common.transformations.trend">pyFTS.common.transformations.trend module</a></li>
|
||||
</ul>
|
||||
|
2
docs/build/html/searchindex.js
vendored
2
docs/build/html/searchindex.js
vendored
File diff suppressed because one or more lines are too long
@ -5,15 +5,15 @@ Common data transformation used on pre and post processing of the FTS
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
import math
|
||||
#from pyFTS.common.transformations.transformation import Transformation
|
||||
#from pyFTS.common.transformations.differential import Differential
|
||||
#from pyFTS.common.transformations.scale import Scale
|
||||
#from pyFTS.common.transformations.adaptiveexpectation import AdaptiveExpectation
|
||||
#from pyFTS.common.transformations.boxcox import BoxCox
|
||||
#from pyFTS.common.transformations.roi import ROI
|
||||
#from pyFTS.common.transformations.trend import LinearTrend
|
||||
#from pyFTS.common.transformations.som import SOMTransformation
|
||||
#from pyFTS.common.transformations.normalization import Normalization
|
||||
from pyFTS.common.transformations.transformation import Transformation
|
||||
from pyFTS.common.transformations.differential import Differential
|
||||
from pyFTS.common.transformations.scale import Scale
|
||||
from pyFTS.common.transformations.adaptiveexpectation import AdaptiveExpectation
|
||||
from pyFTS.common.transformations.boxcox import BoxCox
|
||||
from pyFTS.common.transformations.roi import ROI
|
||||
from pyFTS.common.transformations.trend import LinearTrend
|
||||
from pyFTS.common.transformations.som import SOMTransformation
|
||||
from pyFTS.common.transformations.normalization import Normalization
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user