Use of pm.Potential in Survival Analysis Example

If you upgrade to v4, then you get a way better API for censored data. See here for an example: Bayesian regression with truncated or censored data — PyMC documentation