-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.py
48 lines (40 loc) · 960 Bytes
/
config.py
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
"""
Contains config parameters for app
"""
class CONFIG:
"""Dataclass with app parameters"""
def __init__(self):
pass
# You must change this to the filename you wish to use as input data!
# data_filename = "alarm.csv"
# Epochs
epochs = 500
# Batch size (note: should be divisible by sample size, otherwise throw an error)
batch_size = 50
# Learning rate (baseline rate = 1e-3)
lr = 1e-3
x_dims = 1
z_dims = 1
#data_variable_size = 12
optimizer = "Adam"
graph_threshold = 0.3
tau_A = 0.0
lambda_A = 0.0
c_A = 1
use_A_connect_loss = 0
use_A_positiver_loss = 0
#no_cuda = True
seed = 42
encoder_hidden = 64
decoder_hidden = 64
temp = 0.5
k_max_iter = 1e2
encoder = "mlp"
decoder = "mlp"
no_factor = False
encoder_dropout = 0.0
decoder_dropout = (0.0,)
h_tol = 1e-8
lr_decay = 200
gamma = 1.0
prior = False