-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_settings.json
More file actions
37 lines (37 loc) · 1.96 KB
/
example_settings.json
File metadata and controls
37 lines (37 loc) · 1.96 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
{
"dataset": {"name": "MAYOpc",
"filepath": "~/Data/AMP-AD/MAYO/mayo-pc.tsv",
"meta_columns": ["ID", "PMI", "AOD", "Diagnosis", "Braak",
"Region", "Thal", "ApoE", "Gender", "Source",
"TDP-43", "LBD"],
"target": "Braak",
"ID_column": "ID",
"confounder": "AOD",
"transforms": [{"operation": "drop_cols",
"columns_list": ["PMI", "Diagnosis",
"Thal", "ApoE", "Gender",
"Source", "TDP-43", "LBD"]},
{"operation": "dropna"},
{"operation": "filter",
"column": "Region",
"values": ["Temporal Cortex"],
"name": "Region_filter"},
{"operation": "filter",
"column": "Braak",
"values": [0, 1, 2, 5, 6],
"name": "AC"},
{"operation": "digitize",
"column": "Braak",
"thresholds": [0, 3, 5]}]},
"processor": {"scheme": "LPOCV",
"pairs": {"seed": 47,
"steps": [{"operation": "shuffle"},
{"operation": "contains_sample"},
{"operation": "diff_target"},
{"operation": "min_confounder"},
{"operation": "unique_pair"},
{"operation": "pick_one"}]},
"estimator": {"name": "sklearn.linear_model.LogisticRegression",
"params": {"random_state": 47}}
}
}