Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIMULATE f(x) FROM p LIMIT n #533

Open
riastradh-probcomp opened this issue Feb 17, 2017 · 1 comment
Open

SIMULATE f(x) FROM p LIMIT n #533

riastradh-probcomp opened this issue Feb 17, 2017 · 1 comment
Labels

Comments

@riastradh-probcomp
Copy link
Contributor

  • Add SimulateExp AST node like SimulateModelsExp.
  • Adapt parse.py to allow it and produce SimulateExp.
  • Implement expand_simulate like expand_simulate_models in macro.py.
  • Use expand_simulate like expand_simulate_models in compiler.py.
@fsaad
Copy link
Collaborator

fsaad commented Nov 19, 2017

For those looking for this feature, a simple workaround is to create a table of simulations, and use sql select to apply f to the samples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants