• Stars
    star
    165
  • Rank 228,906 (Top 5 %)
  • Language
    Jupyter Notebook
  • Created about 5 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Code for experiments in my blog post on the Neural Tangent Kernel: https://rajatvd.github.io/NTK

Neural Tangent Kernel

This repo contains code for my blog post on Understanding the Neural Tangent Kernel.

Notebooks

  • ntk.ipynb has code for generating the gifs and some other visualizations (like the kernel function) not included in the post.
  • one_layer_asymptotics.ipynb empirically verifies the asymptotics for the gradient and Hessian derived in the blog post. Play with it in colab here: colab link.

Scripts

  • utils.py - has some helper functions to create models, run gradient descent, and calculate NTKs.
  • train.py - a sacred script which trains a simple fully connected network on 1-D data points.
  • grid_run.py - run a grid of sacred scripts with different configs. For example, I used this to create the runs with different alphas in the ellipse gif.

More Repositories

1

manimnx

Interface between networkx and manim
Python
49
star
2

NeuralODE

Experiments with Neural ODEs and Adversarial Attacks
Python
44
star
3

WordGenerator

Code for my blog post on Generating Words from Embeddings
Python
23
star
4

FactorGraphs

Animating factor graphs using manim, networkx and manimnx. Blog post: https://rajatvd.github.io/Factor-Graphs/
Python
15
star
5

AutoencoderAnim

Code for my blog post on Animating Doodles with Autoencoders
Jupyter Notebook
12
star
6

rajatvd.github.io

My website
SCSS
7
star
7

AdversarialReprogramming

Code for my blog post on Adversarial Reprogramming
Jupyter Notebook
7
star
8

pytorch-utils

Some utilities for building models in pytorch
Jupyter Notebook
6
star
9

VisdomObserver

A sacred RunObserver which uses visdom to plot metrics and artifacts
Jupyter Notebook
4
star
10

EE5120_Video

Code for Video Project of EE5120 Applied Linear Algebra (Jul-Nov 2018)
Python
3
star
11

PyCon

Repo containing draft materials for pysangamam and pycon talk proposal
HTML
3
star
12

EE2703

EE2703 Applied Programming Lab, Jan-May 2018
Jupyter Notebook
2
star
13

template-project

A template project repo using sacred
Jupyter Notebook
2
star
14

gifify

Jupyter Notebook
2
star
15

ProjectTemplate

Template for pytorch projects using sacred, visdom and pytorch-utils
Python
2
star
16

conway-3d

Bring computational irreducibility to life.
Python
2
star
17

Microprocessor

Microprocessor created in Verilog as part of EE2016
Jupyter Notebook
1
star
18

sorcerun

Tool to help manage and log computational experiments.
Python
1
star
19

2019_NLA

Numerical Linear Algebra offered in July-Nov 2019
Jupyter Notebook
1
star
20

GifGenerator

Periodically generate gifs and send them to a Telegram chat
Python
1
star
21

PhysicsSim

A 2D Physics Simulation
Java
1
star
22

manim-slide

Python
1
star