mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-01 23:12:21 +00:00
* ETS prediction * Update 'backtesting' and plots * Knn model * Keras/tf models refactored * ARIMA models and poetry/req updates * edit test * Regression condensed * Hugo server * Add tabulate to nn predictions and fix pylint * Add tabulate to prediction statistics * review comments Co-authored-by: James Maslek <james@macbook-pro.myfiosgateway.com>
30 lines
924 B
Python
30 lines
924 B
Python
""" fundamental_analysis/yahoo_finance_api.py tests """
|
|
import unittest
|
|
|
|
# try:
|
|
# from gamestonk_terminal.common.prediction_techniques.neural_networks_view import (
|
|
# display_mlp,
|
|
# )
|
|
# except ModuleNotFoundError as e_module:
|
|
# print("One of the optional packages seems to be missing")
|
|
# print(e_module)
|
|
# print("Skipping the test")
|
|
|
|
# from gamestonk_terminal import feature_flags as gtff
|
|
|
|
|
|
class TestPredNeuralNetworks(unittest.TestCase):
|
|
def test_mlp(self):
|
|
pass
|
|
# if not gtff.ENABLE_PREDICT:
|
|
# return
|
|
|
|
# Fix: need to come up with a better way of doing this
|
|
# try:
|
|
# Fix: need to move loading of ticker data into a df somewhere
|
|
# display_mlp([], "TLSA", None)
|
|
# except NameError as e_name:
|
|
# print("One of the optional packages seems to be missing")
|
|
# print(e_name)
|
|
# print("Skipping the test")
|