# How to run logistic regression with weighted samples

**URL:** https://discourse.pymc.io/t/how-to-run-logistic-regression-with-weighted-samples/5689
**Category:** Questions
**Tags:** linear\_model
**Created:** [August 24, 2020, 7:36am UTC](https://discourse.pymc.io/t/how-to-run-logistic-regression-with-weighted-samples/5689 "2020-08-24T07:36:18Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![RusselDaries](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/russeldaries/32/4406_2.png) [@RusselDaries](https://discourse.pymc.io/u/RusselDaries)
#### Post date: [August 30, 2021, 9:26am UTC](https://discourse.pymc.io/t/how-to-run-logistic-regression-with-weighted-samples/5689/11 "2021-08-30T09:26:48Z")

</div>

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.

---

_[View the full topic](https://discourse.pymc.io/t/how-to-run-logistic-regression-with-weighted-samples/5689)._
