-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
140 lines (140 loc) · 3.98 KB
/
config.yaml
File metadata and controls
140 lines (140 loc) · 3.98 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
countries: ["Cote D'Ivoire", "Ghana", "Kenya", 'Madagascar', "Senegal", "Nigeria", "Philippines"]
survey_ids: ["CI2021DHS", "GH2022DHS", "KE2022DHS", "MD2021DHS", "SN2019DHS", "NG2018DHS", "PH2022DHS"]
map_indicators: ['stunting', 'wasting', 'hhwi_cont', 'w_age_first_birth', 'w_empowered_sdg']
continuous_indicators: ['w_age_first_birth', 'hhwi_cont']
indicator_labels:
stunting: "Child stunting"
wasting: "Child wasting"
hhwi_cont: "Household wealth index"
first_birth_u18: "First birth <18"
w_empowered_sdg: "Women's Empowerment"
completeness_threshold: 0.3
n_holdouts: 5
n_imputations: 5
fields:
ids: ['cluster', 'bh_year', 'hh_id', 'w_id', 'birth_id', 'admin1_code', 'admin1_name']
outcome: 'died'
hidden: [
'age_group', 'c_birth_year', 'c_alive', 'c_age_months', 'c_died_pnn', 'b_10y_prior',
'w_sample_weight', 'int_month_cmc', 'c_died_age_months', 'c_birth_int', "w_born_cmc"
]
spatial_covariates: [
'Drought_Episodes', 'Elevation', 'Global_Human_Footprint', 'Land_Surface_Temperature',
'Livestock_Cattle', 'Malaria_Incidence', 'Nightlights_Composite', 'Precipitation'
]
age_groups:
a01mo: [1, 6]
a06mo: [6, 12]
a12mo: [12, 24]
a24mo: [24, 36]
a36mo: [36, 48]
a48mo: [48, 60]
mbg_settings:
modeling_crs: 'EPSG:4326'
shapefile_settings:
modeling_level: 2
ids:
adm0: ['ADM0_CODE','ADM0_NAME']
adm1: ['ADM1_CODE','ADM1_NAME','ADM0_CODE','ADM0_NAME']
adm2: ['ADM2_CODE','ADM2_NAME','ADM1_CODE','ADM1_NAME','ADM0_CODE','ADM0_NAME']
covariate_settings:
file_format: 'tif'
add_intercept: TRUE
pop_covariate_settings:
covariate: 'worldpop_total'
annual: TRUE
transform: 'identity'
normalize: FALSE
stacking_settings:
run_stacking: TRUE
adm1_fixed_effects: TRUE
submodels:
enet:
gam:
gbm:
verbose: FALSE
treebag:
cv:
method: 'repeatedcv'
number: 5
repeats: 5
inla_settings:
sample_size_field: 'count'
effects:
covariates: TRUE
spde: TRUE
nugget: TRUE
admin1: FALSE
mesh:
integrate_to_zero: TRUE
cutoff: 0.05
priors:
range:
threshold: 0.05
prob_below: 0.05
sigma:
threshold: 1.0
prob_above: 0.05
fixed_effects:
threshold: 1.0
prob_above: 0.05
nugget:
threshold: 0.25
prob_above: 0.01
admin1:
threshold: 0.5
prob_above: 0.05
prediction_settings:
n_samples: 250
ui_width: 0.95
nugget_in_predict: TRUE
versions:
prepared_data: '20240516'
imputed_data: '20240516'
model_results: '20240521'
mbg_inputs: '20240603'
directories:
r_package:
versioned: FALSE
path: '~/repos/usaid-mch-ml/r-package'
metadata:
versioned: FALSE
path: '~/temp_data/usaid-mch-ml/metadata'
files:
codebook: 'codebook_20240516.csv'
codebook_stage_2: 'codebook_stage_2_20240603.csv'
mbg_covariates_table: 'mbg_covariates_table.csv'
mbg_country_runs: 'mbg_country_runs.csv'
prepared_data:
versioned: TRUE
path: '~/temp_data/usaid-mch-ml/prepared_data'
imputed_data:
versioned: TRUE
path: '~/temp_data/usaid-mch-ml/imputed_data'
model_results:
versioned: TRUE
path: '~/temp_data/usaid-mch-ml/model_results'
mbg_inputs:
versioned: TRUE
path: '~/temp_data/usaid-mch-ml/prepared_data_stage_2'
mbg_shapefile:
versioned: FALSE
path: '/mnt/c/Users/Lenovo/OneDrive - Henry Spatial Analysis LLC/Clients/DHS/Sharing/Geospatial modeling SOP/Edited_gaul'
files:
adm0: 'g2015_2014_0.shp'
adm1: 'g2015_2014_1.shp'
adm2: 'g2015_2014_2.shp'
mbg_repo:
versioned: FALSE
path: '~/repos/mbg/'
mbg_covariates:
versioned: FALSE
path: '~/temp_data/rr'
mbg_model_results:
versioned: FALSE
path: '~/temp_data/usaid-mch-ml/mbg_model_results/'
files:
in_sample_results: 'in_sample_results.csv'
out_of_sample_results: 'out_of_sample_results.csv'
id_raster: 'id_raster.tif'
cell_draws: 'cell_draws.RDS'