Neural Processes for 1D regression implemented as per paper: Neural Processes
Code developed from:
-
Kasper Martens: https://kasparmartens.rbind.io/post/np/
-
Chris Orm https://chrisorm.github.io/NGP.html
- Tensorflow 1.10.0
- Numpy 1.14.5
- Epochs = 10001
- Learning Rate = 0.001
- Deeper and wider layers
- Different activation functions
- Different priors and latent space transformations
- Learning over mutiple related functions
Figures: 30 Neural Process Function Draws for Different Training Epochs
- training context x range -2 to 2 and output range sin(x)
- test x range -10 to 10 to estimate posterior function samples