-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmoco_sweep.yaml
102 lines (102 loc) · 1.86 KB
/
moco_sweep.yaml
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
command:
- ${env}
- ${interpreter}
- ${program}
- "momentum_sweep"
- "--n_epochs=10"
- "--patience=5"
- "--tasks=contr"
- "--modelcls=models.MomentumContrastiveModel"
- "--batch_size=1"
- "--K=50000"
- ${args}
program: train.py
early_terminate:
min_iter: 3
type: hyperband
method: bayes
metric:
goal: maximise
name: val/earlystop_criterium
parameters:
batch_update:
distribution: int_uniform
max: 32
min: 16
dem_dropout:
distribution: uniform
max: 0.6
min: 0.15
event_dropout:
distribution: uniform
max: 0.3
min: 0.075
freeze_emb:
distribution: categorical
values:
- "True"
- "False"
hidden_size:
distribution: int_uniform
max: 100
min: 50
lr:
distribution: uniform
max: 0.01
min: 0.0001
min_word_count:
distribution: int_uniform
max: 1000
min: 5
momentum:
distribution: uniform
max: 0.999
min: 0.99
normalize:
distribution: categorical
values:
- models.Normalizer
- models.LNNormalizer
normalize_mlp:
distribution: categorical
values:
- "True"
- "False"
padaware:
distribution: categorical
values:
- "True"
- "False"
patient_modelcls:
distribution: categorical
values:
- models.PatientPoolEncoder
- models.PatientRNNEncoder
prediction_steps:
distribution: int_uniform
max: 4
min: 1
rand_emb:
distribution: categorical
values:
- "True"
- "False"
sampler:
distribution: categorical
values:
- samplers.DiagnoseAgeSubjectRandomSampler
- torch.utils.data.RandomSampler
step_dropout:
distribution: uniform
max: 0.2
min: 0.05
temperature:
distribution: uniform
max: 0.5
min: 0.07
timestep_modelcls:
distribution: categorical
values:
- models.LinearMaxMeanSumPool
- models.LinearMaxSumPool
- models.LinearMaxPool