All Projects → deepmind → Neural Processes

deepmind / Neural Processes

Licence: apache-2.0
This repository contains notebook implementations of the following Neural Process variants: Conditional Neural Processes (CNPs), Neural Processes (NPs), Attentive Neural Processes (ANPs).

Projects that are alternatives of or similar to Neural Processes

Facial Similarity With Siamese Networks In Pytorch
Implementing Siamese networks with a contrastive loss for similarity learning
Stars: ✭ 719 (-3.36%)
Mutual labels:  jupyter-notebook
Numerical Computing Is Fun
Learning numerical computing with notebooks for all ages.
Stars: ✭ 730 (-1.88%)
Mutual labels:  jupyter-notebook
Pandas exercises
Practice your pandas skills!
Stars: ✭ 7,140 (+859.68%)
Mutual labels:  jupyter-notebook
Pytorch Openpose
pytorch implementation of openpose including Hand and Body Pose Estimation.
Stars: ✭ 716 (-3.76%)
Mutual labels:  jupyter-notebook
Keras realtime multi Person pose estimation
Keras version of Realtime Multi-Person Pose Estimation project
Stars: ✭ 728 (-2.15%)
Mutual labels:  jupyter-notebook
Juliatutorials
Learn Julia via interactive tutorials!
Stars: ✭ 732 (-1.61%)
Mutual labels:  jupyter-notebook
Gpyopt
Gaussian Process Optimization using GPy
Stars: ✭ 716 (-3.76%)
Mutual labels:  jupyter-notebook
Nbstripout
strip output from Jupyter and IPython notebooks
Stars: ✭ 738 (-0.81%)
Mutual labels:  jupyter-notebook
How To Predict Stock Prices Easily Demo
How to Predict Stock Prices Easily - Intro to Deep Learning #7 by Siraj Raval on Youtube
Stars: ✭ 729 (-2.02%)
Mutual labels:  jupyter-notebook
Swift
Swift for TensorFlow
Stars: ✭ 6,037 (+711.42%)
Mutual labels:  jupyter-notebook
Capsule Network Tutorial
Pytorch easy-to-follow Capsule Network tutorial
Stars: ✭ 722 (-2.96%)
Mutual labels:  jupyter-notebook
Ecco
Visualize and explore NLP language models. Ecco creates interactive visualizations directly in Jupyter notebooks explaining the behavior of Transformer-based language models (like GPT2).
Stars: ✭ 723 (-2.82%)
Mutual labels:  jupyter-notebook
Hitchhikers Guide
The Hitchhiker's Guide to Data Science for Social Good
Stars: ✭ 732 (-1.61%)
Mutual labels:  jupyter-notebook
Reinforcement Learning 2nd Edition By Sutton Exercise Solutions
Solutions of Reinforcement Learning, An Introduction
Stars: ✭ 713 (-4.17%)
Mutual labels:  jupyter-notebook
Essentialmath
Stars: ✭ 735 (-1.21%)
Mutual labels:  jupyter-notebook
Keras Idiomatic Programmer
Books, Presentations, Workshops, Notebook Labs, and Model Zoo for Software Engineers and Data Scientists wanting to learn the TF.Keras Machine Learning framework
Stars: ✭ 720 (-3.23%)
Mutual labels:  jupyter-notebook
Matplotlib Gallery
Examples of matplotlib codes and plots
Stars: ✭ 730 (-1.88%)
Mutual labels:  jupyter-notebook
Getting Things Done With Pytorch
Jupyter Notebook tutorials on solving real-world problems with Machine Learning & Deep Learning using PyTorch. Topics: Face detection with Detectron 2, Time Series anomaly detection with LSTM Autoencoders, Object Detection with YOLO v5, Build your first Neural Network, Time Series forecasting for Coronavirus daily cases, Sentiment Analysis with BERT.
Stars: ✭ 738 (-0.81%)
Mutual labels:  jupyter-notebook
Sgx Full Orderbook Tick Data Trading Strategy
Providing the solutions for high-frequency trading (HFT) strategies using data science approaches (Machine Learning) on Full Orderbook Tick Data.
Stars: ✭ 733 (-1.48%)
Mutual labels:  jupyter-notebook
Adjusttext
A small library for automatically adjustment of text position in matplotlib plots to minimize overlaps.
Stars: ✭ 731 (-1.75%)
Mutual labels:  jupyter-notebook

The Neural Process Family

This repository contains notebook implementations of the following Neural Process variants:

  • Conditional Neural Processes (CNPs)
  • Neural Processes (NPs)
  • Attentive Neural Processes (ANPs)

The code for CNPs can be found in conditional_neural_process.ipynb while the code for both NPs and ANPs is located in attentive_neural_process.ipynb.

The notebooks include an overview of the different building blocks of the models as well as the code to run each model in the browser. Any further details can be found in the CNP paper, the NP paper and the ANP paper.

Quick run

The easiest way to run the code is to run it in the browser on Colab. Here below are the links to each of the notebooks in Colab:

Colaboratory is a free Jupyter notebook environment provided by Google that requires no setup and runs entirely in the cloud. The hosted runtime already includes the following dependencies, tested on the following versions in brackets:

  • Numpy (1.14.6)
  • Tensorflow (1.13.1)
  • Matplotlib (2.2.4)

which are all we need to run the code in this repository.

Alternatively, you can open the .ipynb files using Jupyter notebook. If you do this you will also have to set up a local kernel that includes Tensorflow.

Citing CNPs

If you like our work and end up using neural processes for your reseach give us a shout-out:

  1. Conditional Neural Processes: Garnelo M, Rosenbaum D, Maddison CJ, Ramalho T, Saxton D, Shanahan M, Teh YW, Rezende DJ, Eslami SM. Conditional Neural Processes. In International Conference on Machine Learning 2018.

  2. Neural Processes: Garnelo, M., Schwarz, J., Rosenbaum, D., Viola, F., Rezende, D.J., Eslami, S.M. and Teh, Y.W. Neural processes. ICML Workshop on Theoretical Foundations and Applications of Deep Generative Models 2018.

  3. Attentive Neural Processes: Kim, H., Mnih, A., Schwarz, J., Garnelo, M., Eslami, A., Rosenbaum, D., Vinyals, O. and Teh, Y.W. Attentive Neural Processes. In International Conference on Learning Representations 2019.

Contact

Any feedback is much appreciated! Drop us a line at [email protected] (Conditional Neural Process) or [email protected] ((Attentive) Neural Process).

Disclaimer

This is not an official Google product.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].