<spanid="pyfts-models-seasonal-seasonalindexer-module"></span><h2>pyFTS.models.seasonal.SeasonalIndexer module<aclass="headerlink"href="#module-pyFTS.models.seasonal.SeasonalIndexer"title="Permalink to this headline">¶</a></h2>
<codeclass="sig-name descname">get_data</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#DataFrameSeasonalIndexer.get_data"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.DataFrameSeasonalIndexer.get_data"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_data_by_season</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">indexes</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#DataFrameSeasonalIndexer.get_data_by_season"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.DataFrameSeasonalIndexer.get_data_by_season"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_index_by_season</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">indexes</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#DataFrameSeasonalIndexer.get_index_by_season"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.DataFrameSeasonalIndexer.get_index_by_season"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_season_by_index</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">index</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#DataFrameSeasonalIndexer.get_season_by_index"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.DataFrameSeasonalIndexer.get_season_by_index"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_season_of_data</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#DataFrameSeasonalIndexer.get_season_of_data"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.DataFrameSeasonalIndexer.get_season_of_data"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">set_data</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">value</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#DataFrameSeasonalIndexer.set_data"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.DataFrameSeasonalIndexer.set_data"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_data</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#DateTimeSeasonalIndexer.get_data"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.DateTimeSeasonalIndexer.get_data"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_data_by_season</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">indexes</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#DateTimeSeasonalIndexer.get_data_by_season"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.DateTimeSeasonalIndexer.get_data_by_season"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_index</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#DateTimeSeasonalIndexer.get_index"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.DateTimeSeasonalIndexer.get_index"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_index_by_season</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">indexes</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#DateTimeSeasonalIndexer.get_index_by_season"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.DateTimeSeasonalIndexer.get_index_by_season"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_season_by_index</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">index</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#DateTimeSeasonalIndexer.get_season_by_index"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.DateTimeSeasonalIndexer.get_season_by_index"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_season_of_data</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#DateTimeSeasonalIndexer.get_season_of_data"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.DateTimeSeasonalIndexer.get_season_of_data"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">set_data</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">value</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#DateTimeSeasonalIndexer.set_data"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.DateTimeSeasonalIndexer.set_data"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_data</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#LinearSeasonalIndexer.get_data"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.LinearSeasonalIndexer.get_data"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_index_by_season</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">indexes</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#LinearSeasonalIndexer.get_index_by_season"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.LinearSeasonalIndexer.get_index_by_season"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_season_by_index</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">index</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#LinearSeasonalIndexer.get_season_by_index"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.LinearSeasonalIndexer.get_season_by_index"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_season_of_data</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#LinearSeasonalIndexer.get_season_of_data"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.LinearSeasonalIndexer.get_season_of_data"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.models.seasonal.SeasonalIndexer.</code><codeclass="sig-name descname">SeasonalIndexer</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">num_seasons</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#SeasonalIndexer"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.SeasonalIndexer"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_data</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#SeasonalIndexer.get_data"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.SeasonalIndexer.get_data"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_data_by_season</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em>, <emclass="sig-param"><spanclass="n">indexes</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#SeasonalIndexer.get_data_by_season"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.SeasonalIndexer.get_data_by_season"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_index</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#SeasonalIndexer.get_index"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.SeasonalIndexer.get_index"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_index_by_season</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">indexes</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#SeasonalIndexer.get_index_by_season"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.SeasonalIndexer.get_index_by_season"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_season_by_index</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inde</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#SeasonalIndexer.get_season_by_index"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.SeasonalIndexer.get_season_by_index"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_season_of_data</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/SeasonalIndexer.html#SeasonalIndexer.get_season_of_data"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.SeasonalIndexer.SeasonalIndexer.get_season_of_data"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-models-seasonal-cmsfts-module"></span><h2>pyFTS.models.seasonal.cmsfts module<aclass="headerlink"href="#module-pyFTS.models.seasonal.cmsfts"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.models.seasonal.cmsfts.</code><codeclass="sig-name descname">ContextualMultiSeasonalFTS</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/models/seasonal/cmsfts.html#ContextualMultiSeasonalFTS"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.cmsfts.ContextualMultiSeasonalFTS"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/models/seasonal/cmsfts.html#ContextualMultiSeasonalFTS.forecast"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.cmsfts.ContextualMultiSeasonalFTS.forecast"title="Permalink to this definition">¶</a></dt>
<dd><p>Point forecast one step ahead</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>data</strong>– time series data with the minimal length equal to the max_lag of the model</p></li>
<li><p><strong>kwargs</strong>– model specific parameters</p></li>
</ul>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>a list with the forecasted values</p>
<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/models/seasonal/cmsfts.html#ContextualMultiSeasonalFTS.forecast_ahead"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.cmsfts.ContextualMultiSeasonalFTS.forecast_ahead"title="Permalink to this definition">¶</a></dt>
<dd><p>Point forecast from 1 to H steps ahead, where H is given by the steps parameter</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>data</strong>– time series data 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 (default: 1)</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>
</ul>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>a list with the forecasted values</p>
<codeclass="sig-name descname">generate_flrg</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">flrs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/cmsfts.html#ContextualMultiSeasonalFTS.generate_flrg"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.cmsfts.ContextualMultiSeasonalFTS.generate_flrg"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_midpoints</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">flrg</span></em>, <emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/cmsfts.html#ContextualMultiSeasonalFTS.get_midpoints"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.cmsfts.ContextualMultiSeasonalFTS.get_midpoints"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/models/seasonal/cmsfts.html#ContextualMultiSeasonalFTS.train"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.cmsfts.ContextualMultiSeasonalFTS.train"title="Permalink to this definition">¶</a></dt>
<dd><p>Method specific parameter fitting</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>data</strong>– training time series data</p></li>
<li><p><strong>kwargs</strong>– Method specific parameters</p></li>
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.models.seasonal.cmsfts.</code><codeclass="sig-name descname">ContextualSeasonalFLRG</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">seasonality</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/cmsfts.html#ContextualSeasonalFLRG"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.cmsfts.ContextualSeasonalFLRG"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">append_rhs</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">flr</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/cmsfts.html#ContextualSeasonalFLRG.append_rhs"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.cmsfts.ContextualSeasonalFLRG.append_rhs"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-models-seasonal-common-module"></span><h2>pyFTS.models.seasonal.common module<aclass="headerlink"href="#module-pyFTS.models.seasonal.common"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.models.seasonal.common.</code><codeclass="sig-name descname">DateTime</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">value</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/common.html#DateTime"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">day_of_month</code><emclass="property"> = 30</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.day_of_month"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">day_of_week</code><emclass="property"> = 7</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.day_of_week"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">day_of_year</code><emclass="property"> = 364</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.day_of_year"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">half</code><emclass="property"> = 2</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.half"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">hour</code><emclass="property"> = 24</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.hour"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">hour_of_day</code><emclass="property"> = 24</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.hour_of_day"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">hour_of_month</code><emclass="property"> = 744</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.hour_of_month"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">hour_of_week</code><emclass="property"> = 168</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.hour_of_week"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">hour_of_year</code><emclass="property"> = 8736</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.hour_of_year"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">minute</code><emclass="property"> = 60</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.minute"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">minute_of_day</code><emclass="property"> = 1440</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.minute_of_day"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">minute_of_hour</code><emclass="property"> = 60</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.minute_of_hour"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">minute_of_month</code><emclass="property"> = 44640</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.minute_of_month"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">minute_of_week</code><emclass="property"> = 10080</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.minute_of_week"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">minute_of_year</code><emclass="property"> = 524160</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.minute_of_year"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">month</code><emclass="property"> = 12</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.month"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">quarter</code><emclass="property"> = 4</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.quarter"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">second</code><emclass="property"> = 60</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.second"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">second_of_day</code><emclass="property"> = 86400</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.second_of_day"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">second_of_hour</code><emclass="property"> = 3600</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.second_of_hour"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">second_of_minute</code><emclass="property"> = 60.00001</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.second_of_minute"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">sixth</code><emclass="property"> = 6</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.sixth"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">third</code><emclass="property"> = 3</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.third"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">year</code><emclass="property"> = 1</em><aclass="headerlink"href="#pyFTS.models.seasonal.common.DateTime.year"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/models/seasonal/common.html#FuzzySet.transform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.common.FuzzySet.transform"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyFTS.models.seasonal.common.</code><codeclass="sig-name descname">strip_datepart</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">date</span></em>, <emclass="sig-param"><spanclass="n">date_part</span></em>, <emclass="sig-param"><spanclass="n">mask</span><spanclass="o">=</span><spanclass="default_value">''</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/common.html#strip_datepart"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.common.strip_datepart"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-models-seasonal-msfts-module"></span><h2>pyFTS.models.seasonal.msfts module<aclass="headerlink"href="#module-pyFTS.models.seasonal.msfts"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.models.seasonal.msfts.</code><codeclass="sig-name descname">MultiSeasonalFTS</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">name</span></em>, <emclass="sig-param"><spanclass="n">indexer</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/msfts.html#MultiSeasonalFTS"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.msfts.MultiSeasonalFTS"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/models/seasonal/msfts.html#MultiSeasonalFTS.forecast"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.msfts.MultiSeasonalFTS.forecast"title="Permalink to this definition">¶</a></dt>
<dd><p>Point forecast one step ahead</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>data</strong>– time series data with the minimal length equal to the max_lag of the model</p></li>
<li><p><strong>kwargs</strong>– model specific parameters</p></li>
</ul>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>a list with the forecasted values</p>
<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/models/seasonal/msfts.html#MultiSeasonalFTS.forecast_ahead"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.msfts.MultiSeasonalFTS.forecast_ahead"title="Permalink to this definition">¶</a></dt>
<dd><p>Point forecast from 1 to H steps ahead, where H is given by the steps parameter</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>data</strong>– time series data 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 (default: 1)</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>
</ul>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>a list with the forecasted values</p>
<codeclass="sig-name descname">generate_flrg</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">flrs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/msfts.html#MultiSeasonalFTS.generate_flrg"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.msfts.MultiSeasonalFTS.generate_flrg"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/models/seasonal/msfts.html#MultiSeasonalFTS.train"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.msfts.MultiSeasonalFTS.train"title="Permalink to this definition">¶</a></dt>
<dd><p>Method specific parameter fitting</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>data</strong>– training time series data</p></li>
<li><p><strong>kwargs</strong>– Method specific parameters</p></li>
<spanid="pyfts-models-seasonal-partitioner-module"></span><h2>pyFTS.models.seasonal.partitioner module<aclass="headerlink"href="#module-pyFTS.models.seasonal.partitioner"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.models.seasonal.partitioner.</code><codeclass="sig-name descname">TimeGridPartitioner</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/models/seasonal/partitioner.html#TimeGridPartitioner"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.partitioner.TimeGridPartitioner"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">build</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/partitioner.html#TimeGridPartitioner.build"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.partitioner.TimeGridPartitioner.build"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">build_index</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/partitioner.html#TimeGridPartitioner.build_index"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.partitioner.TimeGridPartitioner.build_index"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">extractor</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">x</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/partitioner.html#TimeGridPartitioner.extractor"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.partitioner.TimeGridPartitioner.extractor"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">mask</code><aclass="headerlink"href="#pyFTS.models.seasonal.partitioner.TimeGridPartitioner.mask"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">plot</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">ax</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/partitioner.html#TimeGridPartitioner.plot"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.partitioner.TimeGridPartitioner.plot"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">search</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/models/seasonal/partitioner.html#TimeGridPartitioner.search"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.partitioner.TimeGridPartitioner.search"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">season</code><aclass="headerlink"href="#pyFTS.models.seasonal.partitioner.TimeGridPartitioner.season"title="Permalink to this definition">¶</a></dt>
<dd><p>Seasonality, a pyFTS.models.seasonal.common.DateTime object</p>
<spanid="pyfts-models-seasonal-sfts-module"></span><h2>pyFTS.models.seasonal.sfts module<aclass="headerlink"href="#module-pyFTS.models.seasonal.sfts"title="Permalink to this headline">¶</a></h2>
<p>Simple First Order Seasonal Fuzzy Time Series implementation of Song (1999) based of Conventional FTS by Chen (1996)</p>
<olclass="upperalpha simple"start="17">
<li><p>Song, “Seasonal forecasting in fuzzy time series,” Fuzzy sets Syst., vol. 107, pp. 235–236, 1999.</p></li>
</ol>
<p>S.-M. Chen, “Forecasting enrollments based on fuzzy time series,” Fuzzy Sets Syst., vol. 81, no. 3, pp. 311–319, 1996.</p>
<dlclass="py class">
<dtid="pyFTS.models.seasonal.sfts.SeasonalFLRG">
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.models.seasonal.sfts.</code><codeclass="sig-name descname">SeasonalFLRG</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">seasonality</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/sfts.html#SeasonalFLRG"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.sfts.SeasonalFLRG"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">append_rhs</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">c</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/sfts.html#SeasonalFLRG.append_rhs"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.sfts.SeasonalFLRG.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/models/seasonal/sfts.html#SeasonalFLRG.get_key"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.sfts.SeasonalFLRG.get_key"title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a unique identifier for this FLRG</p>
</dd></dl>
</dd></dl>
<dlclass="py class">
<dtid="pyFTS.models.seasonal.sfts.SeasonalFTS">
<emclass="property">class </em><codeclass="sig-prename descclassname">pyFTS.models.seasonal.sfts.</code><codeclass="sig-name descname">SeasonalFTS</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/models/seasonal/sfts.html#SeasonalFTS"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.sfts.SeasonalFTS"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/models/seasonal/sfts.html#SeasonalFTS.forecast"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.sfts.SeasonalFTS.forecast"title="Permalink to this definition">¶</a></dt>
<dd><p>Point forecast one step ahead</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>data</strong>– time series data with the minimal length equal to the max_lag of the model</p></li>
<li><p><strong>kwargs</strong>– model specific parameters</p></li>
</ul>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>a list with the forecasted values</p>
<codeclass="sig-name descname">generate_flrg</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">flrs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/sfts.html#SeasonalFTS.generate_flrg"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.sfts.SeasonalFTS.generate_flrg"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_midpoints</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">flrg</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/seasonal/sfts.html#SeasonalFTS.get_midpoints"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.sfts.SeasonalFTS.get_midpoints"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/models/seasonal/sfts.html#SeasonalFTS.train"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.seasonal.sfts.SeasonalFTS.train"title="Permalink to this definition">¶</a></dt>
<dd><p>Method specific parameter fitting</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>data</strong>– training time series data</p></li>
<li><p><strong>kwargs</strong>– Method specific parameters</p></li>
<spanid="module-contents"></span><h2>Module contents<aclass="headerlink"href="#module-pyFTS.models.seasonal"title="Permalink to this headline">¶</a></h2>