You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: papers/tutorial/calibration/README.md
+35-15Lines changed: 35 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,44 +37,64 @@ The following plots should be generated. The first one shows the training and te
37
37
</p>
38
38
39
39
40
-
## Calibration
40
+
## Calibration with optimized likelihood uncertainty
41
41
42
42
For the calibration, we can use the true function or the surrogate model. The objective PDF is assumed to be noiseless. Even though the observation is noiseless, an uncertainty is computed to account for the missing physics.
43
+
The likelihood uncertainty that represents the missing physics is optimized to ensure an uncertainty band overlap
43
44
44
-
Calibrate without a surrogate for `alpha=5, beta=5`: `python tut_calibration_all.py --alpha 5 --beta 5`
45
+
Calibrate without a surrogate for `alpha=5, beta=5`: `python tut_calibration.py --alpha 5 --beta 5` (Left two plots)
46
+
47
+
Calibrate with a surrogate for `alpha=5, beta=5`: `python tut_calibration.py -useNN --alpha 5 --beta 5` (Right two plots)
Clearly, the amount of missing physics vary depending on the observations.
61
70
62
-
Then the same exercise can be done when using a neural net surrogate. Note that this step will not run if the `Building the surrogate` step was not done first
71
+
Using surrogate gives similar predictions as when not using a surrogate. But the surrogate was constructed with 200 forward simulations.
72
+
73
+
## Calibration with calibrated likelihood uncertainty
63
74
64
-
Calibrate with a surrogate for `alpha=5, beta=5`: `python tut_calibration_all.py --useNN --alpha 5 --beta 5`
75
+
The same suite can be done by calibrating the likelihood uncertainty in lieu of optimizing it (with a bissection search). This has the advantage of rapid calibration since only one calibration is needed. Here the uncertainty minimizes the negative log likelihood.
76
+
77
+
Calibrate without a surrogate for `alpha=5, beta=5`: `python tut_calibration.py -cal_err --alpha 5 --beta 5` (Left two plots)
78
+
79
+
Calibrate with a surrogate for `alpha=5, beta=5`: `python tut_calibration.py -useNN -cal_err --alpha 5 --beta 5` (Right two plots)
0 commit comments