1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-11 06:46:56 +08:00

Update tft and readme

This commit is contained in:
Jactus
2020-12-02 18:00:26 +08:00
parent 91c3dfddf5
commit 703ae5d4aa
3 changed files with 6 additions and 5 deletions

View File

@@ -208,7 +208,7 @@ class Alpha158Formatter(GenericDataFormatter):
model_params = {
"dropout_rate": 0.4,
"hidden_layer_size": 16,
"hidden_layer_size": 160,
"learning_rate": 0.0001,
"minibatch_size": 128,
"max_gradient_norm": 0.0135,

View File

@@ -291,7 +291,8 @@ def run(times=1, models=None, exclude=False):
pprint(errors)
sys.stderr.write("\n")
# move results folder
shutil.move(exp_path, exp_path + f"_{datetime.now().strftime("%Y-%m-%d_%H:%M:%S")}")
shutil.move(exp_path, exp_path + f"_{datetime.now().strftime('%Y-%m-%d_%H:%M:%S')}")
if __name__ == "__main__":
fire.Fire(run) # run all the model