Hi Adam @adamgayoso,
I am sorry if this question is already asked by someone else. In your scVI paper, you have mentioned about how to calculate Log-likelihood for scVI in the Supplemental Note 6 as the following:
I am not quite sure how we can keep the generative model’s parameters fixed and optimize the inference network during test time using the functions provided by scvi-tools. Also, could you please briefly explain how can it be equivalent to the marginal likelihood of the held-out data conditioned on a latent representation learned for that data? Does the get_elbo function provide the same estimation as mentioned in the above script?
Thanks a lot in advance.