<spanid="module-contents"></span><h2>Module contents<aclass="headerlink"href="#module-pyFTS.models.incremental"title="Permalink to this headline">¶</a></h2>
<p>FTS methods with incremental/online learning</p>
</div>
<divclass="section"id="submodules">
<h2>Submodules<aclass="headerlink"href="#submodules"title="Permalink to this headline">¶</a></h2>
<spanid="pyfts-models-incremental-timevariant-module"></span><h2>pyFTS.models.incremental.TimeVariant module<aclass="headerlink"href="#module-pyFTS.models.incremental.TimeVariant"title="Permalink to this headline">¶</a></h2>
<p>Meta model that wraps another FTS method and continously retrain it using a data window with the most recent data</p>
<emclass="property">class </em><codeclass="descclassname">pyFTS.models.incremental.TimeVariant.</code><codeclass="descname">Retrainer</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/incremental/TimeVariant.html#Retrainer"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.incremental.TimeVariant.Retrainer"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">auto_update</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.TimeVariant.Retrainer.auto_update"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">batch_size</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.TimeVariant.Retrainer.batch_size"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/incremental/TimeVariant.html#Retrainer.forecast"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.incremental.TimeVariant.Retrainer.forecast"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">fts_method</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.TimeVariant.Retrainer.fts_method"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">fts_params</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.TimeVariant.Retrainer.fts_params"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">model</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.TimeVariant.Retrainer.model"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">partitioner</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.TimeVariant.Retrainer.partitioner"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">partitioner_method</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.TimeVariant.Retrainer.partitioner_method"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">partitioner_params</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.TimeVariant.Retrainer.partitioner_params"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">train</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/incremental/TimeVariant.html#Retrainer.train"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.incremental.TimeVariant.Retrainer.train"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">window_length</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.TimeVariant.Retrainer.window_length"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-models-incremental-incrementalensemble-module"></span><h2>pyFTS.models.incremental.IncrementalEnsemble module<aclass="headerlink"href="#module-pyFTS.models.incremental.IncrementalEnsemble"title="Permalink to this headline">¶</a></h2>
<p>Time Variant/Incremental Ensemble of FTS methods</p>
<emclass="property">class </em><codeclass="descclassname">pyFTS.models.incremental.IncrementalEnsemble.</code><codeclass="descname">IncrementalEnsembleFTS</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/incremental/IncrementalEnsemble.html#IncrementalEnsembleFTS"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.incremental.IncrementalEnsemble.IncrementalEnsembleFTS"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">batch_size</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.IncrementalEnsemble.IncrementalEnsembleFTS.batch_size"title="Permalink to this definition">¶</a></dt>
<dd><p>The batch interval between each retraining</p>
<codeclass="descname">forecast</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/incremental/IncrementalEnsemble.html#IncrementalEnsembleFTS.forecast"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.incremental.IncrementalEnsemble.IncrementalEnsembleFTS.forecast"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">fts_method</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.IncrementalEnsemble.IncrementalEnsembleFTS.fts_method"title="Permalink to this definition">¶</a></dt>
<dd><p>The FTS method to be called when a new model is build</p>
<codeclass="descname">fts_params</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.IncrementalEnsemble.IncrementalEnsembleFTS.fts_params"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">num_models</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.IncrementalEnsemble.IncrementalEnsembleFTS.num_models"title="Permalink to this definition">¶</a></dt>
<dd><p>The number of models to hold in the ensemble</p>
<codeclass="descname">partitioner_method</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.IncrementalEnsemble.IncrementalEnsembleFTS.partitioner_method"title="Permalink to this definition">¶</a></dt>
<dd><p>The partitioner method to be called when a new model is build</p>
<codeclass="descname">partitioner_params</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.IncrementalEnsemble.IncrementalEnsembleFTS.partitioner_params"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">train</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pyFTS/models/incremental/IncrementalEnsemble.html#IncrementalEnsembleFTS.train"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyFTS.models.incremental.IncrementalEnsemble.IncrementalEnsembleFTS.train"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">window_length</code><emclass="property"> = None</em><aclass="headerlink"href="#pyFTS.models.incremental.IncrementalEnsemble.IncrementalEnsembleFTS.window_length"title="Permalink to this definition">¶</a></dt>