Skip to content

Is there something like log_marginal_likelihood() ? #1679

Answered by gpleiss
MJimitater asked this question in Q&A
Discussion options

You must be logged in to vote

Are you looking for the log marginal likelihood of a GP classifier or a regressor? For a regressor, call:

model.likelihood(model(train_x)).log_prob(train_y)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MJimitater
Comment options

@gpleiss
Comment options

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