forked from kimmo1019/DeepCDR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcsa_bruteforce_params_def.py
53 lines (51 loc) · 1.31 KB
/
csa_bruteforce_params_def.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
44
45
46
47
48
49
50
51
52
53
from improvelib.utils import str2bool
csa_bruteforce_params = [
{"name": "cuda_name",
"type": str,
"default": "cuda:0",
"help": "Cuda device name.",
},
{"name": "csa_outdir",
"type": str,
"default": "./run.csa.full",
"help": "Outdir for workflow.",
},
{"name": "source_datasets",
"nargs" : "+",
"type": str,
"default": ['CCLE'],
"help": "source_datasets for cross study analysis"
},
{"name": "target_datasets",
"nargs" : "+",
"type": str,
"default": ["CCLE", "gCSI"],
"help": "target_datasets for cross study analysis"
},
{"name": "split_nums",
"nargs" : "+",
"type": str,
"default": ['0'],
"help": "Split of the source datasets for CSA"
},
{"name": "only_cross_study",
"type": str2bool,
"default": False,
"help": "If only cross study analysis is needed"
},
{"name": "model_name",
"type": str,
"default": 'graphdrp', ## Change the default to LGBM??
"help": "Name of the deep learning model"
},
{"name": "epochs",
"type": int,
"default": 10,
"help": "Number of epochs"
},
{"name": "uses_cuda_name",
"type": str2bool,
"default": True,
"help": "Change to false if the model doesn't have a cuda_name parameter."
},
]