-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
43 lines (34 loc) · 847 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
# Pranav Minasandra
# pminasandra.github.io
# December 09, 2024
import os
import os.path
#Directories
PROJECTROOT = open(".cw", "r").read().rstrip()
DATA = os.path.join(PROJECTROOT, "Data")
FIGURES = os.path.join(PROJECTROOT, "Figures")
formats=['png', 'pdf', 'svg']
# Gradient descent config
GRAD_DESC_DX = 0.005
GRAD_DESC_DY = 0.005
GRAD_DESC_MAX_STEP_SIZE = 0.05
GRAD_DESC_MULTPL_FACTOR = 0.1
# Program flow
RUN_SIMS = False
POP_S_DOR = {
10: [0, 1, 2, 3],
25: [0, 1, 2, 3],
50: [0, 1, 2, 3],
35: [0, 1, 2, 3],
75: [0, 1, 2, 3],
87: [0, 1, 2, 3],
100: [0, 1, 2, 3]
} # These are the missing pairs of population size and depth of reasoning.
NUM_REPEATS = 500
TMAX = 500
# Data analysis
ANALYSE_DATA = True
ANALYSE_POP_SIZES = [10, 25, 35, 50, 75, 87, 100]
ANALYSE_DEPTHS = [0, 1, 2, 3]
#Miscellaneous
SUPPRESS_INFORMATIVE_PRINT = False