People who code: we want your input. Take the Survey

Whether a discrete or continuous class, you can model it the same. Denote the encoder $q$ and the decoder $p$. Recall the variational autoencoder's goal is to minimize the $KL$ divergence between $q$ and $p$'s posterior. i.e. $\min_{\theta, \phi} \ KL(q(z|x;\theta) || p(z|x; \phi))$ where $\theta$ and $\phi$ parameterize the encoder and decoder respectively. ...

Only top voted, non community-wiki answers of a minimum length are eligible