Closed liunelson closed 4 months ago
@anirban-chaudhuri Is there a plan to bring these results back?
I believe the plan is to just chain sample
after running optimize
. I am working towards bringing some of the original statistics back to the output format from sample
. This is similar to the change with calibrate. You should be able to get samples using the optimal policy by using sample
with the optimal intervention.
See cell 12 in https://github.com/ciemss/pyciemss/blob/main/docs/source/interfaces.ipynb as an example for chaining optimize-sample. Let me know if this resolves the issue.
I have added risk estimation back into the sample
interface. See PR #504
Optimize currently returns only
policy, OptResults
. However, it used to also returnrisk, samples, qoi
. I think we needsamples
to plot what the optimal intervention policy looks like as a function of time (top of right panel),qoi
andrisk
to plot the kernel density of the QoI (bottom right of right panel) and the risk threshold value (thick horizontal black line).