Nuclear-Verification-and-Disarmament / bicyclus

Bicyclus, a Bayesian Inference module for Cyclus
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Issues caused through PyMC #15

Open maxschalz opened 2 years ago

maxschalz commented 2 years ago

In this issue, I post problems, bugs etc. that are caused by PyMC as such and not by Bicyclus. To investigate these problems, I need help from outside or get into touch with the PyMC community.

maxschalz commented 2 years ago

pm.sample: Why does callback receive a NoneType instead of a trace?

This issue only occurs when using multiple chains. Apparently, I am not the only one having this problem, see https://discourse.pymc.io/t/how-can-i-terminate-pm-sample-when-a-convergence-criterion-is-met-e-g-r-hat-1-05/9704.

maxschalz commented 2 years ago

pm.iter_sample: How to correctly select initvals?

See description in https://github.com/Nuclear-Verification-and-Disarmament/bicyclus/issues/14.

Found this answer in the PyMC forum where somebody seems to have had similar issues with setting the start values. Maybe I could check it out later.