mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-09 10:51:57 +00:00
* feat: add autoets model * feat: update autoets index * feat: add verbose option * feat: freq preprocessing * feat: improve test size call * feat: add statsforecast dep to conda env full Co-authored-by: James Maslek <jmaslek11@gmail.com> Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
19 lines
451 B
Python
19 lines
451 B
Python
import pytest
|
|
|
|
try:
|
|
from openbb_terminal.forecast import autoets_view
|
|
except ImportError:
|
|
pytest.skip(allow_module_level=True)
|
|
|
|
|
|
def test_display_tft_forecast(tsla_csv):
|
|
with pytest.raises(AttributeError):
|
|
autoets_view.display_autoets_forecast(
|
|
tsla_csv,
|
|
target_column="close",
|
|
seasonal_periods=3,
|
|
n_predict=1,
|
|
start_window=0.5,
|
|
forecast_horizon=1,
|
|
)
|