-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy pathpyphi_config.yml
More file actions
141 lines (141 loc) · 5.59 KB
/
pyphi_config.yml
File metadata and controls
141 lines (141 loc) · 5.59 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# PyPhi configuration
# ~~~~~~~~~~~~~~~~~~~
# See the documentation for ``pyphi.config`` for more info.
---
# The measure to use when computing actual causation alpha values.
ACTUAL_CAUSATION_MEASURE: PMI
# In certain cases, making a cut can actually cause a previously reducible
# concept to become a proper, irreducible concept. Assuming this can never
# happen can increase performance significantly, however the obtained results
# are not strictly accurate (IIT 3.0).
ASSUME_CUTS_CANNOT_CREATE_NEW_CONCEPTS: false
# Controls whether the potential purviews of the mechanisms of a network are
# cached. Speeds up calculations when the same network is used repeatedly, but
# takes up additional memory, and makes network initialization slow.
CACHE_POTENTIAL_PURVIEWS: true
# Controls whether cause and effect repertoires are cached.
CACHE_REPERTOIRES: true
# The measure to use when computing big-phi (IIT 3.0).
CES_DISTANCE: SUM_SMALL_PHI
# Controls whether subsystem caches are automatically cleared after computing
# the SIA for the subsystem.
CLEAR_SUBSYSTEM_CACHES_AFTER_COMPUTING_SIA: false
# Controls how distinction phi is normalized.
DISTINCTION_PHI_NORMALIZATION: NUM_CONNECTIONS_CUT
# The version of the theory to use.
IIT_VERSION: 4.0
# The path for the log file.
LOG_FILE: pyphi.log
# The log level to write to `LOG_FILE`.
LOG_FILE_LEVEL: INFO
# The log level to write to stdout.
LOG_STDOUT_LEVEL: WARNING
# Some functions are memoized using an in-memory cache. This is the maximum
# percentage of memory that these caches can collectively use.
MAXIMUM_CACHE_MEMORY_PERCENTAGE: 50
# Determine how ties among specified states are broken.
STATE_TIE_RESOLUTION: PHI
# Determine how ties among MIPs are broken.
MIP_TIE_RESOLUTION: [NORMALIZED_PHI, NEGATIVE_PHI]
# Determine how ties among maximally irreducible purviews are broken.
PURVIEW_TIE_RESOLUTION: PHI
# Controls the number of worker processes used in parallel evaluation.
# Negative numbers count backwards from the total number of available CPUs,
# with ``-1`` meaning all available CPUs.
PARALLEL_WORKERS: -1
# Backend for parallel computation. Options: "local" (ProcessPoolExecutor),
# "auto" (auto-detect best available).
PARALLEL_BACKEND: "local"
# Global switch to turn off parallelization: if ``False``, parallelization is
# never used, regardless of parallelization settings for individual options;
# otherwise parallelization is determined by those settings.
PARALLEL: false
# Controls parallel evaluation of candidate systems within a network.
PARALLEL_COMPLEX_EVALUATION:
chunksize: 64
parallel: false
sequential_threshold: 16
progress: true
# Controls parallel evaluation of candidate mechanisms.
PARALLEL_CONCEPT_EVALUATION:
chunksize: 256
parallel: false
sequential_threshold: 64
progress: true
# Controls parallel evaluation of system partitions.
PARALLEL_CUT_EVALUATION:
chunksize: 4096
parallel: false
sequential_threshold: 1024
progress: false
# Controls parallel evaluation of candidate purviews.
PARALLEL_PURVIEW_EVALUATION:
chunksize: 256
parallel: false
sequential_threshold: 64
progress: true
# Controls parallel evaluation of mechanism partitions.
PARALLEL_MECHANISM_PARTITION_EVALUATION:
chunksize: 4096
parallel: false
sequential_threshold: 1024
progress: true
# Controls parallel evaluation of relations.
# Only applies if RELATION_COMPUTATION = 'CONCRETE'.
PARALLEL_RELATION_EVALUATION:
chunksize: 4096
parallel: false
sequential_threshold: 1024
progress: true
# Controls the partitioning scheme for distinctions.
PARTITION_TYPE: ALL
# Controls the numerical precision with which to compare phi values against each
# other and zero.
PRECISION: 13
# Print numbers as fractions if the denominator isn't too big.
PRINT_FRACTIONS: true
# Global switch to turn off progress bars: if ``False``, progress bars are never
# used, regardless of progress settings for individual options; otherwise the
# use of progress bars is determined by those settings.
PROGRESS_BARS: true
# Use a Redis server as a MICE cache.
REDIS_CACHE: false
# Redis connection configuration
REDIS_CONFIG:
db: 0
host: localhost
port: 6379
test_db: 1
# Controls the definition of the upper bound of the sum of relation phi when
# analyzing a system.
RELATION_COMPUTATION: CONCRETE
# The measure to use when computing integration ("EMD", "KLD", "L1", ...)
REPERTOIRE_DISTANCE: GENERALIZED_INTRINSIC_DIFFERENCE
# The measure to use when computing intrinsic information and finding the
# specified state
REPERTOIRE_DISTANCE_SPECIFICATION: GENERALIZED_INTRINSIC_DIFFERENCE
# The measure to use when computing intrinsic differentiation
REPERTOIRE_DISTANCE_DIFFERENTIATION: GENERALIZED_INTRINSIC_DIFFERENCE
# Controls whether pretty __str__-like formatting is used in repr calls.
REPR_VERBOSITY: 2
# Controls whether SIA calculations short-circuit if an a-priori reducibility
# condition is found.
SHORTCIRCUIT_SIA: true
# In some applications of this library, you may want to allow single
# micro-nodes with a self-loop to have nonzero Phi. See ``pyphi.config`` for
# details.
SINGLE_MICRO_NODES_WITH_SELFLOOPS_HAVE_PHI: true
# The type of system cuts to use (IIT 3.0)
SYSTEM_CUTS: 3.0_STYLE
# Whether to include the complete partition in partition set; currently only
# applies to "SET_UNI/BI".
SYSTEM_PARTITION_INCLUDE_COMPLETE: false
# Controls the partitioning scheme for the system.
SYSTEM_PARTITION_TYPE: SET_UNI/BI
# Controls whether a system is validated for conditional independence.
VALIDATE_CONDITIONAL_INDEPENDENCE: true
# Controls whether a subsystem's state is validated when the subsystem is
# created.
VALIDATE_SUBSYSTEM_STATES: true
# Whether to suppress the welcome message.
WELCOME_OFF: false