Ejemplo n.º 1
0
import pandas as pd
import numpy as np
import Bench.TS_datasets as tsds
import Bench.NN3 as tNN3
import warnings

#%matplotlib inline

tester1 = tNN3.cNN_Tester(tsds.load_NN3_part1(), "NN3_PART_1")
with warnings.catch_warnings():
    warnings.simplefilter("error")
    #tester1.testSignal('NN3-059')
    # tester1.testAllSignals()
    tester1.run_multiprocessed()

tester2 = tNN3.cNN_Tester(tsds.load_NN3_part2(), "NN3_PART_2")
with warnings.catch_warnings():
    warnings.simplefilter("error")
    # tester2.testSignal('NN3_103')
    # tester2.testAllSignals()
    tester2.run_multiprocessed()
Ejemplo n.º 2
0
import pandas as pd
import numpy as np
import Bench.TS_datasets as tsds
import Bench.YahooStocks as ys

symbol_lists = tsds.get_yahoo_symbol_lists()
for k in symbol_lists.keys():
    tester = ys.cYahoo_Tester(tsds.load_yahoo_stock_prices(k),
                              "YAHOO_STOCKS_" + k)
    tester.run_multiprocessed(10)
Ejemplo n.º 3
0
import pandas as pd
import numpy as np
from Bench import TS_datasets as tsds

tsds.download_yahoo_stock_prices()
Ejemplo n.º 4
0
from Bench import MComp as mcomp


#tester1 = mcomp.cMComp_Tester(tsds.load_M1_comp());
#tester1.testSignal('')
#tester1.testAllSignals()

#tester2 = mcomp.cMComp_Tester(tsds.load_M2_comp());
#tester1.testSignal('')
#tester2.testAllSignals()

#tester3 = mcomp.cMComp_Tester(tsds.load_M3_Y_comp());
#tester1.testSignal('')
#tester3.testAllSignals()

#tester4 = mcomp.cMComp_Tester(tsds.load_M3_Q_comp());
#tester1.testSignal('')
#tester4.testAllSignals()

#tester5 = mcomp.cMComp_Tester(tsds.load_M3_M_comp());
#tester1.testSignal('')
#tester5.testAllSignals()

#tester6 = mcomp.cMComp_Tester(tsds.load_M3_Other_comp());
#tester1.testSignal('')
#tester6.testAllSignals()

tester7 = mcomp.cMComp_Tester(tsds.load_M4_comp() , "M4_COMP");
#tester7.testSignal('FIN1')
tester7.testAllSignals()
Ejemplo n.º 5
0
import pandas as pd
import numpy as np
import Bench.MComp as mcomp
import Bench.TS_datasets as tsds
import warnings

tester3 = mcomp.cMComp_Tester(tsds.load_M3_Y_comp(), "M3_Y_COMP")

with warnings.catch_warnings():
    warnings.simplefilter("error")
    # tester1.testSignal('')
    # tester3.testAllSignals()
    tester3.run_multiprocessed()

tester4 = mcomp.cMComp_Tester(tsds.load_M3_Q_comp(), "M3_Q_COMP")
with warnings.catch_warnings():
    warnings.simplefilter("error")
    # tester1.testSignal('')
    # tester4.testAllSignals()
    tester4.run_multiprocessed()

tester5 = mcomp.cMComp_Tester(tsds.load_M3_M_comp(), "M3_M_COMP")
with warnings.catch_warnings():
    warnings.simplefilter("error")
    # tester1.testSignal('')
    # tester5.testAllSignals()
    tester5.run_multiprocessed()

tester6 = mcomp.cMComp_Tester(tsds.load_M3_Other_comp(), "M3_OTHER_COMP")
with warnings.catch_warnings():
    warnings.simplefilter("error")
Ejemplo n.º 6
0
import pandas as pd
import numpy as np
import Bench.MComp as mcomp
import Bench.TS_datasets as tsds
import warnings

tester2 = mcomp.cMComp_Tester(tsds.load_M2_comp(), "M2_COMP")

with warnings.catch_warnings():
    warnings.simplefilter("error")
    # tester1.testSignal('')
    # tester2.testAllSignals()
    tester2.run_multiprocessed()
Ejemplo n.º 7
0
import pandas as pd
import numpy as np
#import SignalDecomposition as SigDec
import Bench.TS_datasets as tsds
import Bench.NN3 as tNN3
import warnings

#%matplotlib inline

tester1 = tNN3.cNN_Tester(tsds.load_NN5(), "NN5")
with warnings.catch_warnings():
    # warnings.simplefilter("error")
    # tester1.testSignals('NN5-025')
    # tester1.testAllSignals()
    tester1.run_multiprocessed()
Ejemplo n.º 8
0
import pandas as pd
import numpy as np
import Bench.TS_datasets as tsds
import Bench.MComp as mcomp
import warnings

with warnings.catch_warnings():
    warnings.simplefilter("error")
    tester1 = mcomp.cMComp_Tester(tsds.load_M1_comp(), "M1_COMP")
    # tester1.testSignals('YAD5')
    #tester1.testSignals('QNB16 QNB2 QNG20 QNG7 QNG8 QNI7 QNM9 QRF2 YAB8 YAC22 YAC9 YAD19 YAD6 YAF15 YAF2 YAG13 YAG1 YAG26 YAI10 YAI22 YAI35 YAI9 YAM12 YAM25')
    # tester1.testAllSignals()
    tester1.run_multiprocessed()
Ejemplo n.º 9
0
import pandas as pd
import numpy as np
import Bench.TS_datasets as tsds
import Bench.Artificial as art
import warnings

with warnings.catch_warnings():
    warnings.simplefilter("error")
    tester1 = art.cArtificial_Tester(tsds.load_artificial_datsets("S"),
                                     "ARTIFICIAL_S")
    tester1.run_multiprocessed(18)
    del tester1
    tester2 = art.cArtificial_Tester(tsds.load_artificial_datsets("M"),
                                     "ARTIFICIAL_M")
    tester2.run_multiprocessed(18)
    del tester2
    tester3 = art.cArtificial_Tester(tsds.load_artificial_datsets("L"),
                                     "ARTIFICIAL_L")
    tester3.run_multiprocessed(18)
    del tester3
    tester4 = art.cArtificial_Tester(tsds.load_artificial_datsets("XL"),
                                     "ARTIFICIAL_XL")
    tester4.run_multiprocessed(18)
    del tester4
Ejemplo n.º 10
0
import pandas as pd
import numpy as np

import ForecastEngine as autof
import Bench.TS_datasets as tsds

import CodeGen.TS_CodeGenerator as tscodegen
import Bench.GenericBenchmark as tBench
import warnings

#%matplotlib inline

tester1 = tBench.cGeneric_Tester(tsds.load_MWH_datsets(), "MWH_BENCH")
with warnings.catch_warnings():
    warnings.simplefilter("error")
    # tester1.testSignals('plastics')
    # tester1.testAllSignals()
    tester1.run_multiprocessed()