-
Notifications
You must be signed in to change notification settings - Fork 230
Closed
Description
Mentioned on the call today with Hong and Cameron -- perhaps we should add a wrapper type for data that throws an error if any variable is sampled from a distribution instead of being added to the log-likelihood. (Possibly exempting missing values.) Cameron suggested an @data convenience macro where users can list all their data variables and have them automatically converted by Turing.
This could avoid some of the errors we've been seeing on Discourse where users accidentally generate a sample instead of adding it to the log-likelihood.
Metadata
Metadata
Assignees
Labels
No labels