<spanid="pyfts-benchmarks-benchmarks-module"></span><h2>pyFTS.benchmarks.benchmarks module<aclass="headerlink"href="#module-pyFTS.benchmarks.benchmarks"title="Permalink to this headline">¶</a></h2>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">SelecaoSimples_MenorRMSE</code><spanclass="sig-paren">(</span><em>original</em>, <em>parameters</em>, <em>modelo</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.SelecaoSimples_MenorRMSE"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">common_process_interval_jobs</code><spanclass="sig-paren">(</span><em>conn</em>, <em>data</em>, <em>job</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.common_process_interval_jobs"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">common_process_point_jobs</code><spanclass="sig-paren">(</span><em>conn</em>, <em>data</em>, <em>job</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.common_process_point_jobs"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">common_process_probabilistic_jobs</code><spanclass="sig-paren">(</span><em>conn</em>, <em>data</em>, <em>job</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.common_process_probabilistic_jobs"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">common_process_time_jobs</code><spanclass="sig-paren">(</span><em>conn</em>, <em>data</em>, <em>job</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.common_process_time_jobs"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">compareModelsPlot</code><spanclass="sig-paren">(</span><em>original</em>, <em>models_fo</em>, <em>models_ho</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.compareModelsPlot"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">compareModelsTable</code><spanclass="sig-paren">(</span><em>original</em>, <em>models_fo</em>, <em>models_ho</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.compareModelsTable"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">get_benchmark_interval_methods</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.get_benchmark_interval_methods"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">get_benchmark_point_methods</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.get_benchmark_point_methods"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">get_benchmark_probabilistic_methods</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.get_benchmark_probabilistic_methods"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">get_interval_methods</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.get_interval_methods"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">get_point_methods</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.get_point_methods"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">get_point_multivariate_methods</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.get_point_multivariate_methods"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">get_probabilistic_methods</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.get_probabilistic_methods"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">multivariate_sliding_window_benchmarks2</code><spanclass="sig-paren">(</span><em>data</em>, <em>windowsize</em>, <em>train=0.8</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.multivariate_sliding_window_benchmarks2"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">mv_run_interval2</code><spanclass="sig-paren">(</span><em>mfts</em>, <em>train_data</em>, <em>test_data</em>, <em>window_key=None</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.mv_run_interval2"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">mv_run_point2</code><spanclass="sig-paren">(</span><em>mfts</em>, <em>train_data</em>, <em>test_data</em>, <em>window_key=None</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.mv_run_point2"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">mv_run_probabilistic2</code><spanclass="sig-paren">(</span><em>mfts</em>, <em>train_data</em>, <em>test_data</em>, <em>window_key=None</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.mv_run_probabilistic2"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">pftsExploreOrderAndPartitions</code><spanclass="sig-paren">(</span><em>data</em>, <em>save=False</em>, <em>file=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.pftsExploreOrderAndPartitions"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">plotCompared</code><spanclass="sig-paren">(</span><em>original</em>, <em>forecasts</em>, <em>labels</em>, <em>title</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.plotCompared"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">plot_point</code><spanclass="sig-paren">(</span><em>axis</em>, <em>points</em>, <em>order</em>, <em>label</em>, <em>color='red'</em>, <em>ls='-'</em>, <em>linewidth=1</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.plot_point"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">print_distribution_statistics</code><spanclass="sig-paren">(</span><em>original</em>, <em>models</em>, <em>steps</em>, <em>resolution</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.print_distribution_statistics"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">print_interval_statistics</code><spanclass="sig-paren">(</span><em>original</em>, <em>models</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.print_interval_statistics"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">print_point_statistics</code><spanclass="sig-paren">(</span><em>data</em>, <em>models</em>, <em>externalmodels=None</em>, <em>externalforecasts=None</em>, <em>indexers=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.print_point_statistics"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">process_interval_jobs</code><spanclass="sig-paren">(</span><em>dataset</em>, <em>tag</em>, <em>job</em>, <em>conn</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.process_interval_jobs"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">process_interval_jobs2</code><spanclass="sig-paren">(</span><em>dataset</em>, <em>tag</em>, <em>job</em>, <em>conn</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.process_interval_jobs2"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">process_point_jobs</code><spanclass="sig-paren">(</span><em>dataset</em>, <em>tag</em>, <em>job</em>, <em>conn</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.process_point_jobs"title="Permalink to this definition">¶</a></dt>
<dd><p>Extract information from a dictionary with point benchmark results and save it on a database</p>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">process_point_jobs2</code><spanclass="sig-paren">(</span><em>dataset</em>, <em>tag</em>, <em>job</em>, <em>conn</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.process_point_jobs2"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">process_probabilistic_jobs</code><spanclass="sig-paren">(</span><em>dataset</em>, <em>tag</em>, <em>job</em>, <em>conn</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.process_probabilistic_jobs"title="Permalink to this definition">¶</a></dt>
<dd><p>Extract information from an dictionary with probabilistic benchmark results and save it on a database</p>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">process_probabilistic_jobs2</code><spanclass="sig-paren">(</span><em>dataset</em>, <em>tag</em>, <em>job</em>, <em>conn</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.process_probabilistic_jobs2"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">run_interval</code><spanclass="sig-paren">(</span><em>mfts</em>, <em>partitioner</em>, <em>train_data</em>, <em>test_data</em>, <em>window_key=None</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.run_interval"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">run_point</code><spanclass="sig-paren">(</span><em>mfts</em>, <em>partitioner</em>, <em>train_data</em>, <em>test_data</em>, <em>window_key=None</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.run_point"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">run_probabilistic</code><spanclass="sig-paren">(</span><em>mfts</em>, <em>partitioner</em>, <em>train_data</em>, <em>test_data</em>, <em>window_key=None</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.run_probabilistic"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">sliding_window_benchmarks</code><spanclass="sig-paren">(</span><em>data</em>, <em>windowsize</em>, <em>train=0.8</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.sliding_window_benchmarks"title="Permalink to this definition">¶</a></dt>
<li><strong>benchmark_methods</strong>– a list with Non FTS models to benchmark. The default is None.</li>
<li><strong>benchmark_methods_parameters</strong>– a list with Non FTS models parameters. The default is None.</li>
<li><strong>benchmark_models</strong>– A boolean value indicating if external FTS methods will be used on benchmark. The default is False.</li>
<li><strong>build_methods</strong>– A boolean value indicating if the default FTS methods will be used on benchmark. The default is True.</li>
<li><strong>dataset</strong>– the dataset name to identify the current set of benchmarks results on database.</li>
<li><strong>distributed</strong>– A boolean value indicating if the forecasting procedure will be distributed in a dispy cluster. . The default is False</li>
<li><strong>file</strong>– file path to save the results. The default is benchmarks.db.</li>
<li><strong>inc</strong>– a float on interval [0,1] indicating the percentage of the windowsize to move the window</li>
<li><strong>methods</strong>– a list with FTS class names. The default depends on the forecasting type and contains the list of all FTS methods.</li>
<li><strong>models</strong>– a list with prebuilt FTS objects. The default is None.</li>
<li><strong>nodes</strong>– a list with the dispy cluster nodes addresses. The default is [127.0.0.1].</li>
<li><strong>orders</strong>– a list with orders of the models (for high order models). The default is [1,2,3].</li>
<li><strong>partitions</strong>– a list with the numbers of partitions on the Universe of Discourse. The default is [10].</li>
<li><strong>partitioners_models</strong>– a list with prebuilt Universe of Discourse partitioners objects. The default is None.</li>
<li><strong>partitioners_methods</strong>– a list with Universe of Discourse partitioners class names. The default is [partitioners.Grid.GridPartitioner].</li>
<li><strong>progress</strong>– If true a progress bar will be displayed during the benchmarks. The default is False.</li>
<li><strong>start</strong>– in the multi step forecasting, the index of the data where to start forecasting. The default is 0.</li>
<li><strong>steps_ahead</strong>– a list with the forecasting horizons, i. e., the number of steps ahead to forecast. The default is 1.</li>
<li><strong>tag</strong>– a name to identify the current set of benchmarks results on database.</li>
<li><strong>type</strong>– the forecasting type, one of these values: point(default), interval or distribution. The default is point.</li>
<li><strong>transformations</strong>– a list with data transformations do apply . The default is [None].</li>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">sliding_window_benchmarks2</code><spanclass="sig-paren">(</span><em>data</em>, <em>windowsize</em>, <em>train=0.8</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.sliding_window_benchmarks2"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.benchmarks.</code><codeclass="descname">train_test_time</code><spanclass="sig-paren">(</span><em>data</em>, <em>windowsize</em>, <em>train=0.8</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.benchmarks.train_test_time"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-benchmarks-measures-module"></span><h2>pyFTS.benchmarks.Measures module<aclass="headerlink"href="#module-pyFTS.benchmarks.Measures"title="Permalink to this headline">¶</a></h2>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">TheilsInequality</code><spanclass="sig-paren">(</span><em>targets</em>, <em>forecasts</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.TheilsInequality"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">UStatistic</code><spanclass="sig-paren">(</span><em>targets</em>, <em>forecasts</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.UStatistic"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">acf</code><spanclass="sig-paren">(</span><em>data</em>, <em>k</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.acf"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">brier_score</code><spanclass="sig-paren">(</span><em>targets</em>, <em>densities</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.brier_score"title="Permalink to this definition">¶</a></dt>
<dd><p>Brier Score for probabilistic forecasts.
Brier (1950). “Verification of Forecasts Expressed in Terms of Probability”. Monthly Weather Review. 78: 1–3.</p>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">coverage</code><spanclass="sig-paren">(</span><em>targets</em>, <em>forecasts</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.coverage"title="Permalink to this definition">¶</a></dt>
<dd><p>Percent of target values that fall inside forecasted interval</p>
</dd></dl>
<dlclass="function">
<dtid="pyFTS.benchmarks.Measures.crps">
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">crps</code><spanclass="sig-paren">(</span><em>targets</em>, <em>densities</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.crps"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">get_distribution_ahead_statistics</code><spanclass="sig-paren">(</span><em>data</em>, <em>distributions</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.get_distribution_ahead_statistics"title="Permalink to this definition">¶</a></dt>
<dd><p>Get CRPS statistic and time for a forecasting model</p>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">get_distribution_statistics</code><spanclass="sig-paren">(</span><em>data</em>, <em>model</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.get_distribution_statistics"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">get_interval_ahead_statistics</code><spanclass="sig-paren">(</span><em>data</em>, <em>intervals</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.get_interval_ahead_statistics"title="Permalink to this definition">¶</a></dt>
<dd><p>Condensate all measures for point interval forecasters</p>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with the sharpness, resolution, coverage, .05 pinball mean,
.25 pinball mean, .75 pinball mean and .95 pinball mean.</p>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">get_interval_statistics</code><spanclass="sig-paren">(</span><em>data</em>, <em>model</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.get_interval_statistics"title="Permalink to this definition">¶</a></dt>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with the sharpness, resolution, coverage, .05 pinball mean,
.25 pinball mean, .75 pinball mean and .95 pinball mean.</p>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">get_point_ahead_statistics</code><spanclass="sig-paren">(</span><em>data</em>, <em>forecasts</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.get_point_ahead_statistics"title="Permalink to this definition">¶</a></dt>
<dd><p>Condensate all measures for point forecasters</p>
<li><strong>model</strong>– FTS model with point forecasting capability</li>
<li><strong>kwargs</strong>–</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with the RMSE, SMAPE and U Statistic</p>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">get_point_statistics</code><spanclass="sig-paren">(</span><em>data</em>, <em>model</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.get_point_statistics"title="Permalink to this definition">¶</a></dt>
<li><strong>model</strong>– FTS model with point forecasting capability</li>
<li><strong>kwargs</strong>–</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with the RMSE, SMAPE and U Statistic</p>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">logarithm_score</code><spanclass="sig-paren">(</span><em>targets</em>, <em>densities</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.logarithm_score"title="Permalink to this definition">¶</a></dt>
<dd><p>Logarithm Score for probabilistic forecasts.
Good IJ (1952). “Rational Decisions.”Journal of the Royal Statistical Society B,14(1),107–114. URLhttps://www.jstor.org/stable/2984087.</p>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">mape</code><spanclass="sig-paren">(</span><em>targets</em>, <em>forecasts</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.mape"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">mape_interval</code><spanclass="sig-paren">(</span><em>targets</em>, <em>forecasts</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.mape_interval"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">pinball</code><spanclass="sig-paren">(</span><em>tau</em>, <em>target</em>, <em>forecast</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.pinball"title="Permalink to this definition">¶</a></dt>
<li><strong>tau</strong>– quantile value in the range (0,1)</li>
<li><strong>target</strong>–</li>
<li><strong>forecast</strong>–</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">float, distance of forecast to the tau-quantile of the target</p>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">pinball_mean</code><spanclass="sig-paren">(</span><em>tau</em>, <em>targets</em>, <em>forecasts</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.pinball_mean"title="Permalink to this definition">¶</a></dt>
<li><strong>tau</strong>– quantile value in the range (0,1)</li>
<li><strong>targets</strong>– list of target values</li>
<li><strong>forecasts</strong>– list of prediction intervals</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">float, the pinball loss mean for tau quantile</p>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">resolution</code><spanclass="sig-paren">(</span><em>forecasts</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.resolution"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">rmse</code><spanclass="sig-paren">(</span><em>targets</em>, <em>forecasts</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.rmse"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">rmse_interval</code><spanclass="sig-paren">(</span><em>targets</em>, <em>forecasts</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.rmse_interval"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">sharpness</code><spanclass="sig-paren">(</span><em>forecasts</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.sharpness"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">smape</code><spanclass="sig-paren">(</span><em>targets</em>, <em>forecasts</em>, <em>type=2</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.smape"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">winkler_mean</code><spanclass="sig-paren">(</span><em>tau</em>, <em>targets</em>, <em>forecasts</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.winkler_mean"title="Permalink to this definition">¶</a></dt>
<li><strong>tau</strong>– quantile value in the range (0,1)</li>
<li><strong>targets</strong>– list of target values</li>
<li><strong>forecasts</strong>– list of prediction intervals</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">float, the Winkler score mean for tau quantile</p>
<codeclass="descclassname">pyFTS.benchmarks.Measures.</code><codeclass="descname">winkler_score</code><spanclass="sig-paren">(</span><em>tau</em>, <em>target</em>, <em>forecast</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Measures.winkler_score"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-benchmarks-residualanalysis-module"></span><h2>pyFTS.benchmarks.ResidualAnalysis module<aclass="headerlink"href="#module-pyFTS.benchmarks.ResidualAnalysis"title="Permalink to this headline">¶</a></h2>
<codeclass="descclassname">pyFTS.benchmarks.ResidualAnalysis.</code><codeclass="descname">compare_residuals</code><spanclass="sig-paren">(</span><em>data</em>, <em>models</em>, <em>alpha=0.05</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.ResidualAnalysis.compare_residuals"title="Permalink to this definition">¶</a></dt>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a Pandas dataframe with the Box-Ljung statistic for each model</p>
<codeclass="descclassname">pyFTS.benchmarks.ResidualAnalysis.</code><codeclass="descname">ljung_box_test</code><spanclass="sig-paren">(</span><em>residuals, lags=[1, 2, 3], alpha=0.5</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.ResidualAnalysis.ljung_box_test"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.ResidualAnalysis.</code><codeclass="descname">plot_residuals_by_model</code><spanclass="sig-paren">(</span><em>targets, models, tam=[8, 8], save=False, file=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.ResidualAnalysis.plot_residuals_by_model"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.ResidualAnalysis.</code><codeclass="descname">residuals</code><spanclass="sig-paren">(</span><em>targets</em>, <em>forecasts</em>, <em>order=1</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.ResidualAnalysis.residuals"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.ResidualAnalysis.</code><codeclass="descname">single_plot_residuals</code><spanclass="sig-paren">(</span><em>res, order, tam=[10, 7], save=False, file=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.ResidualAnalysis.single_plot_residuals"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-benchmarks-tests-module"></span><h2>pyFTS.benchmarks.Tests module<aclass="headerlink"href="#module-pyFTS.benchmarks.Tests"title="Permalink to this headline">¶</a></h2>
<codeclass="descclassname">pyFTS.benchmarks.Tests.</code><codeclass="descname">BoxLjungStatistic</code><spanclass="sig-paren">(</span><em>data</em>, <em>h</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Tests.BoxLjungStatistic"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Tests.</code><codeclass="descname">BoxPierceStatistic</code><spanclass="sig-paren">(</span><em>data</em>, <em>h</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Tests.BoxPierceStatistic"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Tests.</code><codeclass="descname">format_experiment_table</code><spanclass="sig-paren">(</span><em>df</em>, <em>exclude=[]</em>, <em>replace={}</em>, <em>csv=True</em>, <em>std=False</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Tests.format_experiment_table"title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="function">
<dtid="pyFTS.benchmarks.Tests.post_hoc_tests">
<codeclass="descclassname">pyFTS.benchmarks.Tests.</code><codeclass="descname">post_hoc_tests</code><spanclass="sig-paren">(</span><em>post_hoc</em>, <em>control_method</em>, <em>alpha=0.05</em>, <em>method='finner'</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Tests.post_hoc_tests"title="Permalink to this definition">¶</a></dt>
<dd><p>Finner paired post-hoc test with NSFTS as control method.</p>
<p>$H_0$: There is no significant difference between the means</p>
<p>$H_1$: There is a significant difference between the means</p>
<codeclass="descclassname">pyFTS.benchmarks.Tests.</code><codeclass="descname">test_mean_equality</code><spanclass="sig-paren">(</span><em>tests</em>, <em>alpha=0.05</em>, <em>method='friedman'</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Tests.test_mean_equality"title="Permalink to this definition">¶</a></dt>
<dd><p>Test for the equality of the means, with alpha confidence level.</p>
<p>H_0: There’s no significant difference between the means
H_1: There is at least one significant difference between the means</p>
<spanid="pyfts-benchmarks-util-module"></span><h2>pyFTS.benchmarks.Util module<aclass="headerlink"href="#module-pyFTS.benchmarks.Util"title="Permalink to this headline">¶</a></h2>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">analytic_tabular_dataframe</code><spanclass="sig-paren">(</span><em>dataframe</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.analytic_tabular_dataframe"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">analytical_data_columns</code><spanclass="sig-paren">(</span><em>experiments</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.analytical_data_columns"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">base_dataframe_columns</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.base_dataframe_columns"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">cast_dataframe_to_synthetic</code><spanclass="sig-paren">(</span><em>infile</em>, <em>outfile</em>, <em>experiments</em>, <em>type</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.cast_dataframe_to_synthetic"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">cast_dataframe_to_synthetic_interval</code><spanclass="sig-paren">(</span><em>df</em>, <em>data_columns</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.cast_dataframe_to_synthetic_interval"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">cast_dataframe_to_synthetic_point</code><spanclass="sig-paren">(</span><em>df</em>, <em>data_columns</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.cast_dataframe_to_synthetic_point"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">cast_dataframe_to_synthetic_probabilistic</code><spanclass="sig-paren">(</span><em>df</em>, <em>data_columns</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.cast_dataframe_to_synthetic_probabilistic"title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="function">
<dtid="pyFTS.benchmarks.Util.check_ignore_list">
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">check_ignore_list</code><spanclass="sig-paren">(</span><em>b</em>, <em>ignore</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.check_ignore_list"title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="function">
<dtid="pyFTS.benchmarks.Util.check_replace_list">
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">check_replace_list</code><spanclass="sig-paren">(</span><em>m</em>, <em>replace</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.check_replace_list"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">create_benchmark_tables</code><spanclass="sig-paren">(</span><em>conn</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.create_benchmark_tables"title="Permalink to this definition">¶</a></dt>
<dd><p>Create a sqlite3 table designed to store benchmark results.</p>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>conn</strong>– a sqlite3 database connection</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="function">
<dtid="pyFTS.benchmarks.Util.extract_measure">
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">extract_measure</code><spanclass="sig-paren">(</span><em>dataframe</em>, <em>measure</em>, <em>data_columns</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.extract_measure"title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="function">
<dtid="pyFTS.benchmarks.Util.find_best">
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">find_best</code><spanclass="sig-paren">(</span><em>dataframe</em>, <em>criteria</em>, <em>ascending</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.find_best"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">get_dataframe_from_bd</code><spanclass="sig-paren">(</span><em>file</em>, <em>filter</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.get_dataframe_from_bd"title="Permalink to this definition">¶</a></dt>
<dd><p>Query the sqlite benchmark database and return a pandas dataframe with the results</p>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">insert_benchmark</code><spanclass="sig-paren">(</span><em>data</em>, <em>conn</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.insert_benchmark"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>data</strong>– a tuple with the benchmark data with format:</td>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">interval_dataframe_analytic_columns</code><spanclass="sig-paren">(</span><em>experiments</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.interval_dataframe_analytic_columns"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">interval_dataframe_synthetic_columns</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.interval_dataframe_synthetic_columns"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">open_benchmark_db</code><spanclass="sig-paren">(</span><em>name</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.open_benchmark_db"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">point_dataframe_analytic_columns</code><spanclass="sig-paren">(</span><em>experiments</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.point_dataframe_analytic_columns"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">point_dataframe_synthetic_columns</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.point_dataframe_synthetic_columns"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">probabilistic_dataframe_analytic_columns</code><spanclass="sig-paren">(</span><em>experiments</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.probabilistic_dataframe_analytic_columns"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">probabilistic_dataframe_synthetic_columns</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.probabilistic_dataframe_synthetic_columns"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">process_common_data</code><spanclass="sig-paren">(</span><em>dataset</em>, <em>tag</em>, <em>type</em>, <em>job</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.process_common_data"title="Permalink to this definition">¶</a></dt>
<dd><p>Wraps benchmark information on a tuple for sqlite database</p>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">process_common_data2</code><spanclass="sig-paren">(</span><em>dataset</em>, <em>tag</em>, <em>type</em>, <em>job</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.process_common_data2"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">scale</code><spanclass="sig-paren">(</span><em>data</em>, <em>params</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.scale"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">scale_params</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.scale_params"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">simple_synthetic_dataframe</code><spanclass="sig-paren">(</span><em>file</em>, <em>tag</em>, <em>measure</em>, <em>sql=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.simple_synthetic_dataframe"title="Permalink to this definition">¶</a></dt>
<dd><p>Read experiments results from sqlite3 database in ‘file’, make a synthesis of the results
of the metric ‘measure’ with the same ‘tag’, returning a Pandas DataFrame with the mean results.</p>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">stats</code><spanclass="sig-paren">(</span><em>measure</em>, <em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.stats"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">tabular_dataframe_columns</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.tabular_dataframe_columns"title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">pyFTS.benchmarks.Util.</code><codeclass="descname">unified_scaled_probabilistic</code><spanclass="sig-paren">(</span><em>experiments, tam, save=False, file=None, sort_columns=['CRPSAVG', 'CRPSSTD'], sort_ascend=[True, True], save_best=False, ignore=None, replace=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.Util.unified_scaled_probabilistic"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-benchmarks-arima-module"></span><h2>pyFTS.benchmarks.arima module<aclass="headerlink"href="#module-pyFTS.benchmarks.arima"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">pyFTS.benchmarks.arima.</code><codeclass="descname">ARIMA</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.arima.ARIMA"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ar</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.arima.ARIMA.ar"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast</code><spanclass="sig-paren">(</span><em>ndata</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.arima.ARIMA.forecast"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast_ahead_distribution</code><spanclass="sig-paren">(</span><em>data</em>, <em>steps</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.arima.ARIMA.forecast_ahead_distribution"title="Permalink to this definition">¶</a></dt>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with the forecasted Probability Distributions</p>
<codeclass="descname">forecast_ahead_interval</code><spanclass="sig-paren">(</span><em>ndata</em>, <em>steps</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.arima.ARIMA.forecast_ahead_interval"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast_distribution</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.arima.ARIMA.forecast_distribution"title="Permalink to this definition">¶</a></dt>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with probabilistic.ProbabilityDistribution objects representing the forecasted Probability Distributions</p>
<codeclass="descname">forecast_interval</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.arima.ARIMA.forecast_interval"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ma</code><spanclass="sig-paren">(</span><em>data</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.arima.ARIMA.ma"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="headerlink"href="#pyFTS.benchmarks.arima.ARIMA.train"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-benchmarks-knn-module"></span><h2>pyFTS.benchmarks.knn module<aclass="headerlink"href="#module-pyFTS.benchmarks.knn"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">pyFTS.benchmarks.knn.</code><codeclass="descname">KNearestNeighbors</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.knn.KNearestNeighbors"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="headerlink"href="#pyFTS.benchmarks.knn.KNearestNeighbors.forecast"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast_ahead_distribution</code><spanclass="sig-paren">(</span><em>data</em>, <em>steps</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.knn.KNearestNeighbors.forecast_ahead_distribution"title="Permalink to this definition">¶</a></dt>
<li><strong>data</strong>– time series data with the minimal length equal to the max_lag of the model</li>
<li><strong>steps</strong>– the number of steps ahead to forecast</li>
<li><strong>start_at</strong>– in the multi step forecasting, the index of the data where to start forecasting (default: 0)</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with the forecasted Probability Distributions</p>
<codeclass="descname">forecast_ahead_interval</code><spanclass="sig-paren">(</span><em>data</em>, <em>steps</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.knn.KNearestNeighbors.forecast_ahead_interval"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast_distribution</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.knn.KNearestNeighbors.forecast_distribution"title="Permalink to this definition">¶</a></dt>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with probabilistic.ProbabilityDistribution objects representing the forecasted Probability Distributions</p>
<codeclass="descname">forecast_interval</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.knn.KNearestNeighbors.forecast_interval"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">knn</code><spanclass="sig-paren">(</span><em>sample</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.knn.KNearestNeighbors.knn"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="headerlink"href="#pyFTS.benchmarks.knn.KNearestNeighbors.train"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-benchmarks-naive-module"></span><h2>pyFTS.benchmarks.naive module<aclass="headerlink"href="#module-pyFTS.benchmarks.naive"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">pyFTS.benchmarks.naive.</code><codeclass="descname">Naive</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.naive.Naive"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="headerlink"href="#pyFTS.benchmarks.naive.Naive.forecast"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-benchmarks-quantreg-module"></span><h2>pyFTS.benchmarks.quantreg module<aclass="headerlink"href="#module-pyFTS.benchmarks.quantreg"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">pyFTS.benchmarks.quantreg.</code><codeclass="descname">QuantileRegression</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.quantreg.QuantileRegression"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast</code><spanclass="sig-paren">(</span><em>ndata</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.quantreg.QuantileRegression.forecast"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast_ahead_distribution</code><spanclass="sig-paren">(</span><em>ndata</em>, <em>steps</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.quantreg.QuantileRegression.forecast_ahead_distribution"title="Permalink to this definition">¶</a></dt>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with the forecasted Probability Distributions</p>
<codeclass="descname">forecast_ahead_interval</code><spanclass="sig-paren">(</span><em>ndata</em>, <em>steps</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.quantreg.QuantileRegression.forecast_ahead_interval"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast_distribution</code><spanclass="sig-paren">(</span><em>ndata</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.quantreg.QuantileRegression.forecast_distribution"title="Permalink to this definition">¶</a></dt>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with probabilistic.ProbabilityDistribution objects representing the forecasted Probability Distributions</p>
<codeclass="descname">forecast_interval</code><spanclass="sig-paren">(</span><em>ndata</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.quantreg.QuantileRegression.forecast_interval"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">interval_to_interval</code><spanclass="sig-paren">(</span><em>data</em>, <em>lo_params</em>, <em>up_params</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.quantreg.QuantileRegression.interval_to_interval"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">linearmodel</code><spanclass="sig-paren">(</span><em>data</em>, <em>params</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.quantreg.QuantileRegression.linearmodel"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">point_to_interval</code><spanclass="sig-paren">(</span><em>data</em>, <em>lo_params</em>, <em>up_params</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.quantreg.QuantileRegression.point_to_interval"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="headerlink"href="#pyFTS.benchmarks.quantreg.QuantileRegression.train"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-benchmarks-gaussianproc-module"></span><h2>pyFTS.benchmarks.gaussianproc module<aclass="headerlink"href="#module-pyFTS.benchmarks.gaussianproc"title="Permalink to this headline">¶</a></h2>
<dlclass="class">
<dtid="pyFTS.benchmarks.gaussianproc.GPR">
<emclass="property">class </em><codeclass="descclassname">pyFTS.benchmarks.gaussianproc.</code><codeclass="descname">GPR</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.gaussianproc.GPR"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="headerlink"href="#pyFTS.benchmarks.gaussianproc.GPR.forecast"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast_ahead</code><spanclass="sig-paren">(</span><em>data</em>, <em>steps</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.gaussianproc.GPR.forecast_ahead"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast_ahead_distribution</code><spanclass="sig-paren">(</span><em>data</em>, <em>steps</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.gaussianproc.GPR.forecast_ahead_distribution"title="Permalink to this definition">¶</a></dt>
<li><strong>data</strong>– time series data with the minimal length equal to the max_lag of the model</li>
<li><strong>steps</strong>– the number of steps ahead to forecast</li>
<li><strong>start_at</strong>– in the multi step forecasting, the index of the data where to start forecasting (default: 0)</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with the forecasted Probability Distributions</p>
<codeclass="descname">forecast_ahead_interval</code><spanclass="sig-paren">(</span><em>data</em>, <em>steps</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.gaussianproc.GPR.forecast_ahead_interval"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast_distribution</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.gaussianproc.GPR.forecast_distribution"title="Permalink to this definition">¶</a></dt>
<li><strong>data</strong>– time series data with the minimal length equal to the max_lag of the model</li>
<li><strong>kwargs</strong>– model specific parameters</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with probabilistic.ProbabilityDistribution objects representing the forecasted Probability Distributions</p>
<codeclass="descname">forecast_interval</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.gaussianproc.GPR.forecast_interval"title="Permalink to this definition">¶</a></dt>
<li><strong>data</strong>– time series data with the minimal length equal to the max_lag of the model</li>
<li><strong>kwargs</strong>– model specific parameters</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with the prediction intervals</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="method">
<dtid="pyFTS.benchmarks.gaussianproc.GPR.train">
<codeclass="descname">train</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.gaussianproc.GPR.train"title="Permalink to this definition">¶</a></dt>
<spanid="pyfts-benchmarks-bsts-module"></span><h2>pyFTS.benchmarks.BSTS module<aclass="headerlink"href="#module-pyFTS.benchmarks.BSTS"title="Permalink to this headline">¶</a></h2>
<dlclass="class">
<dtid="pyFTS.benchmarks.BSTS.ARIMA">
<emclass="property">class </em><codeclass="descclassname">pyFTS.benchmarks.BSTS.</code><codeclass="descname">ARIMA</code><spanclass="sig-paren">(</span><em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.BSTS.ARIMA"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast</code><spanclass="sig-paren">(</span><em>ndata</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.BSTS.ARIMA.forecast"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast_ahead</code><spanclass="sig-paren">(</span><em>data</em>, <em>steps</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.BSTS.ARIMA.forecast_ahead"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast_ahead_distribution</code><spanclass="sig-paren">(</span><em>data</em>, <em>steps</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.BSTS.ARIMA.forecast_ahead_distribution"title="Permalink to this definition">¶</a></dt>
<li><strong>data</strong>– time series data with the minimal length equal to the max_lag of the model</li>
<li><strong>steps</strong>– the number of steps ahead to forecast</li>
<li><strong>start_at</strong>– in the multi step forecasting, the index of the data where to start forecasting (default: 0)</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with the forecasted Probability Distributions</p>
<codeclass="descname">forecast_ahead_interval</code><spanclass="sig-paren">(</span><em>ndata</em>, <em>steps</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.BSTS.ARIMA.forecast_ahead_interval"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">forecast_distribution</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.BSTS.ARIMA.forecast_distribution"title="Permalink to this definition">¶</a></dt>
<li><strong>data</strong>– time series data with the minimal length equal to the max_lag of the model</li>
<li><strong>kwargs</strong>– model specific parameters</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with probabilistic.ProbabilityDistribution objects representing the forecasted Probability Distributions</p>
<codeclass="descname">forecast_interval</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.BSTS.ARIMA.forecast_interval"title="Permalink to this definition">¶</a></dt>
<li><strong>data</strong>– time series data with the minimal length equal to the max_lag of the model</li>
<li><strong>kwargs</strong>– model specific parameters</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">a list with the prediction intervals</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="method">
<dtid="pyFTS.benchmarks.BSTS.ARIMA.inference">
<codeclass="descname">inference</code><spanclass="sig-paren">(</span><em>steps</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.BSTS.ARIMA.inference"title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="pyFTS.benchmarks.BSTS.ARIMA.train">
<codeclass="descname">train</code><spanclass="sig-paren">(</span><em>data</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#pyFTS.benchmarks.BSTS.ARIMA.train"title="Permalink to this definition">¶</a></dt>