sys.path.append(".") #..welp
from run_rnn import  GruSettings, run_gru


settings = GruSettings()
settings.max_verbosity = 2
settings.epochs = 200
settings.epochs_retrain = 60
settings.online = True
nodes = 200
lr = 0.003#231262326395
settings.nodes = nodes
settings.batch_size = 128
settings.lr = lr
settings.loss = 'mae'
settings.stateful=False
settings.lookback = 50
settings.lookback_as_features=False
settings.feature_count = 3
settings.predictionStep = 5
settings.season = 48
settings.adam_eps = 0.001
settings.retrain_interval = 1000
settings.reset_on_retrain = False
settings.refeed_on_retrain = True
settings.cutoff_normalize = True
settings.use_dropout = True
settings.nTrain = 5000
settings.ignore_for_error = [5500,10000]
settings.normalization_type = 'default'
Exemple #2
0
import sys
import shared

sys.path.append(".")  #..welp
from run_rnn import GruSettings, run_gru

settings = GruSettings()
settings.max_verbosity = 2
settings.epochs = 100
settings.online = True
nodes = 20
lr = 0.1
settings.nodes = nodes
settings.batch_size = 1
settings.lr = lr
settings.loss = 'mse'
settings.stateful = False
settings.lookback = None
settings.lookback_as_features = False
settings.feature_count = 3
settings.predictionStep = 5
settings.season = 48
settings.adam_eps = 0.001
settings.retrain_interval = 336
settings.reset_on_retrain = True
settings.refeed_on_retrain = False
settings.cutoff_normalize = False
settings.use_dropout = False
settings.nTrain = 5000
settings.ignore_for_error = [5500, 10000]
settings.normalization_type = 'default'