YannDubs / Neural-Process-Family

Code for the Neural Processes website and replication of 4 papers on NPs. Pytorch implementation.
https://yanndubs.github.io/Neural-Process-Family/
MIT License
202 stars 45 forks source link

LNP 1d regression marginal predictive #6

Closed dvtailor closed 1 year ago

dvtailor commented 3 years ago

Do you have code for evaluating the marginal predictive in the case of LNPs for the 1d regression scenario? By this I mean combining the latent samples giving a single mean and variance. I suppose this should be given by the law of total variance. Something like figure 3 here

dvtailor commented 2 years ago

I managed to write this code myself so this issue can be closed.