rethinkpriorities / squigglepy

Squiggle programming language for intuitive probabilistic estimation features in Python
MIT License
65 stars 8 forks source link

Fit beta #11

Closed NunoSempere closed 1 year ago

NunoSempere commented 1 year ago

Integrates functionality from https://nunosempere.com/blog/2023/03/15/fit-beta/ in Python. But glue code to integrate with Squigglepy is missing.

Also fixes a typo, Monte Hall => Monty Hall.

peterhurford commented 1 year ago

Hm thanks for this implementation but I think ideally we can fit the beta in Python and not need to have the package make API calls.

I fixed the typo (thanks for that) https://github.com/rethinkpriorities/squigglepy/commit/f65eec4f472d1b5102b4bc249b4e81d722fe5e89 but I'm going to close this PR and focus on porting over the Beta logic instead.