Skip to content

Classification predictions #1563

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

You must be logged in to vote

I got the same plot for all three latents, which makes me suspect I'm doing something wrong.

You have to set batch_shape=torch.Size([num_classes]) on the CholeskyVariationalDistribution. Otherwise, the GPs for each class are going to have the same output. See the variational multi-output tutorial for more details.

When I plot the probs and logits of the output from the likelihood, I got different things corresponding to the three latents, but they are not as smooth as I would like.

I think this is just an optimization issue. I raised the learning rate to 0.1 and upped the number of iterations to 1000, and predictions came out much smoother looking.

A few other minor issues:

  1. Multitas…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KrisNguyen135
Comment options

Answer selected by gpleiss
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