finncatling / lap-risk

Uncertainty-aware mortality risk modelling in emergency laparotomy, using data from the NELA.
MIT License
5 stars 0 forks source link

quick_sample isn't deterministic when quantity='y' #85

Closed finncatling closed 3 years ago

finncatling commented 3 years ago

Even though we use a random seed to make the coefficient sampling reproducible, quick_sample then passes the derived mu_shape_n_draws_by_n_samples to gam.distribution.sample(), which uses unseeded numpy random sampling under the hood.

finncatling commented 3 years ago

Fixed by #88