cesarali commited on
Commit
91e12a2
·
verified ·
1 Parent(s): d15e804

best val_rmse 0.1490

Browse files
Files changed (2) hide show
  1. config.json +75 -65
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "best_val_loss": 0.2538306415081024,
3
  "comet_ai_key": null,
4
  "context_observations": {
5
  "add_rem": false,
@@ -33,7 +33,7 @@
33
  "same_route": true,
34
  "time": 0.0
35
  },
36
- "experiment_dir": "/work/ojedamarin/Projects/Pharma/Results/comet/functional-flow-pk/39f07b30bb024f0caf01e23e9876e0f8",
37
  "experiment_indentifier": null,
38
  "experiment_name": "functional-flow-pk",
39
  "experiment_type": "flowpk",
@@ -47,7 +47,7 @@
47
  "meta_study": {
48
  "V_tmag_range": [
49
  0.001,
50
- 0.01
51
  ],
52
  "V_tscl_range": [
53
  1,
@@ -60,7 +60,7 @@
60
  ],
61
  "k_1p_tmag_range": [
62
  0.01,
63
- 0.1
64
  ],
65
  "k_1p_tscl_range": [
66
  1,
@@ -68,7 +68,7 @@
68
  ],
69
  "k_a_tmag_range": [
70
  0.01,
71
- 0.1
72
  ],
73
  "k_a_tscl_range": [
74
  1,
@@ -76,7 +76,7 @@
76
  ],
77
  "k_e_tmag_range": [
78
  0.01,
79
- 0.1
80
  ],
81
  "k_e_tscl_range": [
82
  1,
@@ -84,51 +84,51 @@
84
  ],
85
  "k_p1_tmag_range": [
86
  0.01,
87
- 0.1
88
  ],
89
  "k_p1_tscl_range": [
90
  1,
91
  5
92
  ],
93
  "log_V_mean_range": [
94
- 1,
95
- 7
96
  ],
97
  "log_V_std_range": [
98
- 0.15,
99
- 0.45
100
  ],
101
  "log_k_1p_mean_range": [
102
  -4,
103
  0
104
  ],
105
  "log_k_1p_std_range": [
106
- 0.15,
107
- 0.45
108
  ],
109
  "log_k_a_mean_range": [
110
  -1,
111
  2
112
  ],
113
  "log_k_a_std_range": [
114
- 0.15,
115
- 0.45
116
  ],
117
  "log_k_e_mean_range": [
118
  -5,
119
  0
120
  ],
121
  "log_k_e_std_range": [
122
- 0.15,
123
- 0.45
124
  ],
125
  "log_k_p1_mean_range": [
126
  -4,
127
  -1
128
  ],
129
  "log_k_p1_std_range": [
130
- 0.15,
131
- 0.45
132
  ],
133
  "num_individuals_range": [
134
  5,
@@ -139,8 +139,8 @@
139
  3
140
  ],
141
  "rel_ruv_range": [
142
- 0.01,
143
- 0.1
144
  ],
145
  "solver_method": "rk4",
146
  "time_num_steps": 100,
@@ -148,7 +148,7 @@
148
  "time_stop": 16.0
149
  },
150
  "mix_data": {
151
- "evaluate_prediction_steps_past": 0,
152
  "keep_tempfile": false,
153
  "log_transform": false,
154
  "n_of_databatches": null,
@@ -157,44 +157,47 @@
157
  "normalize_by_max": true,
158
  "normalize_time": true,
159
  "recreate_tempfile": false,
160
- "sample_size_for_generative_evaluation": 50,
 
 
161
  "store_in_tempfile": false,
162
  "tempfile_path": [
163
  "preprocessed",
164
  "simulated_ou_as_rates"
165
  ],
166
  "test_empirical_datasets": [
167
- "cesarali/Indometacin"
 
 
168
  ],
169
  "test_size": 64,
170
  "tqdm_progress": false,
171
- "train_size": 256,
172
- "val_size": 64,
173
  "z_score_normalization": false
174
  },
175
  "model_type": "node_pk",
176
- "my_results_path": "/work/ojedamarin/Projects/Pharma/Results/",
177
  "name_str": "FlowPK",
