Assignmends done for Udacity's Deep Learning MOOC with Vincent Vanhoucke
Switch branches/tags
Nothing to show
Clone or download
Latest commit 8e0ccaf Nov 5, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
1_notmnist.ipynb Push All Code In Nov 5, 2017
2_fullyconnected.ipynb Push All Code In Nov 5, 2017
3_regularization.ipynb Push All Code In Nov 5, 2017
4_convolutions.ipynb Push All Code In Nov 5, 2017
5_word2vec.ipynb Push All Code In Nov 5, 2017
6_lstm.ipynb Push All Code In Nov 5, 2017 Update Nov 5, 2017
WordVectors.png Add Word Vectors Image Nov 5, 2017

Here are the assignments I have finished for the class:

  • Assignment 1: Preprocess notMNIST data and train a simple logistic regression model on it
  • Assignment 2: Train a fully-connected network using Gradient Descent and Stochastic Gradient Descent
  • Assignment 3: Use regularization techniques to improve a deep learning model
  • Assignment 4: Design and train a Convolutional Neural Network
  • Assignment 5: Train a skip-gram model on Text8 data and visualize the output
  • Assignment 6: Train a Long Short-Term Memory network to predict character sequences

This is an outcome of one of the assignments, a t-SNE projection of word vectors, clustered by similarity.


Installation and setup

Since the datasets are loaded in memory, 4 GB of RAM are short to run the notebooks, 8 GB will be more comfortable. The instructions are given for Mac OS, but it works on Linux as well.

I recommend to install the Python bundle Anaconda. All the assignments have been done with Python 2.7, so download the installation script accordingly. You can then install Jupyter Notebook from conda.

The next step is to install TensorFlow. At the time of writing, the latest release is r0.9, after several upgrades during the course. You can refer to the official documentation. Here is the list of commands:

$ conda create -n tensorflow python=2.7
$ source activate tensorflow
(tensorflow)$ export TF_BINARY_URL=
(tensorflow)$ pip install --upgrade --ignore-installed $TF_BINARY_URL

You can now grab the assignments from here to run my code or the stubs from the TensorFlow repository. All the other prerequisites (like numpy) have to be installed on the fly.

Quick start

From the repository root, start the Notebook server with jupyter notebook.