Files
OpenBB/openbb_terminal/stocks/prediction_techniques/pred_api.py
martinb-bb 5f8eb43620 Time-series forecasting (Exponential Smoothing) with Darts Integration (#1851)
* Working exponential with bugs

* utilizing business datatime + fillers

* working figures

* expo with more functionality

* historical forcasting feat.

* numeric values for forcasted days

* print pretty predictions

* formatting

* code cleanup

* doc strings fix

* more docs

* quick fix

* refactoring

* poetry updates

* typo

* test script update

* update requirements.txt

* refactoring and Hugo website

* Update _index.md

* reverting poetry and requirements for now.

* minor mod and removal of space

* Update readme for forecasting

* removal of old TF version

* reqs and poetry

* linting

* merge main.yml from main

* supress warnings due to lib version change

* reverting main.yml

* retrying expo on main.yml

* fixing fundamentalanalysis version

* update poetry fundamentalanalysis

* type casting arg parse

* seasonal period default update

* update en.yml

Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-05-24 22:33:56 +01:00

44 lines
1.4 KiB
Python

"""Inference API."""
import os
from openbb_terminal.helper_classes import ModelsNamespace as _models
from openbb_terminal.common import prediction_techniques
# flake8: noqa
# pylint: disable=unused-import
# Menu commands
from openbb_terminal.common.prediction_techniques.ets_view import (
display_exponential_smoothing as ets,
)
from openbb_terminal.common.prediction_techniques.knn_view import (
display_k_nearest_neighbors as knn,
)
from openbb_terminal.common.prediction_techniques.regression_view import (
display_regression as regression,
)
from openbb_terminal.common.prediction_techniques.arima_view import (
display_arima as arima,
)
from openbb_terminal.common.prediction_techniques.neural_networks_view import (
display_mlp as mlp,
)
from openbb_terminal.common.prediction_techniques.neural_networks_view import (
display_rnn as rnn,
)
from openbb_terminal.common.prediction_techniques.neural_networks_view import (
display_lstm as lstm,
)
from openbb_terminal.common.prediction_techniques.neural_networks_view import (
display_conv1d as conv1d,
)
from openbb_terminal.common.prediction_techniques.mc_view import (
display_mc_forecast as mc,
)
from openbb_terminal.common.prediction_techniques.expo_view import (
display_expo_forecast as expo,
)
# Models
models = _models(os.path.abspath(os.path.dirname(prediction_techniques.__file__)))