178
- "run_index": 1,
179
  "source_process": {
180
- "flow_sigma": 1e-05,
181
- "gp_eps": 1e-07,
182
- "gp_length_scale": 0.1,
183
- "gp_transform": "softplus",
184
- "gp_variance": 0.05,
185
  "source_type": "gaussian_process",
186
  "use_OT_coupling": false
187
  },
188
  "tags": [
189
  "UAI",
190
- "FlowPK-Grid",
191
- "FLOWPK"
192
  ],
193
  "target_observations": {
194
  "add_rem": true,
195
  "empirical_number_of_obs": 2,
196
  "max_num_obs": 10,
197
- "max_past": 0,
198
  "min_past": 0,
199
  "past_time_ratio": 0.3,
200
  "split_past_future": true,
@@ -205,7 +208,7 @@
205
  "val_rmse": {
206
  "epoch": null,
207
  "step": null,
208
- "value": 0.2538306415081024
209
  }
210
  },
211
  "meta": {}
@@ -217,8 +220,8 @@
217
  0.9,
218
  0.999
219
  ],
220
- "empirical_every_pct": 0.5,
221
- "epochs": 30,
222
  "eps": 1e-08,
223
  "generative_image_ids": null,
224
  "generative_image_ids_empirical_during": null,
@@ -229,25 +232,23 @@
229
  "new_individuals_images"
230
  ],
231
  "generative_metric_ids": null,
232
- "generative_metric_ids_empirical_during": [
233
- "vpc_npde_pvalues"
234
- ],
235
  "generative_metric_ids_empirical_end": [
236
  "vpc_npde_pvalues"
237
  ],
238
  "generative_metric_ids_val": [],
239
  "gradient_clip_val": 0.5,
240
- "learning_rate": 0.0001,
241
  "log_generative_empirical_during": true,
242
  "log_generative_empirical_end": true,
243
- "log_generative_val": false,
244
- "log_images_empirical_during": false,
245
  "log_images_empirical_end": true,
246
- "log_images_val": false,
247
  "log_interval": 1,
248
- "log_predictive_empirical_during": false,
249
  "log_predictive_empirical_end": true,
250
- "log_predictive_val": false,
251
  "models_end_of_training": [
252
  "last",
253
  "best-summary"
@@ -258,28 +259,37 @@
258
  "persistent_workers": true,
259
  "predictive_image_ids": null,
260
  "predictive_image_ids_empirical_during": null,
261
- "predictive_image_ids_empirical_end": [],
262
- "predictive_image_ids_val": [],
 
 
 
 
263
  "predictive_metric_ids": null,
264
- "predictive_metric_ids_empirical_during": null,
265
- "predictive_metric_ids_empirical_end": [],
 
 
 
 
266
  "predictive_metric_ids_val": [],
267
  "scheduler_name": "CosineAnnealingLR",
268
  "scheduler_params": {
269
- "T_max": 1000,
270
- "eta_min": 5e-05,
271
  "last_epoch": -1
272
  },
273
  "selected_summary_drugs": [
274
- "Indometacin"
 
275
  ],
276
- "selected_summary_metric": "npde_pvalue_mean",
277
  "shuffle_val": true,
278
  "summary_metric_checkpoint_dir": null,
279
  "summary_metric_checkpoint_filename": "best-summary.ckpt",
280
- "summary_metric_mode": "max",
281
- "summary_metric_name": "npde_pvalue_mean",
282
- "val_every_pct": 0.5,
283
  "weight_decay": 0.0001
284
  },
285
  "transformers_version": "4.52.4",
@@ -287,14 +297,14 @@
287
  "vector_field": {
288
  "combine_latent_mode": "mlp",
289
  "cov_proj_dim": 16,
290
- "decoder_attention_layers": 8,
291
  "decoder_num_heads": 4,
292
- "dropout": 0.2,
293
- "encoder_attention_layers": 8,
294
  "encoder_num_heads": 4,
295
- "fourier_modes": 20,
296
- "hidden_dim": 128,
297
- "time_fourier_max_freq": 128,
298
  "use_spectral_qkv": false,
299
  "zi_latent_dim": 200
300
  },
 
