Skip to content

Changes to logprob computation between v4 and v5 #6394

Answered by ricardoV94
michaelosthege asked this question in Q&A
Discussion options

You must be logged in to vote

L is a RV not a logp expression. Theres no place where the value variable enters the graph of the RV, hence the correct unused input error.

If you want the logp of L call model.logp(vars=[L], sum=False) (or compile_logp if you want a compiled function)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@michaelosthege
Comment options

@ricardoV94
Comment options

@ricardoV94
Comment options

@michaelosthege
Comment options

Answer selected by michaelosthege
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants