How to run logistic regression with weighted samples

Hey everyone, is there any follow up to this?

Would you use pm.sample_posterior_predictive for this? I wonder how to eliminate the weighting for new examples.