1
  {
2
+ "best_val_loss": 0.14899936318397522,
3
  "comet_ai_key": null,
4
  "context_observations": {
5
  "add_rem": false,
 
33
  "same_route": true,
34
  "time": 0.0
35
  },
36
+ "experiment_dir": "/home/ojedamarin/Projects/Pharma/Results/comet/functional-flow-pk/4c1fdf6439144ea8b4590604eff468f5",
37
  "experiment_indentifier": null,
38
  "experiment_name": "functional-flow-pk",
39
  "experiment_type": "flowpk",
 
47
  "meta_study": {
48
  "V_tmag_range": [
49
  0.001,
50
+ 0.001
51
  ],
52
  "V_tscl_range": [
53
  1,
 
60
  ],
61
  "k_1p_tmag_range": [
62
  0.01,
63
+ 0.02
64
  ],
65
  "k_1p_tscl_range": [
66
  1,
 
68
  ],
69
  "k_a_tmag_range": [
70
  0.01,
71
+ 0.02
72
  ],
73
  "k_a_tscl_range": [
74
  1,
 
76
  ],
77
  "k_e_tmag_range": [
78
  0.01,
79
+ 0.02
80
  ],
81
  "k_e_tscl_range": [
82
  1,
 
84
  ],
85
  "k_p1_tmag_range": [
86
  0.01,
87
+ 0.02
88
  ],
89
  "k_p1_tscl_range": [
90
  1,
91
  5
92
  ],
93
  "log_V_mean_range": [
94
+ 2,
95
+ 8
96
  ],
97
  "log_V_std_range": [
98
+ 0.2,
99
+ 0.6
100
  ],
101
  "log_k_1p_mean_range": [
102
  -4,
103
  0
104
  ],
105
  "log_k_1p_std_range": [
106
+ 0.2,
107
+ 0.6
108
  ],
109
  "log_k_a_mean_range": [
110
  -1,
111
  2
112
  ],
113
  "log_k_a_std_range": [
114
+ 0.2,
115
+ 0.6
116
  ],
117
  "log_k_e_mean_range": [
118
  -5,
119
  0
120
  ],
121
  "log_k_e_std_range": [
122
+ 0.2,
123
+ 0.6
124
  ],
125
  "log_k_p1_mean_range": [
126
  -4,
127
  -1
128
  ],
129
  "log_k_p1_std_range": [
130
+ 0.2,
131
+ 0.6
132
  ],
133
  "num_individuals_range": [
134
  5,
 
139
  3
140
  ],
141
  "rel_ruv_range": [
142
+ 0.001,
143
+ 0.01
144
  ],
145
  "solver_method": "rk4",
146
  "time_num_steps": 100,
 
148
  "time_stop": 16.0
149
  },
150
  "mix_data": {
151
+ "evaluate_prediction_steps_past": 5,
152
  "keep_tempfile": false,
153
  "log_transform": false,
154
  "n_of_databatches": null,
 
157
  "normalize_by_max": true,
158
  "normalize_time": true,
159
  "recreate_tempfile": false,
160
+ "sample_size_for_generative_evaluation": null,
161
+ "sample_size_for_generative_evaluation_end_of_training": 500,
162
+ "sample_size_for_generative_evaluation_val": 10,
163
  "store_in_tempfile": false,
164
  "tempfile_path": [
165
  "preprocessed",
166
  "simulated_ou_as_rates"
167
  ],
168
  "test_empirical_datasets": [
169
+ "cesarali/lenuzza-2016",
170
+ "cesarali/Indometacin",
171
+ "cesarali/Theophylline"
172
  ],
173
  "test_size": 64,
174
  "tqdm_progress": false,
175
+ "train_size": 12800,
176
+ "val_size": 256,
177
  "z_score_normalization": false
178
  },
179
  "model_type": "node_pk",
180
+ "my_results_path": "/home/ojedamarin/Projects/Pharma/Results/",
181
  "name_str": "FlowPK",
182
+ "run_index": 0,
183
  "source_process": {
184
+ "flow_sigma": 0.0001,
185
+ "gp_eps": 0.001,
186
+ "gp_length_scale": 0.01,
187
+ "gp_transform": "none",
188
+ "gp_variance": 0.01,
189
  "source_type": "gaussian_process",
190
  "use_OT_coupling": false
191
  },
192
  "tags": [
193
  "UAI",
194
+ "FlowPK"
 
195
  ],
196
  "target_observations": {
197
  "add_rem": true,
198
  "empirical_number_of_obs": 2,
199
  "max_num_obs": 10,
200
+ "max_past": 5,
201
  "min_past": 0,
202
  "past_time_ratio": 0.3,
203
  "split_past_future": true,
 
208
  "val_rmse": {
209
  "epoch": null,
210
  "step": null,
211
+ "value": 0.14899936318397522
212
  }
213
  },
214
  "meta": {}
 
220
  0.9,
221
  0.999
222
  ],
