-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGlobals.py
More file actions
43 lines (33 loc) · 755 Bytes
/
Globals.py
File metadata and controls
43 lines (33 loc) · 755 Bytes
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
#Population Size
num_firms =2
num_workers = 104
#DQN or Q Table
USE_QTABLE = 0
OUT_DIR = "./"
#Hyperparameters
MINI_BATCH_SIZE = 32
MEMORY_SIZE = 100000
FREQ_UPDATE_TARGETNET =10000
LEARNING_RATE = 0.001
factor_num_nodes_hidden_layers = [2/3.0, 3/2.0]
num_hidden_layers = 2
optimizer = "SGD"
activation_function = "sigmoid"
input_normalization = 1
reward_normalization = 1
delta_productivity = 0.0
alpha = 1.0
beta = 6e-5
delta = 0.95
effort = 0.2
fee = 0
share_fee = 0
track_data_for_table_1 = False
model_type = 0 # 0 take it 1 bidding
random_productivity = False
asymetric_productivities = False
max_iterations = 500000
learning_start = 5000
data_store_freq = 100
set_simulation_scenario = 2
save_special_data_for_single_run_analysis = False