Use and syntax of "observe" #115
nicolaspoisson42-oss
started this conversation in
Help with memo
Replies: 1 comment
-
|
Try using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi !
I'm currently working on the translation of Problang in WebPPL to Memo, in order to familiarize myself with the language, but I'm stuck on a seemingly very simple problem, could you help me understand the syntax issue?
I'm translating this block:
After defining the correct Prevalence and Theta distributions, prevalence prior and meaning function, I define the following listener:
"listener: observes meaning(...) is True" is ungrammatical, but I don't know any other way of conditioning properly in Memo. Could you explain me what I'm missing ?
Thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions