Giter Site home page Giter Site logo

lizdenhup / deep_learning_notes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from geyang/deep_learning_notes

0.0 1.0 0.0 585.25 MB

a collection of my notes on deep learning

Jupyter Notebook 96.22% Python 3.43% Mathematica 0.31% Shell 0.03% Makefile 0.01%

deep_learning_notes's Introduction

Notes on Deep Learning

New Repo of Deep Learning Papers! ๐ŸŒŸ ๐Ÿ’ฅ

I moved my collection of deep learning and machine learning papers from DropBox to this git repository! First blog post being planned is on "Boltzmann Machines, Statistical Mechanicsgit and Maximum Likelihood Estimation".

LINK: GitHub/episodeyang/deep_learning_papers_TLDR

from the Author

These are the notes that I left working through Nielsen's neural Net and Deep Learning book. You can find a table of contents of this repo below.

Table of Contents

Chapter 1: Intro to Deep Learning

Chapter 2: Intro to Tensorflow

Chapter 3: Advanced Tensorflow with GPU AWS Instance and PyCharm Remote Interpreter.

Chapter 4: Recurrent Networks.

Here I implemented a vanilla RNN from scratch. I didn't want to write the partial derivatives by hand, but Tensorflow feels a bit too opaque. The edf framework by TTIC is a poor-man's Tensorflow, and it provides auto-differentiation via component.backward() method. So I decided to go with it.

I also implemented RMSProp and Adam by hand, and tried hyper-parameter search. It was extremely informative.

Project: Doing Particle Simulation with Tensorflow

Project: LeNet with Novel Loss Function

Fun Highlights (Reverse Chronological Order)

some of the figures can be found scattered in the folder (I believe in a flat folder structure).

Particle Simulation with Tensorflow! (classical many body simulation for my quantum computing research)

It turned out that not needing to write the Jacobian of your equations of motion is a huge time saver in doing particle simulations.

Here is a 2D classical many body simulator I wrote for my quantum computing research. In my lab, I am building a new type of qubits by traping single electrons on the surface of super fluild helium. You can read more about our progress in this paper from PRX.

In this new experiment, we want to construct a very small electro-static trap so that we can couple a microwave mirror to the dipole of a single electron. To understand where electrons are likely to go, I need to build a simple electro-static simulation.

link to repo

Electron Configuration During Simulation

Projecting MNIST into a 2-Dimensional Deep Feature Space

It turned out that you can constrict the feature space of a convolutional neural network, and project the MNIST dataset onto a 2-dimensional plane!

This is my attempt at reproducing the work from Yandong Wei's paper (link see project readme (WIP)).

This makes very nice visualizations. Curious about how this embedding evolves during training, I made a few movies. You can find them inside the project folder.

network learning

MNIST ConvNet with TensorFlow

My first attempt at building a convolutional neural network with tensorflow.

This example does:

  • uses different GPUs for training and evaluation (manual device placement)
  • persist network parameters in check files (session saving and restore)
  • pushes loss and accuracy to summary, which can be visualized by tensorboard (summary and tensorboard)

MNIST ConvNet Tensorflow

A simple toy example

This one below shows how a simple network can be trained to emulate a given target function. Implemented with numpy without the help of tensorflow.

![network trained to emulate function](Ch1 Intro to Deep Learning/trained neural net emulate a step function.png)

Todos (02/07/2017):

  • Wormhole RNN [pdf]
  • Experiment with PyTorch
  • Proj RNN: Teach RNN how to do math
  • Proj NLP: syntax highlighter for natural language
  • Restricted Boltzman Machine, and how it is used in deep belief to initialize auto-encoders [Hinton, 2006]
  • binary weight networks XNOR net
  • Attention Networks: link: Augmented RNN
  • Image Captioning
  • Adversarial Hardened LeNet++ [1.0]
  • Adversarial Test of Hardened LeNet++ [1.0]
  • L2 Regularization with Logistic Regression [1.0]

Bucket List and Things Ran-into During Readings (not in order)

  • Denoising Autoencoder
  • Word2vec

Done:

  • work on optimize batch training. (numpy neural net)
  • add summary MNIST example with Tensorflow
  • Convolutional Neural Network
  • multi-GPU setup tensorflow doc [0.5 - 1.0]
  • CFAR Example [4.0]
  • Save and restore net
  • MNIST Perceptron logging and visualization with tensorboard
  • Feedforward Neural Network (Multilayer Perceptron) tensorboard doc [2.0]
  • TensorBoard
  • LeNet training ConvNet doc [1.0]
  • LeNet++ training [1.0]
  • Deep Feedforward Neural Network (Multilayer Perceptron with 2 Hidden Layers O.o)
  • Vanilla Recurrent Neural Network
  • regularization and batch normalization
  • LSTM with edf
  • GRU with edf

More Useful Links:

deep_learning_notes's People

Contributors

geyang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.