File size: 5,941 Bytes
481fb6a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
{
  "artifact_type": "evaluation_summary",
  "best": {
    "fixed_split_test_evaluated": true,
    "inner_cv_metrics": null,
    "parameters": {
      "batch_size": 2048,
      "finetuning_batch_size": 128,
      "finetuning_dropout": 0.10912694393253208,
      "finetuning_lr": 0.000482579345053704,
      "finetuning_parameter_scope": "all",
      "finetuning_weight_decay": 0.05620900787064882,
      "label_smoothing": 0.05,
      "n_ensemble": 4,
      "nn_bias": true,
      "nn_bias_scale": 0.05119697665792799,
      "optimization": "ensemble_optimize",
      "optimize_steps": 64,
      "stratify_sampling": false
    },
    "post_hpo_train_wall_time_seconds": 10.129079628968611,
    "predictions": "predictions_best.pt",
    "test_inference_wall_time_seconds": 1.595975402975455,
    "test_metrics": {
      "accuracy": 0.78,
      "f1": 0.7843137254901961,
      "log_loss": 0.5903095219832101,
      "roc_auc": 0.8139255702280912
    },
    "train_val_merged_for_fit": false,
    "train_wall_time_seconds": 9.939939190982841,
    "trial_id": 38,
    "val_inference_wall_time_seconds": 1.6006689351052046,
    "validation_metrics": {
      "accuracy": 0.76,
      "f1": 0.76,
      "log_loss": 0.5588970136182024,
      "roc_auc": 0.8137294259333601
    }
  },
  "completion_errors": [],
  "config": {
    "batch_size": 256,
    "cv_inner_folds": 3,
    "cv_outer_folds": 5,
    "cv_time_limit_per_fold": 7200,
    "data_parallel": false,
    "default_only": false,
    "early_stopping_rounds": 50,
    "hpo_evaluation_budgets": [
      25,
      50,
      100,
      200
    ],
    "n_trials": 100,
    "time_limit": 21600,
    "trajectory_n_trials": 200,
    "val_batch_size": 256
  },
  "dataset": "MTBLS136",
  "default": {
    "fixed_split_test_evaluated": true,
    "parameters": {
      "batch_size": 1024,
      "cooldown_checks": 2,
      "feature_bagging_size": 3000,
      "finetuning_batch_size": null,
      "finetuning_dropout": 0.15,
      "finetuning_lr": 0.0001,
      "finetuning_max_epochs": 2048,
      "finetuning_parameter_scope": "all",
      "finetuning_weight_decay": 0.01,
      "gradient_clip_norm": 1.18,
      "label_smoothing": 0.05,
      "n_ensemble": 16,
      "nn_bias": false,
      "nn_bias_mini_batches": true,
      "nn_bias_scale": 1.0,
      "optimization": "ensemble_optimize",
      "optimize_steps": null,
      "patience_epochs": 50,
      "scheduler_min_lr": 6e-07,
      "stratify_sampling": false
    },
    "predictions": "predictions_default.pt",
    "test_inference_wall_time_seconds": 6.183685544063337,
    "test_metrics": {
      "accuracy": 0.79,
      "f1": 0.7920792079207921,
      "log_loss": 0.5147714363269957,
      "roc_auc": 0.8307322929171669
    },
    "train_val_merged_for_fit": false,
    "train_wall_time_seconds": 87.93668241600972,
    "trial_id": -1,
    "val_inference_wall_time_seconds": 6.763673173962161,
    "validation_metrics": {
      "accuracy": 0.69,
      "f1": 0.6868686868686869,
      "log_loss": 0.6030349462865598,
      "roc_auc": 0.779205138498595
    }
  },
  "gpu": true,
  "hpo_enabled": true,
  "model": "HyperFast",
  "primary_metric": "roc_auc",
  "schema_version": 1,
  "search_space": {
    "batch_size": {
      "choices": [
        1024,
        2048
      ],
      "type": "categorical"
    },
    "finetuning_batch_size": {
      "depends_on": "optimization",
      "ensemble_optimize": [
        128,
        256,
        1024
      ],
      "null": 1024,
      "type": "conditional"
    },
    "finetuning_dropout": {
      "depends_on": "optimization",
      "ensemble_optimize": {
        "high": 0.5,
        "low": 0.0,
        "type": "float"
      },
      "null": 0.15,
      "type": "conditional"
    },
    "finetuning_lr": {
      "depends_on": "optimization",
      "ensemble_optimize": {
        "high": 0.003,
        "log": true,
        "low": 1e-05,
        "type": "float"
      },
      "null": 0.0001,
      "type": "conditional"
    },
    "finetuning_parameter_scope": {
      "choices": [
        "all",
        "network",
        "head"
      ],
      "type": "categorical",
      "weights": [
        8,
        1,
        1
      ]
    },
    "finetuning_weight_decay": {
      "depends_on": "optimization",
      "ensemble_optimize": {
        "high": 0.1,
        "log": true,
        "low": 1e-06,
        "type": "float"
      },
      "null": 0.01,
      "type": "conditional"
    },
    "label_smoothing": {
      "depends_on": "optimization",
      "ensemble_optimize": [
        0.0,
        0.05,
        0.1
      ],
      "null": 0.0,
      "type": "conditional"
    },
    "n_ensemble": {
      "choices": [
        4,
        8,
        16,
        32
      ],
      "type": "categorical"
    },
    "nn_bias": {
      "choices": [
        true,
        false
      ],
      "type": "categorical"
    },
    "nn_bias_scale": {
      "depends_on": "nn_bias",
      "false": 1.0,
      "true": {
        "high": 1.0,
        "log": true,
        "low": 0.01,
        "type": "float"
      },
      "type": "conditional"
    },
    "optimization": {
      "choices": [
        "ensemble_optimize",
        null
      ],
      "type": "categorical",
      "weights": [
        9,
        1
      ]
    },
    "optimize_steps": {
      "depends_on": "optimization",
      "ensemble_optimize": [
        1,
        4,
        8,
        16,
        32,
        64,
        128,
        null
      ],
      "null": 0,
      "type": "conditional"
    },
    "stratify_sampling": {
      "choices": [
        true,
        false
      ],
      "type": "categorical"
    }
  },
  "seed": 42,
  "status": "complete",
  "train_best_time": 10.129079628968611,
  "train_default_time": 87.93668241600972,
  "tuning": {
    "budget_seconds": 21600,
    "direction": "maximize",
    "metric": "roc_auc",
    "n_attempted_trials": 100,
    "n_successful_trials": 100,
    "sampled_attempt_cap": 100
  }
}