All Projects → thegregyang → Gp4a

thegregyang / Gp4a

Code for NeurIPS 2019 paper: "Tensor Programs I: Wide Feedforward or Recurrent Neural Networks of Any Architecture are Gaussian Processes"

Projects that are alternatives of or similar to Gp4a

Quantecon Notebooks Python
A Repository of Notebooks for the Python Lecture Site
Stars: ✭ 194 (-1.02%)
Mutual labels:  jupyter-notebook
M5 Methods
Data, Benchmarks, and methods submitted to the M5 forecasting competition
Stars: ✭ 192 (-2.04%)
Mutual labels:  jupyter-notebook
Score sde
Official code for Score-Based Generative Modeling through Stochastic Differential Equations (ICLR 2021, Oral)
Stars: ✭ 190 (-3.06%)
Mutual labels:  jupyter-notebook
Ctr nn
基于深度学习的CTR预估,从FM推演各深度学习CTR预估模型(附代码)
Stars: ✭ 194 (-1.02%)
Mutual labels:  jupyter-notebook
Compstats
Code for a workshop on statistical interference using computational methods in Python.
Stars: ✭ 194 (-1.02%)
Mutual labels:  jupyter-notebook
Python tutorial
python tutorial
Stars: ✭ 195 (-0.51%)
Mutual labels:  jupyter-notebook
Open Visualizations
Visualizations based on best open science practices.
Stars: ✭ 194 (-1.02%)
Mutual labels:  jupyter-notebook
Covid19italia
Stars: ✭ 195 (-0.51%)
Mutual labels:  jupyter-notebook
Nbqa
Run any standard Python code quality tool on a Jupyter Notebook
Stars: ✭ 193 (-1.53%)
Mutual labels:  jupyter-notebook
Notes Linear Algebra
线性代数笔记
Stars: ✭ 2,393 (+1120.92%)
Mutual labels:  jupyter-notebook
Snippet
just some code snippet
Stars: ✭ 194 (-1.02%)
Mutual labels:  jupyter-notebook
Sklearn Benchmarks
A centralized repository to report scikit-learn model performance across a variety of parameter settings and data sets.
Stars: ✭ 194 (-1.02%)
Mutual labels:  jupyter-notebook
Largitdata
LargitData Course Material
Stars: ✭ 195 (-0.51%)
Mutual labels:  jupyter-notebook
Kite Python Blog Post Code
Code snippets from Kite blog posts
Stars: ✭ 194 (-1.02%)
Mutual labels:  jupyter-notebook
Hacktoberfest2020 Contributions
A beginner-friendly project to help you in open-source contributions. Made specifically for contributions in HACKTOBERFEST 2020! Hello World Programs and Algorithms! Please leave a star ⭐ to support this project! ✨
Stars: ✭ 196 (+0%)
Mutual labels:  jupyter-notebook
Intro To Dsp With Python
Stars: ✭ 194 (-1.02%)
Mutual labels:  jupyter-notebook
Imodels
Interpretable ML package 🔍 for concise, transparent, and accurate predictive modeling (sklearn-compatible).
Stars: ✭ 194 (-1.02%)
Mutual labels:  jupyter-notebook
Auto ts
Automatically build ARIMA, SARIMAX, VAR, FB Prophet and XGBoost Models on Time Series data sets with a Single Line of Code. Now updated with Dask to handle millions of rows.
Stars: ✭ 195 (-0.51%)
Mutual labels:  jupyter-notebook
Covid19 Japan Reff
Stars: ✭ 196 (+0%)
Mutual labels:  jupyter-notebook
Cvx short course
Materials for a short course on convex optimization.
Stars: ✭ 194 (-1.02%)
Mutual labels:  jupyter-notebook

Gaussian Process for Any Neural Architecture: Reference Implementations

Update July 2020

The 2nd paper in the Tensor Programs series, Neural Tangent Kernel for Any Architecture, is now out! It shows that the infinite-width limit of a neural network of any architecture is well-defined (in the technical sense that the tangent kernel (NTK) of any randomly initialized neural network converges in the large width limit) and can be computed. The associated repo implements this infinite-width neural network for RNN, Transformer, and a Batchnorm+ReLU MLP.


This repo is a companion to the paper

Tensor Programs I: Wide Feedforward or Recurrent Neural Networks of Any Architecture are Gaussian Processes
Greg Yang

which shows that the Gaussian process behavior arises in wide, randomly initialized, neural networks regardless of architecture.

Despite what the title suggests, this repo does not implement the infinite-width GP kernel for every architecture, but rather demonstrates the derivation and implementation for a few select architectures.

Architecture Notebook Colab
Simple RNN Notebook Open In Colab
GRU Notebook Open In Colab
Transformer Notebook Open In Colab
Batchnorm+ReLU MLP Notebook Open In Colab

Plots.ipynb also reproduces Figure (3) of the paper.

We have included the GloVe embeddings ExampleGloVeVecs.npy of example sentences we feed into the networks, as well as their normalized Gram matrix ExampleGloVeCov.npy. GloVe.ipynb recreates them; if you wish to try the kernels on custom sentences, then modify GloVe.ipynb as appropriate.

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].