223
+ "empirical_every_pct": 0.1,
224
+ "epochs": 300,
225
  "eps": 1e-08,
226
  "generative_image_ids": null,
227
  "generative_image_ids_empirical_during": null,
 
232
  "new_individuals_images"
233
  ],
234
  "generative_metric_ids": null,
235
+ "generative_metric_ids_empirical_during": null,
 
 
236
  "generative_metric_ids_empirical_end": [
237
  "vpc_npde_pvalues"
238
  ],
239
  "generative_metric_ids_val": [],
240
  "gradient_clip_val": 0.5,
241
+ "learning_rate": 0.001,
242
  "log_generative_empirical_during": true,
243
  "log_generative_empirical_end": true,
244
+ "log_generative_val": true,
245
+ "log_images_empirical_during": true,
246
  "log_images_empirical_end": true,
247
+ "log_images_val": true,
248
  "log_interval": 1,
249
+ "log_predictive_empirical_during": true,
250
  "log_predictive_empirical_end": true,
251
+ "log_predictive_val": true,
252
  "models_end_of_training": [
253
  "last",
254
  "best-summary"
 
259
  "persistent_workers": true,
260
  "predictive_image_ids": null,
261
  "predictive_image_ids_empirical_during": null,
262
+ "predictive_image_ids_empirical_end": [
263
+ "prediction_images"
264
+ ],
265
+ "predictive_image_ids_val": [
266
+ "prediction_images"
267
+ ],
268
  "predictive_metric_ids": null,
269
+ "predictive_metric_ids_empirical_during": [
270
+ "prediction_metrics"
271
+ ],
272
+ "predictive_metric_ids_empirical_end": [
273
+ "prediction_metrics"
274
+ ],
275
  "predictive_metric_ids_val": [],
276
  "scheduler_name": "CosineAnnealingLR",
277
  "scheduler_params": {
278
+ "T_max": 100,
279
+ "eta_min": 0.0001,
280
  "last_epoch": -1
281
  },
282
  "selected_summary_drugs": [
283
+ "paracetamol glucuronide",
284
+ "midazolam"
285
  ],
286
+ "selected_summary_metric": "log_rmse",
287
  "shuffle_val": true,
288
  "summary_metric_checkpoint_dir": null,
289
  "summary_metric_checkpoint_filename": "best-summary.ckpt",
290
+ "summary_metric_mode": "min",
291
+ "summary_metric_name": "log_rmse",
292
+ "val_every_pct": 0.1,
293
  "weight_decay": 0.0001
294
  },
295
  "transformers_version": "4.52.4",
 
297
  "vector_field": {
298
  "combine_latent_mode": "mlp",
299
  "cov_proj_dim": 16,
300
+ "decoder_attention_layers": 4,
301
  "decoder_num_heads": 4,
302
+ "dropout": 0.1,
303
+ "encoder_attention_layers": 4,
304
  "encoder_num_heads": 4,
305
+ "fourier_modes": 64,
306
+ "hidden_dim": 256,
307
+ "time_fourier_max_freq": 256,
308
  "use_spectral_qkv": false,
309
  "zi_latent_dim": 200
310
  },
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cbdcfbb3952e6e90406cbe93e0aaf5f497290b8b4875abc92285465c4e145e88
3
- size 20016967
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b4eea360ed008e2946e1ee1dcba445d5d05c141ecce07cbff243dba91f51fc0
3
+ size 40022839