-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig_example_contattr.txt
99 lines (67 loc) · 2.91 KB
/
config_example_contattr.txt
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
##############################################################################
#
# example setting file for EstimNetDirected
#
# note parameter and attribute names are not case sensitive (but filenames are)
#
################## Algorithm constants #######################################
useIFDsampler = True
useBorisenkoUpdate = true # use the Borisenko et al. (2019) update algorithm
samplerSteps= 1000 # sampler iterations (per algorithm step)
Ssteps =50 # steps of Algorithm S
EEsteps= 500 # steps of Algorithm EE.
# At each of these outer iterations, the theta step size
# is adjusted (according to compC) to limit the variance
# of the theta values.
EEinnerSteps = 100 # inner iterations of Algorithm EE
outputSimulatedNetwork = True # write the simulated network to file
computeStats = True # compute observed sufficient statistics
################## Input filenames ###########################################
# Network in Pajek arc list format. In the Pajek format *vertices at
# top, then followed by one line for each vertex (just vertex number)
# [note this part is optional for EstimeNetDirected] then *arcs
# followed by arcs list one per line.
arclistFile = sample_statistics_n2000_directed_cont_sim7920000000.txt
# Attribute files
# binattr_file for binary attributes (0 or 1 only)
# catattr_file for categorical attributes (any integer)
# The format of the file is a header line with whitespace
# delimited attribute names, and each subsequent line
# the attribute values for each attribute.
# The first line (after the header) has the values for
# node 0, then the next line node 1, and so on.
#
# E.g.:
#
# gender class
# 0 1
# 1 2
# 1 3
#binattrFile = ../pythonDemo/binaryAttributes_50_50_n1000.txt
#catattrFile =
contattrFile = continuousAttributes_n2000.txt
################## Output filenames ##########################################
#
# Output filenames are constructed from the prefix specified here,
# with _<rank>.txt added, where <rank> is the MPI rank (task number).
# So e.g. if thetaFilePrefix = theta then the output files are theta_0.txt etc.
#
# Theta (estimated parameter) values output file prefix
thetaFilePrefix = theta_sim_n2000_cont_sample
# dzA (statistics deltas, which should osciallate about zero at equilibrium)
# values output file prefix
dzAFilePrefix = dzA_sim_n2000_cont_sample
# Pajek .net file prefix for simulatd network at the end of the EE MCMC process.
simNetFilePrefix = sim_sim_n2000_cont_sample
# prefix for observed network statistics
observedStatsFilePrefix = obs_stats_n2000_cont_sample
################## Parameters to estimate ####################################
#
# Structural parameters
#
structParams = { Reciprocity,AltInStars, AltOutStars, AltKTrianglesT,
AltTwoPathsTD }
#
# Attribute parameters
#
attrParams = {Diff(continuousAttribute), DiffReciprocity(continuousAttribute)}