-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.json
60 lines (54 loc) · 1.2 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "Stock_CNN_LSTM",
"n_gpu": 1,
"arch": {
"type": "CNNLSTMModel",
"args": {}
},
"data_loader": {
"type": "StockDataLoader",
"args":{
"data_dir": "./data_loader/processed_data/spy_processed.csv",
"batch_size": 64,
"shuffle": false,
"validation_split": 0.3,
"num_workers": 1,
"input_columns": ["SMA_2_3", "EMA_2_3"],
"target_columns": ["FSMA_10", "FEMA_10"],
"window":10
}
},
"optimizer": {
"type": "Adam",
"args":{
"lr": 0.001,
"weight_decay": 0,
"amsgrad": true
}
},
"loss": "mse_loss",
"metrics": [
"regression_binary_pred",
"f1_score"
],
"lr_scheduler": {
"type": "StepLR",
"args": {
"step_size": 50,
"gamma": 0.1
}
},
"trainer": {
"epochs": 2,
"save_dir": "saved/",
"save_period": 1,
"verbosity": 2,
"monitor": "min val_loss",
"early_stop": 10,
"tensorboard": true
},
"results": {
"accuracy": 0,
"f-1 score": 0
}
}