{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "**Chapter 15 – Autoencoders**"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "_This notebook contains all the sample code and solutions to the exercises in chapter 15._"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Setup"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "First, let's make sure this notebook works well in both python 2 and 3, import a few common modules, ensure MatplotLib plots figures inline and prepare a function to save the figures:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "# To support both python 2 and python 3\n",
    "from __future__ import division, print_function, unicode_literals\n",
    "\n",
    "# Common imports\n",
    "import numpy as np\n",
    "import os\n",
    "import sys\n",
    "\n",
    "# to make this notebook's output stable across runs\n",
    "def reset_graph(seed=42):\n",
    "    tf.reset_default_graph()\n",
    "    tf.set_random_seed(seed)\n",
    "    np.random.seed(seed)\n",
    "\n",
    "# To plot pretty figures\n",
    "%matplotlib inline\n",
    "import matplotlib\n",
    "import matplotlib.pyplot as plt\n",
    "plt.rcParams['axes.labelsize'] = 14\n",
    "plt.rcParams['xtick.labelsize'] = 12\n",
    "plt.rcParams['ytick.labelsize'] = 12\n",
    "\n",
    "# Where to save the figures\n",
    "PROJECT_ROOT_DIR = \".\"\n",
    "CHAPTER_ID = \"autoencoders\"\n",
    "\n",
    "def save_fig(fig_id, tight_layout=True):\n",
    "    path = os.path.join(PROJECT_ROOT_DIR, \"images\", CHAPTER_ID, fig_id + \".png\")\n",
    "    print(\"Saving figure\", fig_id)\n",
    "    if tight_layout:\n",
    "        plt.tight_layout()\n",
    "    plt.savefig(path, format='png', dpi=300)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "A couple utility functions to plot grayscale 28x28 image:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def plot_image(image, shape=[28, 28]):\n",
    "    plt.imshow(image.reshape(shape), cmap=\"Greys\", interpolation=\"nearest\")\n",
    "    plt.axis(\"off\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def plot_multiple_images(images, n_rows, n_cols, pad=2):\n",
    "    images = images - images.min()  # make the minimum == 0, so the padding looks white\n",
    "    w,h = images.shape[1:]\n",
    "    image = np.zeros(((w+pad)*n_rows+pad, (h+pad)*n_cols+pad))\n",
    "    for y in range(n_rows):\n",
    "        for x in range(n_cols):\n",
    "            image[(y*(h+pad)+pad):(y*(h+pad)+pad+h),(x*(w+pad)+pad):(x*(w+pad)+pad+w)] = images[y*n_cols+x]\n",
    "    plt.imshow(image, cmap=\"Greys\", interpolation=\"nearest\")\n",
    "    plt.axis(\"off\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# PCA with a linear Autoencoder"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Build 3D dataset:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "import numpy.random as rnd\n",
    "\n",
    "rnd.seed(4)\n",
    "m = 200\n",
    "w1, w2 = 0.1, 0.3\n",
    "noise = 0.1\n",
    "\n",
    "angles = rnd.rand(m) * 3 * np.pi / 2 - 0.5\n",
    "data = np.empty((m, 3))\n",
    "data[:, 0] = np.cos(angles) + np.sin(angles)/2 + noise * rnd.randn(m) / 2\n",
    "data[:, 1] = np.sin(angles) * 0.7 + noise * rnd.randn(m) / 2\n",
    "data[:, 2] = data[:, 0] * w1 + data[:, 1] * w2 + noise * rnd.randn(m)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Normalize the data:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "from sklearn.preprocessing import StandardScaler\n",
    "scaler = StandardScaler()\n",
    "X_train = scaler.fit_transform(data[:100])\n",
    "X_test = scaler.transform(data[100:])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Now let's build the Autoencoder..."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Note: instead of using the `fully_connected()` function from the `tensorflow.contrib.layers` module (as in the book), we now use the `dense()` function from the `tf.layers` module, which did not exist when this chapter was written. This is preferable because anything in contrib may change or be deleted without notice, while `tf.layers` is part of the official API. As you will see, the code is mostly the same.\n",
    "\n",
    "The main differences relevant to this chapter are:\n",
    "* the `scope` parameter was renamed to `name`, and the `_fn` suffix was removed in all the parameters that had it (for example the `activation_fn` parameter was renamed to `activation`).\n",
    "* the `weights` parameter was renamed to `kernel` and the weights variable is now named `\"kernel\"` rather than `\"weights\"`,\n",
    "* the bias variable is now named `\"bias\"` rather than `\"biases\"`,\n",
    "* the default activation is `None` instead of `tf.nn.relu`"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "import tensorflow as tf\n",
    "\n",
    "reset_graph()\n",
    "\n",
    "n_inputs = 3\n",
    "n_hidden = 2  # codings\n",
    "n_outputs = n_inputs\n",
    "\n",
    "learning_rate = 0.01\n",
    "\n",
    "X = tf.placeholder(tf.float32, shape=[None, n_inputs])\n",
    "hidden = tf.layers.dense(X, n_hidden)\n",
    "outputs = tf.layers.dense(hidden, n_outputs)\n",
    "\n",
    "reconstruction_loss = tf.reduce_mean(tf.square(outputs - X))\n",
    "\n",
    "optimizer = tf.train.AdamOptimizer(learning_rate)\n",
    "training_op = optimizer.minimize(reconstruction_loss)\n",
    "\n",
    "init = tf.global_variables_initializer()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "n_iterations = 1000\n",
    "codings = hidden\n",
    "\n",
    "with tf.Session() as sess:\n",
    "    init.run()\n",
    "    for iteration in range(n_iterations):\n",
    "        training_op.run(feed_dict={X: X_train})\n",
    "    codings_val = codings.eval(feed_dict={X: X_test})"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Saving figure linear_autoencoder_pca_plot\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAARgAAADQCAYAAADcQn7hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAE8RJREFUeJzt3W+MXNV5x/Hvs7PrxQ0hCgb5TWT8IiClKQ3BfrNRKrbB\nagSK2gjUUiWOSexgk+BI0LRSLIFq4shIfpFaKEAx4o9NUiIUQCFJUVUIlqBeKTVySERT0SZgoIgG\n3JBgF//dpy/O3O74ev7cmb1nzp07v480Wu/MnZkzu57fnvOcM+eauyMiEsNE6gaISH0pYEQkGgWM\niESjgBGRaBQwIhKNAkZEolHAiEg0ChgRiUYBIyLRTKZuwCDOO+88X7lyZepmiIyt55577i13P7/X\ncSMZMCtXrmT//v2pmyEytszsYJHjNEQSkWgUMCISjQJGRKJRwNTA3Bzcdlv4KlIlI1nklQVzc3D5\n5XD8OCxZAk89BTMzqVslEqgHMwK69VD27g3hcupU+Lp377BbJ9KZejBDNjcXQmB29syeRrvbevVQ\nZmfD9dnts7PDeBUixShgOugWBIt5zE5h0Xrb5CR84Quwbl37Hkpre2ZmwuOU3VaRMihg2ohV1+gW\nFq23nToFd98Nu3fDzp29eygzMwoWqSbVYNqIVdfIhjONxplhkd1mFr53D8996FAIuG3bygs6zTrJ\nsKgH00asuka34Ux22549cN99Idyy5y6zh6JZJxkmBUwbMesa3cIiuy2rvcSoqfSq6YiUSQHTQcq6\nRszn1qyTDNPYB0yZs0UxZp7KplknGaakAWNm08CdwBrgXOCXwBZ3f2IYz19mPWKUahuadZJhST2L\nNAm8ClwGvA+4GXjYzFYO48nLn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2OsbMDLiXUPy80t1P\nxG5XAi8Ck2Z2obv/R/O6j1D/4cI4/G5bzQIrgVfCS+dsoGFmv+/ulxZ9EBV5S2Rmfw9cAqxx98Op\n2xOLmX0XcOCLhNf7j8DH3L22ITMuv9uMmf0ep/dU/5oQOF9y9zeLPo6GSCUxswuATYT/hG+Y2eHm\n5bOJmxbDl4GlwK+Bhwj/6eocLuP0uwXA3f/X3d/ILoSh8dF+wgXUgxGRiNSDEZFoFDAiEo0CRkSi\nUcCISDQKGBGJRgEjItEoYEQkGgWMiESjgBGRaBQwEoWZLTGz410+gf5o6jZKfPo0tcQyBaxvc/1N\nwKXAD4bbHElBn0WSoTGzHcDfAF9192+mbo/Epx6MRNfcS+V24AbgBne/M3GTZEhUg5GomrvA7SJs\n8bChNVzM7C/M7Nnm1gcvp2qjxKMejERjZg1gN3ANsNbdH8od8hvgW4Rd4m4acvNkCBQwEkVzc+x/\nAP4UuMbdz5g1cvd/bh776SE3T4ZEASOlM7Np4HuETaOvcvcfJW6SJKKAkRj2AJ8CHgDeb2b5k3U9\n7u75U59IDSlgpFTNGaPsvM2fb15azTMm51ASBYyUzMPCqvx5k2RMKWAkmeYs01TzYmZ2FiGjjqVt\nmZRFASMpfQ64v+X7d4GDhPPvSA3oowIiEo1W8opINAoYEYlGASMi0ShgRCQaBYyIRKOAEZFoFDAi\nEs3/AQcsVH7eWduMAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7fdd942ca710>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "fig = plt.figure(figsize=(4,3))\n",
    "plt.plot(codings_val[:,0], codings_val[:, 1], \"b.\")\n",
    "plt.xlabel(\"$z_1$\", fontsize=18)\n",
    "plt.ylabel(\"$z_2$\", fontsize=18, rotation=0)\n",
    "save_fig(\"linear_autoencoder_pca_plot\")\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Stacked Autoencoders"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Let's use MNIST:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Extracting /tmp/data/train-images-idx3-ubyte.gz\n",
      "Extracting /tmp/data/train-labels-idx1-ubyte.gz\n",
      "Extracting /tmp/data/t10k-images-idx3-ubyte.gz\n",
      "Extracting /tmp/data/t10k-labels-idx1-ubyte.gz\n"
     ]
    }
   ],
   "source": [
    "from tensorflow.examples.tutorials.mnist import input_data\n",
    "mnist = input_data.read_data_sets(\"/tmp/data/\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Train all layers at once"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Let's build a stacked Autoencoder with 3 hidden layers and 1 output layer (ie. 2 stacked Autoencoders). We will use ELU activation, He initialization and L2 regularization."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Note: since the `tf.layers.dense()` function is incompatible with `tf.contrib.layers.arg_scope()` (which is used in the book), we now use python's `functools.partial()` function instead. It makes it easy to create a `my_dense_layer()` function that just calls `tf.layers.dense()` with the desired parameters automatically set (unless they are overridden when calling `my_dense_layer()`)."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "reset_graph()\n",
    "\n",
    "from functools import partial\n",
    "\n",
    "n_inputs = 28 * 28\n",
    "n_hidden1 = 300\n",
    "n_hidden2 = 150  # codings\n",
    "n_hidden3 = n_hidden1\n",
    "n_outputs = n_inputs\n",
    "\n",
    "learning_rate = 0.01\n",
    "l2_reg = 0.0001\n",
    "\n",
    "X = tf.placeholder(tf.float32, shape=[None, n_inputs])\n",
    "\n",
    "he_init = tf.contrib.layers.variance_scaling_initializer() # He initialization\n",
    "#Equivalent to:\n",
    "#he_init = lambda shape, dtype=tf.float32: tf.truncated_normal(shape, 0., stddev=np.sqrt(2/shape[0]))\n",
    "l2_regularizer = tf.contrib.layers.l2_regularizer(l2_reg)\n",
    "my_dense_layer = partial(tf.layers.dense,\n",
    "                         activation=tf.nn.elu,\n",
    "                         kernel_initializer=he_init,\n",
    "                         kernel_regularizer=l2_regularizer)\n",
    "\n",
    "hidden1 = my_dense_layer(X, n_hidden1)\n",
    "hidden2 = my_dense_layer(hidden1, n_hidden2)\n",
    "hidden3 = my_dense_layer(hidden2, n_hidden3)\n",
    "outputs = my_dense_layer(hidden3, n_outputs, activation=None)\n",
    "\n",
    "reconstruction_loss = tf.reduce_mean(tf.square(outputs - X))\n",
    "\n",
    "reg_losses = tf.get_collection(tf.GraphKeys.REGULARIZATION_LOSSES)\n",
    "loss = tf.add_n([reconstruction_loss] + reg_losses)\n",
    "\n",
    "optimizer = tf.train.AdamOptimizer(learning_rate)\n",
    "training_op = optimizer.minimize(loss)\n",
    "\n",
    "init = tf.global_variables_initializer()\n",
    "saver = tf.train.Saver() # not shown in the book"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Now let's train it! Note that we don't feed target values (`y_batch` is not used). This is unsupervised training."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0 Train MSE: 0.0205375\n",
      "1 Train MSE: 0.0114228\n",
      "2 Train MSE: 0.0102233\n",
      "3 Train MSE: 0.00990161\n",
      "4 Train MSE: 0.0103758\n"
     ]
    }
   ],
   "source": [
    "n_epochs = 5\n",
    "batch_size = 150\n",
    "\n",
    "with tf.Session() as sess:\n",
    "    init.run()\n",
    "    for epoch in range(n_epochs):\n",
    "        n_batches = mnist.train.num_examples // batch_size\n",
    "        for iteration in range(n_batches):\n",
    "            print(\"\\r{}%\".format(100 * iteration // n_batches), end=\"\") # not shown in the book\n",
    "            sys.stdout.flush()                                          # not shown\n",
    "            X_batch, y_batch = mnist.train.next_batch(batch_size)\n",
    "            sess.run(training_op, feed_dict={X: X_batch})\n",
    "        loss_train = reconstruction_loss.eval(feed_dict={X: X_batch})   # not shown\n",
    "        print(\"\\r{}\".format(epoch), \"Train MSE:\", loss_train)           # not shown\n",
    "        saver.save(sess, \"./my_model_all_layers.ckpt\")                  # not shown"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "This function loads the model, evaluates it on the test set (it measures the reconstruction error), then it displays the original image and its reconstruction:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [],
   "source": [
    "def show_reconstructed_digits(X, outputs, model_path = None, n_test_digits = 2):\n",
    "    with tf.Session() as sess:\n",
    "        if model_path:\n",
    "            saver.restore(sess, model_path)\n",
    "        X_test = mnist.test.images[:n_test_digits]\n",
    "        outputs_val = outputs.eval(feed_dict={X: X_test})\n",
    "\n",
    "    fig = plt.figure(figsize=(8, 3 * n_test_digits))\n",
    "    for digit_index in range(n_test_digits):\n",
    "        plt.subplot(n_test_digits, 2, digit_index * 2 + 1)\n",
    "        plot_image(X_test[digit_index])\n",
    "        plt.subplot(n_test_digits, 2, digit_index * 2 + 2)\n",
    "        plot_image(outputs_val[digit_index])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "INFO:tensorflow:Restoring parameters from ./my_model_all_layers.ckpt\n",
      "Saving figure reconstruction_plot\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAeQAAAGoCAYAAACXNJbuAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHOhJREFUeJzt3VuMX1X5N/Dddo5MTxQYphQpUAQqQgCppRaNYFJCjBA1\naJQLDWokJpJIogYSE/XGS+WGoNEAoiFGEzQNKAEUReWsBYIcCuVk0zK0ldJO51TK/+Z9E98361n/\n7t9MZ55pP5/LZ89ee8/vN7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orrxTrv/71r8OxNm3aVKxfeOGF\nxfrHPvaxcKwVK1YU69H9drJe9Wysce0NGQASEMgAkIBABoAEBDIAJCCQASABXdY0TdM0L730UrF+\n3XXXtR7roYceKtaHhoZajwWdmM71hqN1psfHx1vVmybumo7Wy446pmvnRF3eUdfwkiVLwmvs37+/\nWP/zn/9crN91113hWNHnuHbt2mI9Wq+6aeKu9Oh3rHVMR2N10pE/Vd6QASABgQwACQhkAEhAIANA\nAgIZABIQyACQgGlPNE3TNBs3bizWJycnw3OuvPLKYv3UU0+dlnuCDKLpL9FUmtq0p2hKUnd3d7Fe\nm/YUTdcZGxsr1nt6eor1aDpSbaynn366WN+2bVs41mWXXVasr1+/vlhfvHhxOFYnG2VEos8x+lym\nc0rd/88bMgAkIJABIAGBDAAJCGQASEAgA0ACuqyPMFHX9J133lms9/b2hmP94Ac/KNajrkWYKW07\nZGuds207d6Nu5qZpmoULFxbrUZd17b52795drEcbWPT39xfr0QYSTdM0Tz31VLH+5JNPFutnnnlm\nOFbUTX3iiScW69Fn0jRx93cnz57o9z+U3dQRb8gAkIBABoAEBDIAJCCQASABgQwACeiyPsL87Gc/\nK9YffPDBYv3zn/98OJY1qzlcRGsjN03csR11X9e6rNt2Ou/bty8cKzpn0aJFxfrAwECxvnXr1vAa\nd999d7H+4osvFuuXXnppONbatWuL9WjN6mjd76Zp3xld69iOZp5EfxPz5x+691hvyACQgEAGgAQE\nMgAkIJABIAGBDAAJCGQASMC0p8PQpk2bwmNf//rXi/WlS5cW69///ven5Z5gJkXTX6IpTLUNFiLR\nRga1aU/ROW03sGiaeBpTVI9+x3vuuSe8RrTpTDR96+KLLw7HGhoaKtajz2R8fDwcq+33W9soIprG\nFE17iq7xv13nYHhDBoAEBDIAJCCQASABgQwACQhkAEhAl/UcNjo6Wqx/7nOfC8+JujmvuuqqYt0G\nEhxOoi7YWpdzV1e7x2Rto4qRkZFivZMu76ibO+oa/sc//lGs33bbbeE13njjjWL96quvLtbPOeec\ncKxo04vos69t4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Fuu+22Yv1f//pX\nsf6b3/wmHOtLX/pSeAwyiqbS1KbYRNObovqbb74ZjvXII48U6w888ECxvmnTpnCsycnJYv3UU08t\n1qNpiosWLQqvET1LoulbO3fuDMeKNqroZEOIaHpTdE60eUfTNE1PT094rO19TXVDCm/IAJCAQAaA\nBAQyACQgkAEgAYEMAAnosj4Ir732Wnjspz/9aaux1qxZEx77wx/+UKxHC7xH3YG1xeJffPHFYv1v\nf/tbsb5jx45wLJhrOumC7e7uLtb37t1brEfdxE0Td2ZH52zYsCEc64Mf/GCxftFFFxXrRx99dLH+\n1FNPhde44447ivX//Oc/repNE3c679mzJzwnEnXF17qpI9FmIP39/a3HmipvyACQgEAGgAQEMgAk\nIJABIAGBDAAJ6LI+CLVO42hd06ib+r777gvHWrhwYbsbC9x6663hsccee6zVWFdcccUU7wZmXtRN\nHdVr6xO3vUat03doaKhYX7duXbF+ySWXhGNFa9xHszKirvB///vf4TW2bNlSrEed0bU1waNZIZ10\nTEdrWff29hbrUad8baxorfAFCxaEY1nLGgAOAwIZABIQyACQgEAGgAQEMgAkIJABIAHTng7C+eef\nHx6LpkRFLf4zsWB5bcOLThZfh8NFNP2lNpVl//79xfrg4GCxHk07app4WszZZ59drJ9zzjnhWF1d\n5cd3NCXpmWeeKdbvvvvu8BrROdE0rZNPPjkc65hjjinWo89r586d4ViR6Plam44Ufb+RqU5tqvGG\nDAAJCGQASEAgA0ACAhkAEhDIAJCALuspWrJkyaxd+/bbby/Wn3zyydZjbdiwoVhftWpV67Fgts2f\nX37XiDpka5sP1I6V9PX1tR4rut/aZg0jIyPF+htvvFGsP/roo8X6q6++Gl7j+OOPL9bPPffcYv2M\nM84Ix4o62UdHR4v1sbGxcKyoMzqq1zrfo80lOtlwZKq8IQNAAgIZABIQyACQgEAGgAQEMgAkoMt6\nDvjnP/9ZrH/1q18t1qOuwaZpmuXLlxfrN954Y7HetsMUZkptTeG2HbK1saLu4Hfeeaf1WNH609FY\n0c83TdO8/fbbxfr27duL9ZdeeikcK3LqqacW62vWrCnWa93M27Zta3XtWrd61H0efVe1Z2J0TtSx\nXfvbmuo6196QASABgQwACQhkAEhAIANAAgIZABIQyACQgGlPc8BDDz1UrNda+SPXXHNNsX766ae3\nHguyiqamdDJVqe3GD9F0maaJp9gMDAy0HivaROJPf/pTsf773/++WK9tkLN27dpi/eyzzy7Wa9Mk\nJyYmivX+/v7WY03nxg/Rd2JzCQA4QglkAEhAIANAAgIZABIQyACQgC7rRK6++upi/Ve/+lWrcb7x\njW+Ex771rW+1Gguyms5F/mvdzNF1oi7rqJO7aeKO4mjGxPDwcDjWvffeW6zfddddxXq06cS6devC\na6xfv75YX7FiRbG+b9++cKw9e/YU61GXd+1zbPud1PT29rb6+drf3VQ7s70hA0ACAhkAEhDIAJCA\nQAaABAQyACSgy3qG7d27NzwWrTU7NjZWrB9//PHF+g033BBeo6enp3J3cHhou5Z1rTs2WoM5+l+K\n1kauGRkZKdafeOKJ8Jz777+/WI+6qS+++OJi/fLLLw+vcf755xfr0edV+xyjbubonMnJyXCsrq5y\ndEVj1Z57bbvl23bwt+ENGQASEMgAkIBABoAEBDIAJCCQASABXdYz7MorrwyP1datLbn22muL9WXL\nlrUaB44UURdurXM26vaNOnfnz4/fc6KO7bfffrtY37JlSzjWs88+W6wvX768WL/00kuL9Q984APh\nNQYGBor1aF3qTtafHh0dbXWNpmmaRYsWFevR91i7r0gnneS17/5geEMGgAQEMgAkIJABIAGBDAAJ\nCGQASEAgA0ACpj0dItGi8A888EDrsT71qU8V69ddd13rseBIFm0kENWbJt4sIpri0t3dHY715ptv\nFuuPPPJIsX7fffe1Hmv9+vXF+llnnVWs1373HTt2FOvRNK1oA4mmaZrx8fFiPZqqFG0gUTunk40f\noilRUb12X1PlDRkAEhDIAJCAQAaABAQyACQgkAEgAV3WUxQtjH799dcX69Hi8jXR4u/R4vZAWdQZ\nXdsUIPo/6+vrK9Zr/+PRhgmPPfZYsR7N1miaphkaGirWP/KRjxTrg4ODxXrURd40cafx0Ucf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EAGgAQEMgAkMK+2UPYhNCsXnUk///nPi/WJiYlpu8aTTz5ZrE/n5g7f/OY3\nw2NRR2Pk8ssvD4/VuiCTOnStlvw/hoeHWz8v2m4YUOuc7enpKdbHxsaK9ahjummaZuvWrcV6tJHC\nyMhIONbmzZuL9eHh4fCckh07doTHoi7vqDN71apV4VgLFy4s1qPPPtqMomma5r3vfW+xHj1Hos0o\nmqZp+vr6ivXu7u5ivTZbJDI4OHhQzwtvyACQgEAGgAQEMgAkIJABIAGBDAAJ6LKGzuiyniGddFlH\noo7eqJO6dk707Kx1bEfrSUfrYtc6eqNzdu3aVaxHHdvbtm0LrxGdc+yxxxbrQ0ND4Vi19cJLatkU\nfS5Rx3RtXexOPvu2dFkDwBwikAEgAYEMAAkIZABIQCADQAICGQASMO0JOmPa0wyZiWlPCxYsCM/p\nZEOKttePpt7U7iva/KC3t7fVPUVTsWrH2v4etbGi6VC1sSYnJ1uN1cn3G9U7yUzTngBgDhHIAJCA\nQAaABAQyACQgkAEggelbPRsguahDttbRGx3rpNs26gKOupajTuraOePj48V61DVcs2/fvmI92nih\nk80wOtG2873WEd9285BDyRsyACQgkAEgAYEMAAkIZABIQCADQAK6rIEjXicdtdE5tY7ett3B0ZrN\nteu3XTO6do1O1uuOtO0wj36+aTrrGJ8LDs/fCgDmGIEMAAkIZABIQCADQAICGQASEMgAkIBpTwAd\nmM4pQdEUptr0nmhaUNspQT09PeGxTjZraDvWdP384cAbMgAkIJABIAGBDAAJCGQASEAgA0AC8zpZ\nVB0AmF7ekAEgAYEMAAkIZABIQCADQAICGQASEMgAkIBABoAEBDIAJCCQASABgQwACQhkAEhAIANA\nAgIZABIQyACQgEAGgAQEMgAkIJABIAGBDAAJCGQASEAgA0ACAhkAEhDIAJCAQAaABAQyACQgkAEg\nAYEMAAn8D1DzB/p6j0AZAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7fdd1d01e400>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "show_reconstructed_digits(X, outputs, \"./my_model_all_layers.ckpt\")\n",
    "save_fig(\"reconstruction_plot\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Tying weights"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "It is common to tie the weights of the encoder and the decoder (`weights_decoder = tf.transpose(weights_encoder)`). Unfortunately this makes it impossible (or very tricky) to use the `tf.layers.dense()` function, so we need to build the Autoencoder manually:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "reset_graph()\n",
    "\n",
    "n_inputs = 28 * 28\n",
    "n_hidden1 = 300\n",
    "n_hidden2 = 150  # codings\n",
    "n_hidden3 = n_hidden1\n",
    "n_outputs = n_inputs\n",
    "\n",
    "learning_rate = 0.01\n",
    "l2_reg = 0.0005"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [],
   "source": [
    "activation = tf.nn.elu\n",
    "regularizer = tf.contrib.layers.l2_regularizer(l2_reg)\n",
    "initializer = tf.contrib.layers.variance_scaling_initializer()\n",
    "\n",
    "X = tf.placeholder(tf.float32, shape=[None, n_inputs])\n",
    "\n",
    "weights1_init = initializer([n_inputs, n_hidden1])\n",
    "weights2_init = initializer([n_hidden1, n_hidden2])\n",
    "\n",
    "weights1 = tf.Variable(weights1_init, dtype=tf.float32, name=\"weights1\")\n",
    "weights2 = tf.Variable(weights2_init, dtype=tf.float32, name=\"weights2\")\n",
    "weights3 = tf.transpose(weights2, name=\"weights3\")  # tied weights\n",
    "weights4 = tf.transpose(weights1, name=\"weights4\")  # tied weights\n",
    "\n",
    "biases1 = tf.Variable(tf.zeros(n_hidden1), name=\"biases1\")\n",
    "biases2 = tf.Variable(tf.zeros(n_hidden2), name=\"biases2\")\n",
    "biases3 = tf.Variable(tf.zeros(n_hidden3), name=\"biases3\")\n",
    "biases4 = tf.Variable(tf.zeros(n_outputs), name=\"biases4\")\n",
    "\n",
    "hidden1 = activation(tf.matmul(X, weights1) + biases1)\n",
    "hidden2 = activation(tf.matmul(hidden1, weights2) + biases2)\n",
    "hidden3 = activation(tf.matmul(hidden2, weights3) + biases3)\n",
    "outputs = tf.matmul(hidden3, weights4) + biases4\n",
    "\n",
    "reconstruction_loss = tf.reduce_mean(tf.square(outputs - X))\n",
    "reg_loss = regularizer(weights1) + regularizer(weights2)\n",
    "loss = reconstruction_loss + reg_loss\n",
    "\n",
    "optimizer = tf.train.AdamOptimizer(learning_rate)\n",
    "training_op = optimizer.minimize(loss)\n",
    "\n",
    "init = tf.global_variables_initializer()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "saver = tf.train.Saver()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0 Train MSE: 0.0150667\n",
      "1 Train MSE: 0.0164884\n",
      "2 Train MSE: 0.0173757\n",
      "3 Train MSE: 0.0168782\n",
      "4 Train MSE: 0.0155875\n"
     ]
    }
   ],
   "source": [
    "n_epochs = 5\n",
    "batch_size = 150\n",
    "\n",
    "with tf.Session() as sess:\n",
    "    init.run()\n",
    "    for epoch in range(n_epochs):\n",
    "        n_batches = mnist.train.num_examples // batch_size\n",
    "        for iteration in range(n_batches):\n",
    "            print(\"\\r{}%\".format(100 * iteration // n_batches), end=\"\")\n",
    "            sys.stdout.flush()\n",
    "            X_batch, y_batch = mnist.train.next_batch(batch_size)\n",
    "            sess.run(training_op, feed_dict={X: X_batch})\n",
    "        loss_train = reconstruction_loss.eval(feed_dict={X: X_batch})\n",
    "        print(\"\\r{}\".format(epoch), \"Train MSE:\", loss_train)\n",
    "        saver.save(sess, \"./my_model_tying_weights.ckpt\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "INFO:tensorflow:Restoring parameters from ./my_model_tying_weights.ckpt\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAa8AAAFsCAYAAAB7FzYbAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAG3lJREFUeJzt3VuMleX1x/EHhDkPMMMgM4jD4CACtoaDBjwQjWm8MdFo\n44X1okZNSpq0SU3aBpMmrTd6p9w01mhA0QsTE8/nmpiowUNEsJVCOAiDMIMgMAdmhoP6v6n5G9Zv\ndZ539p7ZLOb7uVx5n3e/ew97L9+8P9cz6YcffkgAAEQyudIXAABAUTQvAEA4NC8AQDg0LwBAODQv\nAEA4NC8AQDg0LwBAODQvAEA4NC8AQDg0LwBAOFMq9LrMpEK5Tar0BUxU3d3dfJ9RVm1tbSN+n7nz\nAgCEQ/MCAIRD8wIAhFOpZ14AUBZqW6dJk8bvEeh4bSvlvafvv/8++9gi5z3XcecFAAiH5gUACIfm\nBQAIh+YFAAiH5gUACIe0IYDQVFrOSwBOnmz/e73IepXsU+dUx3mqqqqyrun06dNy/QUXXJD1+uo6\nPaUmGMcDd14AgHBoXgCAcGheAIBwaF4AgHAIbAAITQUJvHDCmTNnTE2FE6ZOnSrXqyCHOqd6fe+a\npkyxP8PDw8NZ15lSSt99952pnTp1ytS896QCH+pavRCL+vyLhGBGizsvAEA4NC8AQDg0LwBAODQv\nAEA4BDYAnHOKTHNQgQlvvQoiqMBDESrwUCREooIYtbW1puZN2Dhx4oSpqfekzplSSnV1dVnrvdev\n1DQO7rwAAOHQvAAA4dC8AADh0LwAAOHQvAAA4ZA2BHDO8UYhqRFDauyRl+xTY5PUa/X398v1J0+e\nNLX6+npTa2hoMDUv7aeoBKOqpaTf/9DQkKmpVGZKOkWozumNd1KfqVJkvFQO7rwAAOHQvAAA4dC8\nAADh0LwAAOEQ2ABQUbl7ZHlUO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mtoXX3whz6muddmyZabm\n7Rmowinq81PX7h2rAhtesEIFOYqEMEa79xt3XgCAcGheAIBwaF4AgHBoXgCAcAhsVMDnn39uar/5\nzW9MrcieROvWrTM17/+IB8pptA/cf6T+nRY5p1qvpkaklFJNTU3WehUiSSmlQ4cOmdprr71mamrP\nPe+cS5YsMbVVq1aZ2sqVK+V6FTg5fvy4qXmTeVTgRYU4ivxNRrtHVxHceQEAwqF5AQDCoXkBAMKh\neQEAwqF5AQDCIW1YAZs2bTI1L1morFmzxtQWLlxY0jUB4yF37ydvPyo1tkit975Paj8ulaI7duyY\nXK9GPP3nP/8xtYGBAVPz9ghbtGiRqV166aWm1tLSIter61fJQi99rJKB6u9UZD+xImlD9vMCAEwY\nNC8AQDg0LwBAODQvAEA4BDbG2D333GNqzz33XNbaP/zhD7L+pz/9qaRrAsqp1L2b1MN9L1ygghxq\n7y1vvaqrfa4OHDgg13/yySemdvToUVNraGgwtTlz5shzzpw509RUsMTbj2twcNDUVGDE25swNwTj\nyd37yxsvxX5eAIAJg+YFAAiH5gUACIfmBQAIh8BGmagHpCml9MYbb5iaevA6e/ZsU3vggQfkOdX+\nO0ClqAfuXogj90G+FxhQkyNUEEGFCLzX7+7uNrV//etfcv3evXtNLff7rIIlKaVUV1dnauo61R5d\nKaXU29tralOm2J92LxihPit1Td7rK+o3ypvQQWADADBh0LwAAOHQvAAA4dC8AADhENgokzvuuEPW\nv/nmm6z1v//9702tubm5pGsCxkORaQqlqqmpyapVV1fL9Spc8e2335rajh075Pqenh5TU5MzWltb\nTW3+/PnynJdddpmpqcCDeu2U9PYvs2bNMjX1OaWU0pkzZ2Q9lwrReIGZcuLOCwAQDs0LABAOzQsA\nEA7NCwAQDs0LABAOacNR+Oyzz0ztvffey15/++23m9r9999fyiUB55Qie3ypY70RaCpF6KXolGPH\njpnanj17TO2rr76S61Uyb9q0aabW2dlpasuXL5fnnDt3rqkVSWuqz0SNd/I+U5XAVHuEeSO71HmL\njAwbLe68AADh0LwAAOH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plotlib.figure.Figure at 0x7fdd1cecb9b0>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "show_reconstructed_digits(X, outputs, \"./my_model_tying_weights.ckpt\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Training one Autoencoder at a time in multiple graphs"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "There are many ways to train one Autoencoder at a time. The first approach it to train each Autoencoder using a different graph, then we create the Stacked Autoencoder by simply initializing it with the weights and biases copied from these Autoencoders."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Let's create a function that will train one autoencoder and return the transformed training set (i.e., the output of the hidden layer) and the model parameters."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "reset_graph()\n",
    "\n",
    "from functools import partial\n",
    "\n",
    "def train_autoencoder(X_train, n_neurons, n_epochs, batch_size,\n",
    "                      learning_rate = 0.01, l2_reg = 0.0005,\n",
    "                      activation=tf.nn.elu, seed=42):\n",
    "    graph = tf.Graph()\n",
    "    with graph.as_default():\n",
    "        tf.set_random_seed(seed)\n",
    "\n",
    "        n_inputs = X_train.shape[1]\n",
    "\n",
    "        X = tf.placeholder(tf.float32, shape=[None, n_inputs])\n",
    "        \n",
    "        my_dense_layer = partial(\n",
    "            tf.layers.dense,\n",
    "            activation=activation,\n",
    "            kernel_initializer=tf.contrib.layers.variance_scaling_initializer(),\n",
    "            kernel_regularizer=tf.contrib.layers.l2_regularizer(l2_reg))\n",
    "\n",
    "        hidden = my_dense_layer(X, n_neurons, name=\"hidden\")\n",
    "        outputs = my_dense_layer(hidden, n_inputs, activation=None, name=\"outputs\")\n",
    "\n",
    "        reconstruction_loss = tf.reduce_mean(tf.square(outputs - X))\n",
    "\n",
    "        reg_losses = tf.get_collection(tf.GraphKeys.REGULARIZATION_LOSSES)\n",
    "        loss = tf.add_n([reconstruction_loss] + reg_losses)\n",
    "\n",
    "        optimizer = tf.train.AdamOptimizer(learning_rate)\n",
    "        training_op = optimizer.minimize(loss)\n",
    "\n",
    "        init = tf.global_variables_initializer()\n",
    "\n",
    "    with tf.Session(graph=graph) as sess:\n",
    "        init.run()\n",
    "        for epoch in range(n_epochs):\n",
    "            n_batches = len(X_train) // batch_size\n",
    "            for iteration in range(n_batches):\n",
    "                print(\"\\r{}%\".format(100 * iteration // n_batches), end=\"\")\n",
    "                sys.stdout.flush()\n",
    "                indices = rnd.permutation(len(X_train))[:batch_size]\n",
    "                X_batch = X_train[indices]\n",
    "                sess.run(training_op, feed_dict={X: X_batch})\n",
    "            loss_train = reconstruction_loss.eval(feed_dict={X: X_batch})\n",
    "            print(\"\\r{}\".format(epoch), \"Train MSE:\", loss_train)\n",
    "        params = dict([(var.name, var.eval()) for var in tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES)])\n",
    "        hidden_val = hidden.eval(feed_dict={X: X_train})\n",
    "        return hidden_val, params[\"hidden/kernel:0\"], params[\"hidden/bias:0\"], params[\"outputs/kernel:0\"], params[\"outputs/bias:0\"]"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Now let's train two Autoencoders. The first one is trained on the training data, and the second is trained on the previous Autoencoder's hidden layer output:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0 Train MSE: 0.0185175\n",
      "1 Train MSE: 0.0186825\n",
      "2 Train MSE: 0.0184675\n",
      "3 Train MSE: 0.0192315\n",
      "0 Train MSE: 0.00410999\n",
      "1 Train MSE: 0.00461446\n",
      "2 Train MSE: 0.0045527\n",
      "3 Train MSE: 0.00431479\n"
     ]
    }
   ],
   "source": [
    "hidden_output, W1, b1, W4, b4 = train_autoencoder(mnist.train.images, n_neurons=300, n_epochs=4, batch_size=150)\n",
    "_, W2, b2, W3, b3 = train_autoencoder(hidden_output, n_neurons=150, n_epochs=4, batch_size=150)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Finally, we can create a Stacked Autoencoder by simply reusing the weights and biases from the Autoencoders we just trained:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "reset_graph()\n",
    "\n",
    "n_inputs = 28*28\n",
    "\n",
    "X = tf.placeholder(tf.float32, shape=[None, n_inputs])\n",
    "hidden1 = tf.nn.elu(tf.matmul(X, W1) + b1)\n",
    "hidden2 = tf.nn.elu(tf.matmul(hidden1, W2) + b2)\n",
    "hidden3 = tf.nn.elu(tf.matmul(hidden2, W3) + b3)\n",
    "outputs = tf.matmul(hidden3, W4) + b4"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAa8AAAFsCAYAAAB7FzYbAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGrJJREFUeJzt3UusX1X5N/BV6JXS0gstl1LaWigUkIuIIDhQB0xMNGoY\nIAMNmkhMNJFEDSQm6kRnysSg0YCiAxMTNQ5U0AQtAlorIALW0pZSiy2U1t6vwDvxff9vur7r3316\nTnu62s9n+GSvvff5HX7nYWd/+6wJb731VgGAnpwx3jcAACOleQHQHc0LgO5oXgB0R/MCoDuaFwDd\n0bwA6I7mBUB3NC8AuqN5AdCdieN0XTOpGGsTxvsGTlfbtm3zfWZMzZkz56jfZ09eAHRH8wKgO5oX\nAN0Zr3deAKeEtK3UhAlewR5vnrwA6I7mBUB3NC8AuqN5AdAdzQuA7kgbAqe1lAx8880347GpfsYZ\n9TPAxIn1n9bWOc8888xBx77xxhuD7yklIFvr0/VT7WTjyQuA7mheAHRH8wKgO5oXAN0R2AC6NpJR\nTKMd25SCDJMmTRp0nVZgItVHEthI9alTp1a1Vggj1VPgoxU4GS+evADojuYFQHc0LwC6o3kB0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iO5gVAdzQvALqjeQHQHc0LgO5oXgB0R/MCoDuaFwDd\n0bwA6I7mBUB3/g/1FM9tbGao5wAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7fdd1cede198>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "show_reconstructed_digits(X, outputs)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Training one Autoencoder at a time in a single graph"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Another approach is to use a single graph. To do this, we create the graph for the full Stacked Autoencoder, but then we also add operations to train each Autoencoder independently: phase 1 trains the bottom and top layer (ie. the first Autoencoder) and phase 2 trains the two middle layers (ie. the second Autoencoder)."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "reset_graph()\n",
    "\n",
    "n_inputs = 28 * 28\n",
    "n_hidden1 = 300\n",
    "n_hidden2 = 150  # codings\n",
    "n_hidden3 = n_hidden1\n",
    "n_outputs = n_inputs\n",
    "\n",
    "learning_rate = 0.01\n",
    "l2_reg = 0.0001\n",
    "\n",
    "activation = tf.nn.elu\n",
    "regularizer = tf.contrib.layers.l2_regularizer(l2_reg)\n",
    "initializer = tf.contrib.layers.variance_scaling_initializer()\n",
    "\n",
    "X = tf.placeholder(tf.float32, shape=[None, n_inputs])\n",
    "\n",
    "weights1_init = initializer([n_inputs, n_hidden1])\n",
    "weights2_init = initializer([n_hidden1, n_hidden2])\n",
    "weights3_init = initializer([n_hidden2, n_hidden3])\n",
    "weights4_init = initializer([n_hidden3, n_outputs])\n",
    "\n",
    "weights1 = tf.Variable(weights1_init, dtype=tf.float32, name=\"weights1\")\n",
    "weights2 = tf.Variable(weights2_init, dtype=tf.float32, name=\"weights2\")\n",
    "weights3 = tf.Variable(weights3_init, dtype=tf.float32, name=\"weights3\")\n",
    "weights4 = tf.Variable(weights4_init, dtype=tf.float32, name=\"weights4\")\n",
    "\n",
    "biases1 = tf.Variable(tf.zeros(n_hidden1), name=\"biases1\")\n",
    "biases2 = tf.Variable(tf.zeros(n_hidden2), name=\"biases2\")\n",
    "biases3 = tf.Variable(tf.zeros(n_hidden3), name=\"biases3\")\n",
    "biases4 = tf.Variable(tf.zeros(n_outputs), name=\"biases4\")\n",
    "\n",
    "hidden1 = activation(tf.matmul(X, weights1) + biases1)\n",
    "hidden2 = activation(tf.matmul(hidden1, weights2) + biases2)\n",
    "hidden3 = activation(tf.matmul(hidden2, weights3) + biases3)\n",
    "outputs = tf.matmul(hidden3, weights4) + biases4\n",
    "\n",
    "reconstruction_loss = tf.reduce_mean(tf.square(outputs - X))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [],
   "source": [
    "optimizer = tf.train.AdamOptimizer(learning_rate)\n",
    "\n",
    "with tf.name_scope(\"phase1\"):\n",
    "    phase1_outputs = tf.matmul(hidden1, weights4) + biases4  # bypass hidden2 and hidden3\n",
    "    phase1_reconstruction_loss = tf.reduce_mean(tf.square(phase1_outputs - X))\n",
    "    phase1_reg_loss = regularizer(weights1) + regularizer(weights4)\n",
    "    phase1_loss = phase1_reconstruction_loss + phase1_reg_loss\n",
    "    phase1_training_op = optimizer.minimize(phase1_loss)\n",
    "\n",
    "with tf.name_scope(\"phase2\"):\n",
    "    phase2_reconstruction_loss = tf.reduce_mean(tf.square(hidden3 - hidden1))\n",
    "    phase2_reg_loss = regularizer(weights2) + regularizer(weights3)\n",
    "    phase2_loss = phase2_reconstruction_loss + phase2_reg_loss\n",
    "    train_vars = [weights2, biases2, weights3, biases3]\n",
    "    phase2_training_op = optimizer.minimize(phase2_loss, var_list=train_vars) # freeze hidden1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "init = tf.global_variables_initializer()\n",
    "saver = tf.train.Saver()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Training phase #1\n",
      "0 Train MSE: 0.00740679\n",
      "1 Train MSE: 0.00782866\n",
      "2 Train MSE: 0.00772802\n",
      "3 Train MSE: 0.00740893\n",
      "Training phase #2\n",
      "0 Train MSE: 0.295499\n",
      "1 Train MSE: 0.00594454\n",
      "2 Train MSE: 0.00310264\n",
      "3 Train MSE: 0.00249803\n",
      "Test MSE: 0.00979144\n"
     ]
    }
   ],
   "source": [
    "training_ops = [phase1_training_op, phase2_training_op]\n",
    "reconstruction_losses = [phase1_reconstruction_loss, phase2_reconstruction_loss]\n",
    "n_epochs = [4, 4]\n",
    "batch_sizes = [150, 150]\n",
    "\n",
    "with tf.Session() as sess:\n",
    "    init.run()\n",
    "    for phase in range(2):\n",
    "        print(\"Training phase #{}\".format(phase + 1))\n",
    "        for epoch in range(n_epochs[phase]):\n",
    "            n_batches = mnist.train.num_examples // batch_sizes[phase]\n",
    "            for iteration in range(n_batches):\n",
    "                print(\"\\r{}%\".format(100 * iteration // n_batches), end=\"\")\n",
    "                sys.stdout.flush()\n",
    "                X_batch, y_batch = mnist.train.next_batch(batch_sizes[phase])\n",
    "                sess.run(training_ops[phase], feed_dict={X: X_batch})\n",
    "            loss_train = reconstruction_losses[phase].eval(feed_dict={X: X_batch})\n",
    "            print(\"\\r{}\".format(epoch), \"Train MSE:\", loss_train)\n",
    "            saver.save(sess, \"./my_model_one_at_a_time.ckpt\")\n",
    "    loss_test = reconstruction_loss.eval(feed_dict={X: mnist.test.images})\n",
    "    print(\"Test MSE:\", loss_test)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Cache the frozen layer outputs"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Training phase #1\n",
      "0 Train MSE: 0.00753817\n",
      "1 Train MSE: 0.00775457\n",
      "2 Train MSE: 0.00734359\n",
      "3 Train MSE: 0.00783768\n",
      "Training phase #2\n",
      "0 Train MSE: 0.200137\n",
      "1 Train MSE: 0.00520852\n",
      "2 Train MSE: 0.00259211\n",
      "3 Train MSE: 0.00210128\n",
      "Test MSE: 0.0097786\n"
     ]
    }
   ],
   "source": [
    "training_ops = [phase1_training_op, phase2_training_op]\n",
    "reconstruction_losses = [phase1_reconstruction_loss, phase2_reconstruction_loss]\n",
    "n_epochs = [4, 4]\n",
    "batch_sizes = [150, 150]\n",
    "\n",
    "with tf.Session() as sess:\n",
    "    init.run()\n",
    "    for phase in range(2):\n",
    "        print(\"Training phase #{}\".format(phase + 1))\n",
    "        if phase == 1:\n",
    "            hidden1_cache = hidden1.eval(feed_dict={X: mnist.train.images})\n",
    "        for epoch in range(n_epochs[phase]):\n",
    "            n_batches = mnist.train.num_examples // batch_sizes[phase]\n",
    "            for iteration in range(n_batches):\n",
    "                print(\"\\r{}%\".format(100 * iteration // n_batches), end=\"\")\n",
    "                sys.stdout.flush()\n",
    "                if phase == 1:\n",
    "                    indices = rnd.permutation(mnist.train.num_examples)\n",
    "                    hidden1_batch = hidden1_cache[indices[:batch_sizes[phase]]]\n",
    "                    feed_dict = {hidden1: hidden1_batch}\n",
    "                    sess.run(training_ops[phase], feed_dict=feed_dict)\n",
    "                else:\n",
    "                    X_batch, y_batch = mnist.train.next_batch(batch_sizes[phase])\n",
    "                    feed_dict = {X: X_batch}\n",
    "                    sess.run(training_ops[phase], feed_dict=feed_dict)\n",
    "            loss_train = reconstruction_losses[phase].eval(feed_dict=feed_dict)\n",
    "            print(\"\\r{}\".format(epoch), \"Train MSE:\", loss_train)\n",
    "            saver.save(sess, \"./my_model_cache_frozen.ckpt\")\n",
    "    loss_test = reconstruction_loss.eval(feed_dict={X: mnist.test.images})\n",
    "    print(\"Test MSE:\", loss_test)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Visualizing the Reconstructions"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "INFO:tensorflow:Restoring parameters from ./my_model_one_at_a_time.ckpt\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAUEAAAD/CAYAAABvuWSAAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAFoNJREFUeJzt3VlsVVUXwPHNPJVSJlskzBUoiIiKjBJCDIEYJWowUR4w\naiIx0UQSNZiYqC8+Ki9GjQYUh5gYJxwjRohMBlFEQbAMhlJoKUNboMz4PX37W2t93O3l9l5auv6/\np32y7r3n3Oayc9Zi7X3a/fPPPwEAvGrf0hcAAC2JSRCAa0yCAFxjEgTgGpMgANeYBAG4xiQIwDUm\nQQCuMQkCcK1jC52XZSqtR7uWvoC2pLa2lt92K1FaWprVb5s7QQCuMQkCcI1JEIBrLVUTBHCFyR2j\n2rXT5TJ5fPHixYwx+znt27fPGLtacCcIwDUmQQCukQ4DrVwqHc01/bTv69SpUxyfPXs2+VqZLtt0\nWMY6dOigYhcuXLjk6+zn2M8sNO4EAbjGJAjANSZBAK5REwRaoWzrfra2lm37iqwBhhDCmTNn4tjW\nBDt27Jjx2MbkOc6dO6diskZo64WSrYHK72hj+cCdIADXmAQBuEY6DLQCl9PqItNDm9bKNNOmjrJF\nxcZkCmzTaPm+EELo0qVLxphMgW1aLV/bo0cPFUu1xciUO5X+54o7QQCuMQkCcI1JEIBr1ASBVkjW\n9lJLzGRri4117tw542davXv3juOmpiYVs60uDQ0NGc/Rs2fPjO9L7WKTqvvJ6059Zq64EwTgGpMg\nANdIh4FW6PTp03F84sSJjLFUetivXz8Vk6lrr169VEy2vRQXF6uYTbllKmvTUZnWyuu077POnz+f\n8TNlq41NlbP9/BTuBAG4xiQIwDUmQQCutZma4MaNG9Xx0qVL43jgwIEq1q1btzheuHChivXp0+eS\n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Gtga3RSbZGJmuCdombbIuxMVkTlLvNhKBrifah6bItRT7s/FLn\nkNdmr1vWKO3/N8gHNNmHy8u/TSF2iknhThCAa0yCAFwjHQZaAZsCymO7qapkYzKttKmqbD2RD10K\nQaectg3FtqzIVNau4Eh9TiodTiEdBoACYhIE4BqTIADXqAkCrZCsg6VaVOyD0WWtzdYEZY3O1vlS\ndTdbv5N1SBtLPRRJssv9Wmj5bgiBO0EAzjEJAnCNdBi4yqRS19SDiFIPdkrF7HFqF5tsHx7Vkumv\nxZ0gANeYBAG4xiQIwLWW2lkaAFoF7gQBuMYkCMA1JkEArjEJAnCNSRCAa0yCAFxjEgTgGpMgANeY\nBAG4xiQIwDUmQQCuMQkCcI1JEIBrTIIAXGMSBOAakyAA15gEAbjGJAjANSZBAK4xCQJwjUkQgGtM\nggBcYxIE4BqTIADXmAQBuMYkCMC1/wBFeVZKJWQkbwAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7fdd169fe6a0>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "n_test_digits = 2\n",
    "X_test = mnist.test.images[:n_test_digits]\n",
    "\n",
    "with tf.Session() as sess:\n",
    "    saver.restore(sess, \"./my_model_one_at_a_time.ckpt\") # not shown in the book\n",
    "    outputs_val = outputs.eval(feed_dict={X: X_test})\n",
    "\n",
    "def plot_image(image, shape=[28, 28]):\n",
    "    plt.imshow(image.reshape(shape), cmap=\"Greys\", interpolation=\"nearest\")\n",
    "    plt.axis(\"off\")\n",
    "\n",
    "for digit_index in range(n_test_digits):\n",
    "    plt.subplot(n_test_digits, 2, digit_index * 2 + 1)\n",
    "    plot_image(X_test[digit_index])\n",
    "    plt.subplot(n_test_digits, 2, digit_index * 2 + 2)\n",
    "    plot_image(outputs_val[digit_index])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Visualizing the extracted features"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "INFO:tensorflow:Restoring parameters from ./my_model_one_at_a_time.ckpt\n",
      "Saving figure extracted_features_plot\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAagAAABWCAYAAACaXQIdAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAH6ZJREFUeJztXctzHFf1/qZ73qMZPayHHcnBimzLgEsiJASbJCQVijdV\nWacoWEAVG/4dFhQFCyiqWLGASkFRLCBOYooAIcH4FduxkGSNLHs00mgkzbt/i67v9O3bShH/4pS6\nzfk2I0339EyfPvee7zzuuSnP86BQKBQKRdzgHPYPUCgUCoXiIKiBUigUCkUsoQZKoVAoFLGEGiiF\nQqFQxBJqoBQKhUIRS6iBUigUCkUsoQZKoVAoFLGEGiiFQqFQxBJqoBQKhUIRS6iBUigUCkUskT6M\nL/3JT37y0PsrpVIpOI5vb/v9/sO+fAg/+MEPUh/rF/w/8Jvf/Oahy9R1XbiuCwDodDoP+/IhvPzy\ny7GS6c9+9rOPRZ6tVgsAkMlkHvblQ/j+978fK3n+6le/SnRPtVdeeSVW8vzFL37x0OXZ6XQwOjoK\nANjd3X3Ylw/hu9/97oeSp3pQCoVCoYglDsWD+v+iUCig3W4DAAaDQeQ4G9+mUr5xdhwH6XT4Frvd\nrvxNFttsNkP//y/B8zyMjIwAADY3NwEEsnUcJyJv13VFzvQG8vl85Lp8Bv8r4P3u7u6KB18sFgFA\nvNBWqyVePuG6rninvV4vdMxxHJHtxx0ViCscx4lERiivdDotcqdO9vt9kRnlzjE/GAwic8SjAOqN\nPdcdBDMSwvmOnxsaGpIxzWua453nm3MBZftxyTN2BsoUNidHCqZWqyGbzQIIBELhZjIZOUbF7Pf7\n2NvbC12Xyt7r9UKCJszPPirgvdiTI+BPmtvb2wCAI0eOAAgGtOd5ESIwGAxE9nb4r1AooFAohM7f\n3NwU2T+KhoyDl7Kgs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Wz6Sd1keCVp25ETBxkm\nwjTaJJT2+AaCsBPX2Jm9B0mSut2uFAkwnMcQ4e7ubij8BeCBN9BLAsxiGZtg7u3thTZhBRDqPMO5\ngIY/l8tFQrHm+RznvObDHu8a4lMoFApFLJFKulurUCgUikcT6kEpFAqFIpZQA6VQKBSKWEINlEKh\nUChiCTVQCoVCoYgl1EApFAqFIpZQA6VQKBSKWEINlEKhUChiCTVQCoVCoYgl1EApFAqFIpZQA6VQ\nKBSKWEINlEKhUChiCTVQCoVCoYgl1EApFAqFIpZQA6VQKBSKWEINlEKhUChiCTVQCoVCoYgl1EAp\nFAqFIpZQA6VQKBSKWEINlEKhUChiCTVQCoVCoYgl1EApFAqFIpZQA6VQKBSKWEINlEKhUChiCTVQ\nCoVCoYgl1EApFAqFIpZQA6VQKBSKWOL/AObiuv2zlT0eAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7fdd1cf348d0>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "with tf.Session() as sess:\n",
    "    saver.restore(sess, \"./my_model_one_at_a_time.ckpt\") # not shown in the book\n",
    "    weights1_val = weights1.eval()\n",
    "\n",
    "for i in range(5):\n",
    "    plt.subplot(1, 5, i + 1)\n",
    "    plot_image(weights1_val.T[i])\n",
    "\n",
    "save_fig(\"extracted_features_plot\") # not shown\n",
    "plt.show()                          # not shown"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Unsupervised pretraining"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Let's create a small neural network for MNIST classification:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [],
   "source": [
    "reset_graph()\n",
    "\n",
    "n_inputs = 28 * 28\n",
    "n_hidden1 = 300\n",
    "n_hidden2 = 150\n",
    "n_outputs = 10\n",
    "\n",
    "learning_rate = 0.01\n",
    "l2_reg = 0.0005\n",
    "\n",
    "activation = tf.nn.elu\n",
    "regularizer = tf.contrib.layers.l2_regularizer(l2_reg)\n",
    "initializer = tf.contrib.layers.variance_scaling_initializer()\n",
    "\n",
    "X = tf.placeholder(tf.float32, shape=[None, n_inputs])\n",
    "y = tf.placeholder(tf.int32, shape=[None])\n",
    "\n",
    "weights1_init = initializer([n_inputs, n_hidden1])\n",
    "weights2_init = initializer([n_hidden1, n_hidden2])\n",
    "weights3_init = initializer([n_hidden2, n_outputs])\n",
    "\n",
    "weights1 = tf.Variable(weights1_init, dtype=tf.float32, name=\"weights1\")\n",
    "weights2 = tf.Variable(weights2_init, dtype=tf.float32, name=\"weights2\")\n",
    "weights3 = tf.Variable(weights3_init, dtype=tf.float32, name=\"weights3\")\n",
    "\n",
    "biases1 = tf.Variable(tf.zeros(n_hidden1), name=\"biases1\")\n",
    "biases2 = tf.Variable(tf.zeros(n_hidden2), name=\"biases2\")\n",
    "biases3 = tf.Variable(tf.zeros(n_outputs), name=\"biases3\")\n",
    "\n",
    "hidden1 = activation(tf.matmul(X, weights1) + biases1)\n",
    "hidden2 = activation(tf.matmul(hidden1, weights2) + biases2)\n",
    "logits = tf.matmul(hidden2, weights3) + biases3\n",
    "\n",
    "cross_entropy = tf.nn.sparse_softmax_cross_entropy_with_logits(labels=y, logits=logits)\n",
    "reg_loss = regularizer(weights1) + regularizer(weights2) + regularizer(weights3)\n",
    "loss = cross_entropy + reg_loss\n",
    "optimizer = tf.train.AdamOptimizer(learning_rate)\n",
    "training_op = optimizer.minimize(loss)\n",
    "\n",
    "correct = tf.nn.in_top_k(logits, y, 1)\n",
    "accuracy = tf.reduce_mean(tf.cast(correct, tf.float32))\n",
    "\n",
    "init = tf.global_variables_initializer()\n",
    "pretrain_saver = tf.train.Saver([weights1, weights2, biases1, biases2])\n",
    "saver = tf.train.Saver()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Regular training (without pretraining):"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0 Train accuracy: 0.973333 Test accuracy: 0.9334\n",
      "1 Train accuracy: 0.98 Test accuracy: 0.936\n",
      "2 Train accuracy: 0.973333 Test accuracy: 0.9382\n",
      "3 Train accuracy: 0.986667 Test accuracy: 0.9494\n"
     ]
    }
   ],
   "source": [
    "n_epochs = 4\n",
    "batch_size = 150\n",
    "n_labeled_instances = 20000\n",
    "\n",
    "with tf.Session() as sess:\n",
    "    init.run()\n",
    "    for epoch in range(n_epochs):\n",
    "        n_batches = n_labeled_instances // batch_size\n",
    "        for iteration in range(n_batches):\n",
    "            print(\"\\r{}%\".format(100 * iteration // n_batches), end=\"\")\n",
    "            sys.stdout.flush()\n",
    "            indices = rnd.permutation(n_labeled_instances)[:batch_size]\n",
    "            X_batch, y_batch = mnist.train.images[indices], mnist.train.labels[indices]\n",
    "            sess.run(training_op, feed_dict={X: X_batch, y: y_batch})\n",
    "        accuracy_val = accuracy.eval(feed_dict={X: X_batch, y: y_batch})\n",
    "        print(\"\\r{}\".format(epoch), \"Train accuracy:\", accuracy_val, end=\" \")\n",
    "        saver.save(sess, \"./my_model_supervised.ckpt\")\n",
    "        accuracy_val = accuracy.eval(feed_dict={X: mnist.test.images, y: mnist.test.labels})\n",
    "        print(\"Test accuracy:\", accuracy_val)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Now reusing the first two layers of the autoencoder we pretrained:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "INFO:tensorflow:Restoring parameters from ./my_model_cache_frozen.ckpt\n",
      "0 Train accuracy: 0.94\tTest accuracy: 0.9266\n",
      "1 Train accuracy: 0.98\tTest accuracy: 0.94\n",
      "2 Train accuracy: 1.0\tTest accuracy: 0.946\n",
      "3 Train accuracy: 0.98\tTest accuracy: 0.9401\n"
     ]
    }
   ],
   "source": [
    "n_epochs = 4\n",
    "batch_size = 150\n",
    "n_labeled_instances = 20000\n",
    "\n",
    "#training_op = optimizer.minimize(loss, var_list=[weights3, biases3])  # Freeze layers 1 and 2 (optional)\n",
    "\n",
    "with tf.Session() as sess:\n",
    "    init.run()\n",
    "    pretrain_saver.restore(sess, \"./my_model_cache_frozen.ckpt\")\n",
    "    for epoch in range(n_epochs):\n",
    "        n_batches = n_labeled_instances // batch_size\n",
    "        for iteration in range(n_batches):\n",
    "            print(\"\\r{}%\".format(100 * iteration // n_batches), end=\"\")\n",
    "            sys.stdout.flush()\n",
    "            indices = rnd.permutation(n_labeled_instances)[:batch_size]\n",
    "            X_batch, y_batch = mnist.train.images[indices], mnist.train.labels[indices]\n",
    "            sess.run(training_op, feed_dict={X: X_batch, y: y_batch})\n",
    "        accuracy_val = accuracy.eval(feed_dict={X: X_batch, y: y_batch})\n",
    "        print(\"\\r{}\".format(epoch), \"Train accuracy:\", accuracy_val, end=\"\\t\")\n",
    "        saver.save(sess, \"./my_model_supervised_pretrained.ckpt\")\n",
    "        accuracy_val = accuracy.eval(feed_dict={X: mnist.test.images, y: mnist.test.labels})\n",
    "        print(\"Test accuracy:\", accuracy_val)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Stacked denoising Autoencoder"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Note: the book uses `tf.contrib.layers.dropout()` rather than `tf.layers.dropout()` (which did not exist when this chapter was written). It is now preferable to use `tf.layers.dropout()`, because anything in the contrib module may change or be deleted without notice. The `tf.layers.dropout()` function is almost identical to the `tf.contrib.layers.dropout()` function, except for a few minor differences. Most importantly:\n",
    "* you must specify the dropout rate (`rate`) rather than the keep probability (`keep_prob`), where `rate` is simply equal to `1 - keep_prob`,\n",
    "* the `is_training` parameter is renamed to `training`."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Using Gaussian noise:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "reset_graph()\n",
    "\n",
    "n_inputs = 28 * 28\n",
    "n_hidden1 = 300\n",
    "n_hidden2 = 150  # codings\n",
    "n_hidden3 = n_hidden1\n",
    "n_outputs = n_inputs\n",
    "\n",
    "learning_rate = 0.01"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {},
   "outputs": [],
   "source": [
    "noise_level = 1.0\n",
    "\n",
    "X = tf.placeholder(tf.float32, shape=[None, n_inputs])\n",
    "X_noisy = X + noise_level * tf.random_normal(tf.shape(X))\n",
    "\n",
    "hidden1 = tf.layers.dense(X_noisy, n_hidden1, activation=tf.nn.relu,\n",
    "                          name=\"hidden1\")\n",
    "hidden2 = tf.layers.dense(hidden1, n_hidden2, activation=tf.nn.relu, # not shown in the book\n",
    "                          name=\"hidden2\")                            # not shown\n",
    "hidden3 = tf.layers.dense(hidden2, n_hidden3, activation=tf.nn.relu, # not shown\n",
    "                          name=\"hidden3\")                            # not shown\n",
    "outputs = tf.layers.dense(hidden3, n_outputs, name=\"outputs\")        # not shown\n",
    "\n",
    "reconstruction_loss = tf.reduce_mean(tf.square(outputs - X)) # MSE"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {},
   "outputs": [],
   "source": [
    "optimizer = tf.train.AdamOptimizer(learning_rate)\n",
    "training_op = optimizer.minimize(reconstruction_loss)\n",
    "    \n",
    "init = tf.global_variables_initializer()\n",
    "saver = tf.train.Saver()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0 Train MSE: 0.0440489\n",
      "1 Train MSE: 0.0432517\n",
      "2 Train MSE: 0.042057\n",
      "3 Train MSE: 0.0409477\n",
      "4 Train MSE: 0.0402107\n",
      "5 Train MSE: 0.0388787\n",
      "6 Train MSE: 0.0391096\n",
      "7 Train MSE: 0.0421885\n",
      "8 Train MSE: 0.0398648\n",
      "9 Train MSE: 0.0408181\n"
     ]
    }
   ],
   "source": [
    "n_epochs = 10\n",
    "batch_size = 150\n",
    "\n",
    "with tf.Session() as sess:\n",
    "    init.run()\n",
    "    for epoch in range(n_epochs):\n",
    "        n_batches = mnist.train.num_examples // batch_size\n",
    "        for iteration in range(n_batches):\n",
    "            print(\"\\r{}%\".format(100 * iteration // n_batches), end=\"\")\n",
    "            sys.stdout.flush()\n",
    "            X_batch, y_batch = mnist.train.next_batch(batch_size)\n",
    "            sess.run(training_op, feed_dict={X: X_batch})\n",
    "        loss_train = reconstruction_loss.eval(feed_dict={X: X_batch})\n",
    "        print(\"\\r{}\".format(epoch), \"Train MSE:\", loss_train)\n",
    "        saver.save(sess, \"./my_model_stacked_denoising_gaussian.ckpt\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Using dropout:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "reset_graph()\n",
    "\n",
    "n_inputs = 28 * 28\n",
    "n_hidden1 = 300\n",
    "n_hidden2 = 150  # codings\n",
    "n_hidden3 = n_hidden1\n",
    "n_outputs = n_inputs\n",
    "\n",
    "learning_rate = 0.01"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {},
   "outputs": [],
   "source": [
    "dropout_rate = 0.3\n",
    "\n",
    "training = tf.placeholder_with_default(False, shape=(), name='training')\n",
    "\n",
    "X = tf.placeholder(tf.float32, shape=[None, n_inputs])\n",
    "X_drop = tf.layers.dropout(X, dropout_rate, training=training)\n",
    "\n",
    "hidden1 = tf.layers.dense(X_drop, n_hidden1, activation=tf.nn.relu,\n",
    "                          name=\"hidden1\")\n",
    "hidden2 = tf.layers.dense(hidden1, n_hidden2, activation=tf.nn.relu, # not shown in the book\n",
    "                          name=\"hidden2\")                            # not shown\n",
    "hidden3 = tf.layers.dense(hidden2, n_hidden3, activation=tf.nn.relu, # not shown\n",
    "                          name=\"hidden3\")                            # not shown\n",
    "outputs = tf.layers.dense(hidden3, n_outputs, name=\"outputs\")        # not shown\n",
    "\n",
    "reconstruction_loss = tf.reduce_mean(tf.square(outputs - X)) # MSE"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "metadata": {},
   "outputs": [],
   "source": [
    "optimizer = tf.train.AdamOptimizer(learning_rate)\n",
    "training_op = optimizer.minimize(reconstruction_loss)\n",
    "    \n",
    "init = tf.global_variables_initializer()\n",
    "saver = tf.train.Saver()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 40,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0 Train MSE: 0.0296476\n",
      "1 Train MSE: 0.0275545\n",
      "2 Train MSE: 0.0250731\n",
      "3 Train MSE: 0.0254317\n",
      "4 Train MSE: 0.0249076\n",
      "5 Train MSE: 0.0250501\n",
      "6 Train MSE: 0.024483\n",
      "7 Train MSE: 0.0251505\n",
      "8 Train MSE: 0.0243836\n",
      "9 Train MSE: 0.0242349\n"
     ]
    }
   ],
   "source": [
    "n_epochs = 10\n",
    "batch_size = 150\n",
    "\n",
    "with tf.Session() as sess:\n",
    "    init.run()\n",
    "    for epoch in range(n_epochs):\n",
    "        n_batches = mnist.train.num_examples // batch_size\n",
    "        for iteration in range(n_batches):\n",
    "            print(\"\\r{}%\".format(100 * iteration // n_batches), end=\"\")\n",
    "            sys.stdout.flush()\n",
    "            X_batch, y_batch = mnist.train.next_batch(batch_size)\n",
    "            sess.run(training_op, feed_dict={X: X_batch, training: True})\n",
    "        loss_train = reconstruction_loss.eval(feed_dict={X: X_batch})\n",
    "        print(\"\\r{}\".format(epoch), \"Train MSE:\", loss_train)\n",
    "        saver.save(sess, \"./my_model_stacked_denoising_dropout.ckpt\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 41,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "INFO:tensorflow:Restoring parameters from ./my_model_stacked_denoising_dropout.ckpt\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAa0AAAFxCAYAAADAqvdjAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGztJREFUeJzt3UlsV2XUx/EHoXSCthalRaTMIuKEYkTQaIzDwkSDxoWy\n0KiJxkQTTdRIYqJudKdsjBqN88JEo8YYNSKaqMEhCMQRi4ACghSZ2lLaMryLN+/G8zu+9+E/tId+\nP8uT597/7S3/ntzcH+cZdfTo0QQAQAQnDPUFAABQFE0LABAGTQsAEAZNCwAQBk0LABAGTQsAEAZN\nCwAQBk0LABAGTQsAEMaYKn4WozdQDaOG+gJGgr///rvw97lSU3dGjbK/6pzPUsfnnqMSn1WO6/LO\nUep5q6m9vV3+EDxpAQDCoGkBAMKgaQEAwqjmOy0Ax7Hh8G6kmu+pvM874QT7LFCOz1fn9ZT6/qua\n9yv383jSAgCEQdMCAIRB0wIAhEHTAgCEQdMCAIRBehBAtpzEWaXW5iTOjhw5Ymo1NTWFz6uO99YO\nDg4WqnnHe9c1Zoz9c+2tVUlD7xq8uqI+7/Dhw3JtpVKJPGkBAMKgaQEAwqBpAQDCoGkBAMIgiAEg\nW84L9eEwUkgFCLyRQqNHjy58XhViGBgYKLQupZTGjh1b+PNra2sLr1XhiEOHDhVe6wVPlJzxUuXA\nkxYAIAyaFgAgDJoWACAMmhYAIAyaFgAgDNKDAIYNlRTMGfnkpely1qo0nDeqqOhnNTY2yrUNDQ2F\nPj8lnejLuTfeedV4qJzzevdG3V82gQQAjCg0LQBAGDQtAEAYNC0AQBgEMQAMG+qFvBcgUGu9UEDO\nuKScsMHBgwcLXVfOHlmenHFJOUEMNd4pZ4+snPtIEAMAMKLQtAAAYdC0AABh0LQAAGHQtAAAYZAe\nBJBNpb1ykmHeWpVk8zZQzDmvGoGkEoXeOQ4cOFB4rUoEetfV19cn64pK6eWMovISjIray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AZNCwAQBk0LABAGTQsAEMYoNWKlQqr2QZXy6quvyvrAwEBJ\n5123bp2slzpa6YEHHpD1WbNmFT7Htddea2oTJ0485muqgtLf9OL/tW/fvpK+z97fHRVi8PZrOnTo\nUOHzqn2nvHDEL7/8Ympq9FlK+ruvfga1b1ZK+nq9YMPpp59uak1NTXKt2m9u3Lhxcm1dXV3h86ow\nR0NDg1yrAls5QYzm5ma5mCctAEAYNC0AQBg0LQBAGDQtAEAYNC0AQBikB3G8IT1YBTnpwVL/xqgk\nnMfbMFLVvXFJamPFvr4+uVYlG9UGjN7Gjoo3mkml9FSCMiWdavRSzureeBs4qt+Fd8/VppWkBwEA\nIwpNCwAQBk0LABAGTQsAEAb7aQGoqJyX72qtFzYoVc4oKW8vKm/E1L+1trYW/ixvvzpV98IkOeOw\n1Frvd6bumXcfy7F3lsKTFgAgDJoWACAMmhYAIAyaFgAgDJoWACAM0oMAqi5ntJOXQlN1NToopZQG\nBwcLX0NOglGtVYk+b4SSOt4bWzVmjP1z7V2X2nSyaNLxv1QqEZiDJy0AQBg0LQBAGDQtAEAYNC0A\nQBgEMQBUXc4LfS9coc7h7e2k9ofyxiWpgIZ33qLXoIIg3md5AREV5vDuTan7Xnn3ZjjgSQsAEAZN\nCwAQBk0LABAGTQsAEAZNCwAQBulBAMNaOZKGKpGXs4Git1aNUVKf5aXx1GfljJfyRjOp++Ddx+Gc\nFFR40gIAhEHTAgCEQdMCAIRB0wIAhDEqZ18bAACGEk9aAIAwaFoAgDBoWgCAMGhaAIAwaFoAgDBo\nWgCAMGhaAIAwaFoAgDBoWgCAMGhaAIAwaFoAgDBoWgCAMGhaAIAwaFoAgDBoWgCAMGhaAIAwaFoA\ngDBoWgCAMGhaAIAwaFoAgDBoWgCAMGhaAIAwaFoAgDD+BxBrc2o8LjrdAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7f846a1b11d0>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "show_reconstructed_digits(X, outputs, \"./my_model_stacked_denoising_dropout.ckpt\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Sparse Autoencoder"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Saving figure sparsity_loss_plot\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAagAAAEYCAYAAAAJeGK1AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmczWX7wPHPNRhMxlYjZBmy75RK1lRaiIgUSZbnUUk9\nIaVFSJ6nepQlkqKmBSU8kRZZRpK97Mk69rVhDMOMmbl/f9xn5ndmzIzZv2e53q/XeTHnfM/3XOc7\nM+eae7tuMcaglFJKeZoApwNQSiml0qIJSimllEfSBKWUUsojaYJSSinlkTRBKaWU8kgFnQ4gN4mI\nTklUSikPYoyR7D7X51pQxhi9pXF7/fXXHY/Bk296ffzn2sycaWjTRq9PftxyyucSlFJKpccYeO89\neP55pyNRmaEJSinlN1avhshIaN/e6UhUZmiC8hNt2rRxOgSPptcnfb50bcaPh2efhQIFcu+cvnR9\nPI3kRj+hpxAR40vvRymVew4cgCZNICICgoOdjsY/iAgmB5MkfGoWX3pCQ0M5cOCA02Eoh1SuXJmI\niAinw1AOmzwZevfW5ORN/KIF5criDkSkPIF+/9X58xAaCuvXQ5UqTkfjP3LagtIxKKWUz/vsM2jd\nWpOTt/GLLj6llP9KTIQJE+Djj52ORGWVtqCUUj7thx/gmmugRQunI1FZpQlKKeXT3nkHhg4FyfZI\niHKKJigfFRYWRsuWLZO/Dg4O1plsyu+sXWunlXfr5nQkKjs0QTmsSpUqLFu2LPnr2bNnU7p0aVau\nXMmBAwcICAggMTExW+cWtz8Zo6OjCQ0NzWm4SnmVd96BwYOhUCGnI1HZoQnKg4SFhTFo0CB++OGH\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G8yUKVMyeMcqP0VHG9OihTEDBxqTmOh0NB7q7FljpkzR\nC+TlyOF+UNqCSkOpUqXo3bs37dq1o0OHDrz33nscPnw4+fGAgIAU+zlVqlSJ8uXLs2PHDgBiYmIY\nNmwYdevWpXTp0gQHB7Nx40YOHkxZfP3mVH3q3bp14+LFi4SGhtK/f3+++eYb4uLishT79ddfT/v2\n7ZNbUT/88AORkZH06NEjS+dReePCBbttRo0aMHGiFn9NV4kS8NRTeoH8nCaodMyYMYN169bRunVr\nFixYQM2aNfn5558z9dwhQ4Ywd+5c3nzzTX755Rc2b95M06ZNr0g2qfd2qlChArt27WLatGmUKFGC\noUOHctNNN3Hx4sUsxd6/f3+++uorLl26xCeffEKXLl1SbJqonBETY4dRQkPho48gQH/7lMqQ/opk\noH79+rzwwgssX76c1q1bExYWBtgNBdevX5983MGDBzl69Ch16tQB7F5Rjz/+OA8++CD16tWjfPny\n7N27N83XSC0wMJD77ruPcePGsW7dOrZv386qdLYQCAwMTHM/qHvvvZfixYvzwQcfsHDhQvr165fV\nt65y2cWLdiJahQowfbompxT27LEXSKlU9NckDREREQwfPpzVq1dz8OBBli9fzpYtW5ITUIECBfjX\nv/7FmjVr2LRpE71796Z+/fq0bdsWsHtFzZ8/nz/++IOtW7fSq1cvYmNjr/q6YWFhTJ8+nW3bthER\nEcGMGTMIDAykevXqaR4fGhrKunXrOHDgAH///Xfybr0BAQH06dOH4cOHU6FCBe64445cujIqO5I2\nHCxTBj75RLfNSOHrr22h13XrnI5EeSBNUGkICgpi165dPPzww9SsWZM+ffrQq1cvXnzxRQCKFCnC\nK6+8wuOPP06zZs0QEebOnZv8/HfffZcyZcrQqlUr2rdvT7NmzWjZsmWK10hry/eSJUsyffp0WrVq\nRf369Zk/fz7z58+ncuXKacY5dOhQAgMDqVOnDmXKlOHQof/fw7Fv377ExcXRt2/f3LgkKptiY235\nolKlICxMk1Oy2FgYNMguAPvpJztjT6lUtJJEFoWFhTFo0CDOnTuXp6+TU2vXrqVly5bs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kSSWh7LgIEicpOINMZOZLjo9vq7sb9Lz7vO+Si2FZNaui04EblVRF5xzcSrKCKdgArYVlmS\nS0CYiDQUkWbAB8B3xph9rsd3AY+JSG0RaYrt7oy9yrVLmoH4iIjUciWlnkAUdiwqLRFASxEp7z6L\n0BhzDjt7chx2G/i9V3ttpTKiCUr5gr7AsnTGluYAlUTkLtdss9bYbq8F2DGTkfz/2qe5wPfYsaCT\nwCOu+4cA+4DlwNfYCQHJEwSMMVuxCel5bELp63pOahl1d0VhW0ALsYnmHWC0McZ9TG0/drbhQmAJ\nsIeUM+f6AMWADdhkPB2bTK4WQzTwAnZMawPQALjPGHMpneckbem9F7fr4DId26U4HaVySLd8V8oL\niMjrwEPGmAZOx5IREemObdmVd0twSmWLTjNXSuWYiBTFjncNB6ZpclK5Qbv4lFK5YRiwEzgNjHE4\nFuUjtItPKaWUR9IWlFJKKY+kCUoppZRH0gSllFLKI2mCUkop5ZE0QSmllPJI/wdwbcUUO5YNogAA\nAABJRU5ErkJggg==\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7f846b182e48>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "p = 0.1\n",
    "q = np.linspace(0.001, 0.999, 500)\n",
    "kl_div = p * np.log(p / q) + (1 - p) * np.log((1 - p) / (1 - q))\n",
    "mse = (p - q)**2\n",
    "plt.plot([p, p], [0, 0.3], \"k:\")\n",
    "plt.text(0.05, 0.32, \"Target\\nsparsity\", fontsize=14)\n",
    "plt.plot(q, kl_div, \"b-\", label=\"KL divergence\")\n",
    "plt.plot(q, mse, \"r--\", label=\"MSE\")\n",
    "plt.legend(loc=\"upper left\")\n",
    "plt.xlabel(\"Actual sparsity\")\n",
    "plt.ylabel(\"Cost\", rotation=0)\n",
    "plt.axis([0, 1, 0, 0.95])\n",
    "save_fig(\"sparsity_loss_plot\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 43,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "reset_graph()\n",
    "\n",
    "n_inputs = 28 * 28\n",
    "n_hidden1 = 1000  # sparse codings\n",
    "n_outputs = n_inputs"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "metadata": {},
   "outputs": [],
   "source": [
    "def kl_divergence(p, q):\n",
    "    # Kullback Leibler divergence\n",
    "    return p * tf.log(p / q) + (1 - p) * tf.log((1 - p) / (1 - q))\n",
    "\n",
    "learning_rate = 0.01\n",
    "sparsity_target = 0.1\n",
    "sparsity_weight = 0.2\n",
    "\n",
    "X = tf.placeholder(tf.float32, shape=[None, n_inputs])            # not shown in the book\n",
    "\n",
    "hidden1 = tf.layers.dense(X, n_hidden1, activation=tf.nn.sigmoid) # not shown\n",
    "outputs = tf.layers.dense(hidden1, n_outputs)                     # not shown\n",
    "\n",
    "hidden1_mean = tf.reduce_mean(hidden1, axis=0) # batch mean\n",
    "sparsity_loss = tf.reduce_sum(kl_divergence(sparsity_target, hidden1_mean))\n",
    "reconstruction_loss = tf.reduce_mean(tf.square(outputs - X)) # MSE\n",
    "loss = reconstruction_loss + sparsity_weight * sparsity_loss\n",
    "\n",
    "optimizer = tf.train.AdamOptimizer(learning_rate)\n",
    "training_op = optimizer.minimize(loss)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 45,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "init = tf.global_variables_initializer()\n",
    "saver = tf.train.Saver()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 46,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0 Train MSE: 0.134832 \tSparsity loss: 0.421739 \tTotal loss: 0.21918\n",
      "1 Train MSE: 0.0587859 \tSparsity loss: 0.0108979 \tTotal loss: 0.0609655\n",
      "2 Train MSE: 0.053738 \tSparsity loss: 0.0201038 \tTotal loss: 0.0577588\n",
      "3 Train MSE: 0.0476169 \tSparsity loss: 0.0399679 \tTotal loss: 0.0556105\n",
      "4 Train MSE: 0.0447499 \tSparsity loss: 0.0116199 \tTotal loss: 0.0470739\n",
      "5 Train MSE: 0.0403685 \tSparsity loss: 0.0930409 \tTotal loss: 0.0589767\n",
      "6 Train MSE: 0.0388338 \tSparsity loss: 0.0462908 \tTotal loss: 0.048092\n",
      "7 Train MSE: 0.0378196 \tSparsity loss: 0.0758871 \tTotal loss: 0.052997\n",
      "8 Train MSE: 0.0332092 \tSparsity loss: 0.0200693 \tTotal loss: 0.037223\n",
      "9 Train MSE: 0.0314318 \tSparsity loss: 0.0965061 \tTotal loss: 0.050733\n",
      "10 Train MSE: 0.0273777 \tSparsity loss: 0.0670885 \tTotal loss: 0.0407954\n",
      "11 Train MSE: 0.0246779 \tSparsity loss: 0.0900828 \tTotal loss: 0.0426945\n",
      "12 Train MSE: 0.0233311 \tSparsity loss: 0.0577432 \tTotal loss: 0.0348797\n",
      "13 Train MSE: 0.0228954 \tSparsity loss: 0.0623308 \tTotal loss: 0.0353615\n",
      "14 Train MSE: 0.0210913 \tSparsity loss: 0.0258186 \tTotal loss: 0.026255\n",
      "15 Train MSE: 0.0220006 \tSparsity loss: 0.483207 \tTotal loss: 0.118642\n",
      "16 Train MSE: 0.0190526 \tSparsity loss: 0.0361403 \tTotal loss: 0.0262806\n",
      "17 Train MSE: 0.0188885 \tSparsity loss: 0.132695 \tTotal loss: 0.0454275\n",
      "18 Train MSE: 0.0174156 \tSparsity loss: 0.0403093 \tTotal loss: 0.0254774\n",
      "19 Train MSE: 0.0178612 \tSparsity loss: 0.110486 \tTotal loss: 0.0399584\n",
      "20 Train MSE: 0.0168293 \tSparsity loss: 0.0291402 \tTotal loss: 0.0226573\n",
      "21 Train MSE: 0.0183871 \tSparsity loss: 0.364209 \tTotal loss: 0.0912289\n",
      "22 Train MSE: 0.0161226 \tSparsity loss: 0.0556278 \tTotal loss: 0.0272482\n",
      "23 Train MSE: 0.0158919 \tSparsity loss: 0.0792573 \tTotal loss: 0.0317434\n",
      "24 Train MSE: 0.0157006 \tSparsity loss: 0.149254 \tTotal loss: 0.0455514\n",
      "25 Train MSE: 0.0145307 \tSparsity loss: 0.136184 \tTotal loss: 0.0417676\n",
      "26 Train MSE: 0.0144209 \tSparsity loss: 0.110554 \tTotal loss: 0.0365316\n",
      "27 Train MSE: 0.0138508 \tSparsity loss: 0.0744676 \tTotal loss: 0.0287443\n",
      "28 Train MSE: 0.0139305 \tSparsity loss: 0.158476 \tTotal loss: 0.0456257\n",
      "29 Train MSE: 0.0133762 \tSparsity loss: 0.143838 \tTotal loss: 0.0421438\n",
      "30 Train MSE: 0.0137258 \tSparsity loss: 0.185643 \tTotal loss: 0.0508544\n",
      "31 Train MSE: 0.0139518 \tSparsity loss: 0.0635133 \tTotal loss: 0.0266544\n",
      "32 Train MSE: 0.013692 \tSparsity loss: 0.0577956 \tTotal loss: 0.0252512\n",
      "33 Train MSE: 0.0134704 \tSparsity loss: 0.104171 \tTotal loss: 0.0343045\n",
      "34 Train MSE: 0.0124406 \tSparsity loss: 0.136569 \tTotal loss: 0.0397544\n",
      "35 Train MSE: 0.0126563 \tSparsity loss: 0.162903 \tTotal loss: 0.0452369\n",
      "36 Train MSE: 0.0128764 \tSparsity loss: 0.0948648 \tTotal loss: 0.0318493\n",
      "37 Train MSE: 0.0123458 \tSparsity loss: 0.108087 \tTotal loss: 0.0339632\n",
      "38 Train MSE: 0.0121672 \tSparsity loss: 0.20089 \tTotal loss: 0.0523451\n",
      "39 Train MSE: 0.0122532 \tSparsity loss: 0.149409 \tTotal loss: 0.0421351\n",
      "40 Train MSE: 0.0125975 \tSparsity loss: 0.230649 \tTotal loss: 0.0587274\n",
      "41 Train MSE: 0.0124657 \tSparsity loss: 0.100664 \tTotal loss: 0.0325984\n",
      "42 Train MSE: 0.0116947 \tSparsity loss: 0.101108 \tTotal loss: 0.0319164\n",
      "43 Train MSE: 0.0122123 \tSparsity loss: 0.125789 \tTotal loss: 0.0373701\n",
      "44 Train MSE: 0.0117173 \tSparsity loss: 0.110301 \tTotal loss: 0.0337774\n",
      "45 Train MSE: 0.0116897 \tSparsity loss: 0.165081 \tTotal loss: 0.0447058\n",
      "46 Train MSE: 0.011611 \tSparsity loss: 0.130426 \tTotal loss: 0.0376962\n",
      "47 Train MSE: 0.0117358 \tSparsity loss: 0.163508 \tTotal loss: 0.0444374\n",
      "48 Train MSE: 0.0116507 \tSparsity loss: 0.459586 \tTotal loss: 0.103568\n",
      "49 Train MSE: 0.0116655 \tSparsity loss: 0.188114 \tTotal loss: 0.0492883\n",
      "50 Train MSE: 0.0114275 \tSparsity loss: 0.19221 \tTotal loss: 0.0498695\n",
      "51 Train MSE: 0.0113954 \tSparsity loss: 0.266457 \tTotal loss: 0.0646867\n",
      "52 Train MSE: 0.0119332 \tSparsity loss: 0.379985 \tTotal loss: 0.0879303\n",
      "53 Train MSE: 0.0113018 \tSparsity loss: 0.129771 \tTotal loss: 0.037256\n",
      "54 Train MSE: 0.0153057 \tSparsity loss: 0.434827 \tTotal loss: 0.102271\n",
      "55 Train MSE: 0.0134004 \tSparsity loss: 0.0833025 \tTotal loss: 0.0300609\n",
      "56 Train MSE: 0.0123188 \tSparsity loss: 0.297605 \tTotal loss: 0.0718399\n",
      "57 Train MSE: 0.0122943 \tSparsity loss: 0.247148 \tTotal loss: 0.061724\n",
      "58 Train MSE: 0.0239939 \tSparsity loss: 0.215717 \tTotal loss: 0.0671373\n",
      "59 Train MSE: 0.013596 \tSparsity loss: 0.203553 \tTotal loss: 0.0543065\n",
      "60 Train MSE: 0.0179108 \tSparsity loss: 0.180449 \tTotal loss: 0.0540006\n",
      "61 Train MSE: 0.0132258 \tSparsity loss: 0.231824 \tTotal loss: 0.0595906\n",
      "62 Train MSE: 0.0136533 \tSparsity loss: 0.498429 \tTotal loss: 0.113339\n",
      "63 Train MSE: 0.0143277 \tSparsity loss: 0.333901 \tTotal loss: 0.0811079\n",
      "64 Train MSE: 0.0119968 \tSparsity loss: 0.176848 \tTotal loss: 0.0473664\n",
      "65 Train MSE: 0.0156422 \tSparsity loss: 0.173917 \tTotal loss: 0.0504256\n",
      "66 Train MSE: 0.0150095 \tSparsity loss: 1.02187 \tTotal loss: 0.219383\n",
      "67 Train MSE: 0.036823 \tSparsity loss: 0.323619 \tTotal loss: 0.101547\n",
      "68 Train MSE: 0.0148193 \tSparsity loss: 0.230714 \tTotal loss: 0.060962\n",
      "69 Train MSE: 0.0126409 \tSparsity loss: 0.454552 \tTotal loss: 0.103551\n",
      "70 Train MSE: 0.045501 \tSparsity loss: 0.745102 \tTotal loss: 0.194521\n",
      "71 Train MSE: 0.0143786 \tSparsity loss: 0.229362 \tTotal loss: 0.060251\n",
      "72 Train MSE: 0.0151026 \tSparsity loss: 0.826014 \tTotal loss: 0.180306\n",
      "73 Train MSE: 0.0136122 \tSparsity loss: 0.316737 \tTotal loss: 0.0769596\n",
      "74 Train MSE: 0.0309757 \tSparsity loss: 0.289552 \tTotal loss: 0.0888861\n",
      "75 Train MSE: 0.0304744 \tSparsity loss: 0.489417 \tTotal loss: 0.128358\n",
      "76 Train MSE: 0.0204102 \tSparsity loss: 0.201982 \tTotal loss: 0.0608067\n",
      "77 Train MSE: 0.0211023 \tSparsity loss: 0.32347 \tTotal loss: 0.0857964\n",
      "78 Train MSE: 0.0178777 \tSparsity loss: 0.533425 \tTotal loss: 0.124563\n",
      "79 Train MSE: 0.018841 \tSparsity loss: 0.424661 \tTotal loss: 0.103773\n",
      "80 Train MSE: 0.0159234 \tSparsity loss: 0.115559 \tTotal loss: 0.0390352\n",
      "81 Train MSE: 0.0129649 \tSparsity loss: 0.912508 \tTotal loss: 0.195467\n",
      "82 Train MSE: 0.0162278 \tSparsity loss: 2.17347 \tTotal loss: 0.450922\n",
      "83 Train MSE: 0.0146708 \tSparsity loss: 0.681089 \tTotal loss: 0.150889\n",
      "84 Train MSE: 0.0150686 \tSparsity loss: 0.292309 \tTotal loss: 0.0735305\n",
      "85 Train MSE: 0.0250247 \tSparsity loss: 0.949989 \tTotal loss: 0.215023\n",
      "86 Train MSE: 0.0146914 \tSparsity loss: 0.685326 \tTotal loss: 0.151757\n",
      "87 Train MSE: 0.0122667 \tSparsity loss: 1.44823 \tTotal loss: 0.301912\n",
      "88 Train MSE: 0.0197259 \tSparsity loss: 0.861047 \tTotal loss: 0.191935\n",
      "89 Train MSE: 0.0331342 \tSparsity loss: 0.291833 \tTotal loss: 0.0915009\n",
      "90 Train MSE: 0.0295548 \tSparsity loss: 0.445159 \tTotal loss: 0.118587\n",
      "91 Train MSE: 0.0145762 \tSparsity loss: 0.0887034 \tTotal loss: 0.0323169\n",
      "92 Train MSE: 0.0147775 \tSparsity loss: 0.390856 \tTotal loss: 0.0929486\n",
      "93 Train MSE: 0.0166543 \tSparsity loss: 0.155326 \tTotal loss: 0.0477195\n",
      "94 Train MSE: 0.012198 \tSparsity loss: 0.12071 \tTotal loss: 0.03634\n",
      "95 Train MSE: 0.0141104 \tSparsity loss: 0.107212 \tTotal loss: 0.0355529\n",
      "96 Train MSE: 0.018834 \tSparsity loss: 0.230255 \tTotal loss: 0.0648851\n",
      "97 Train MSE: 0.0134663 \tSparsity loss: 0.102045 \tTotal loss: 0.0338754\n",
      "98 Train MSE: 0.013678 \tSparsity loss: 0.0839055 \tTotal loss: 0.0304591\n",
      "99 Train MSE: 0.0245401 \tSparsity loss: 0.335841 \tTotal loss: 0.0917084\n"
     ]
    }
   ],
   "source": [
    "n_epochs = 100\n",
    "batch_size = 1000\n",
    "\n",
    "with tf.Session() as sess:\n",
    "    init.run()\n",
    "    for epoch in range(n_epochs):\n",
    "        n_batches = mnist.train.num_examples // batch_size\n",
    "        for iteration in range(n_batches):\n",
    "            print(\"\\r{}%\".format(100 * iteration // n_batches), end=\"\")\n",
    "            sys.stdout.flush()\n",
    "            X_batch, y_batch = mnist.train.next_batch(batch_size)\n",
    "            sess.run(training_op, feed_dict={X: X_batch})\n",
    "        reconstruction_loss_val, sparsity_loss_val, loss_val = sess.run([reconstruction_loss, sparsity_loss, loss], feed_dict={X: X_batch})\n",
    "        print(\"\\r{}\".format(epoch), \"Train MSE:\", reconstruction_loss_val, \"\\tSparsity loss:\", sparsity_loss_val, \"\\tTotal loss:\", loss_val)\n",
    "        saver.save(sess, \"./my_model_sparse.ckpt\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 47,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "INFO:tensorflow:Restoring parameters from ./my_model_sparse.ckpt\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAa0AAAFxCAYAAADAqvdjAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHQtJREFUeJzt3W9sluXZx/ETrNA/FApCW/5YAdmk/kU2om6+WLZIombq\nXEzmTLYFTSSaaGYyjSZLthfLXm7sxeKWGd3UF0tc2KJEzeZwU6MIDLr4BwciCgShSGlpaaGgz6vn\nxZPz99tzndztjUf7/bw8ct7Xdd333fbgyvXjOKd89tlnCQCACKae7QsAAKAqmhYAIAyaFgAgDJoW\nACAMmhYAIAyaFgAgDJoWACAMmhYAIAyaFgAgjIY6novRG6iHKWf7AiaD3t7e7Pf59OnTcu3UqdX/\nbfzpp59mtXPOOUeuVdN8pkzRX79a66YBqet1xx0dHa30+hLu9SMjI5Wvq6mpKau570dxx1Xfj1ur\nnDp1StYbGvJW1N7eLg/MnRYAIAyaFgAgDJoWACCMej7TAjBBlDxPKnnmodaOxU4U6nmOe1am1qpn\nLq5e8vys5L2de+65Wc09/1LPjkq+h7H4zNUx3OdYcj7utAAAYdC0AABh0LQAAGHQtAAAYdC0AABh\nkB4EUEwl79zEBZUMU5MkUtIJt+nTp8u1ajqDqrnjurWKe28q0aeSe+716rrc2pLrVd9PyWdTkjR0\nxisJyp0WACAMmhYAIAyaFgAgDJoWACAMghgAipVsc6G4cT4lwYSScIUad+SOq0IMJcEEdS43Mqrk\nuCXXpQIP06ZNq7x2LIIjKmxTEqpxuNMCAIRB0wIAhEHTAgCEQdMC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1dpAcBALHRtAAAYdC0AABh0LQAAGGwnxaAYi4AoJTsnaW4kU/quG7ckuKC\nI+p8aiRRyXFV4CIlPW7JBUSqnisl/dm4taruAnpuDJOiQhdu5J3bQ0zhTgsAEAZNCwAQBk0LABAG\nTQsAEAZNCwAQBulBAMVU4qwkJViSCHSpt9HR0azmRj6pY7hrUEk2l6ZTKUo1Akldq+PWquSdG6Gk\nrst9Nq5e9biO+i7duUp+drjTAgCEQdMCAIRB0wIAhEHTAgCEQRADQDG1Z5R7yK7G+bhggwpBlIwq\nckGBkmCCGgXlwhHqfahzuTFQJSEI9X7ddanPseRcjguvKCXhl5KAB3daAIAwaFoAgDBoWgCAMGha\nAIAwaFoAgDBIDwIoptJpKiXouESgSuO5TRHVMdw1qNRaSZLNjUtS16tqbkxRyXgn9Zm761JKvh9H\nvTd33JLRTC5NqnCnBQAIg6YFAAiDpgUACIOmBQAIY0rJAzAAAM4m7rQAAGHQtAAAYdC0AABh0LQA\nAGHQtAAAYdC0AABh0LQAAGHQtAAAYdC0AABh0LQAAGHQtAAAYdC0AABh0LQAAGHQtAAAYdC0AABh\n0LQAAGHQtAAAYdC0AABh0LQAAGHQtAAAYdC0AABh0LQAAGHQtAAAYfwP7yJU8LUryWEAAAAASUVO\nRK5CYII=\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7f8467498c18>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "show_reconstructed_digits(X, outputs, \"./my_model_sparse.ckpt\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Note that the coding layer must output values from 0 to 1, which is why we use the sigmoid activation function:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 48,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "hidden1 = tf.layers.dense(X, n_hidden1, activation=tf.nn.sigmoid)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "To speed up training, you can normalize the inputs between 0 and 1, and use the cross entropy instead of the MSE for the cost function:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 49,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "logits = tf.layers.dense(hidden1, n_outputs)\n",
    "outputs = tf.nn.sigmoid(logits)\n",
    "\n",
    "xentropy = tf.nn.sigmoid_cross_entropy_with_logits(labels=X, logits=logits)\n",
    "reconstruction_loss = tf.reduce_mean(xentropy)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Variational Autoencoder"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "metadata": {},
   "outputs": [],
   "source": [
    "reset_graph()\n",
    "\n",
    "from functools import partial\n",
    "\n",
    "n_inputs = 28 * 28\n",
    "n_hidden1 = 500\n",
    "n_hidden2 = 500\n",
    "n_hidden3 = 20  # codings\n",
    "n_hidden4 = n_hidden2\n",
    "n_hidden5 = n_hidden1\n",
    "n_outputs = n_inputs\n",
    "learning_rate = 0.001\n",
    "\n",
    "initializer = tf.contrib.layers.variance_scaling_initializer()\n",
    "\n",
    "my_dense_layer = partial(\n",
    "    tf.layers.dense,\n",
    "    activation=tf.nn.elu,\n",
    "    kernel_initializer=initializer)\n",
    "\n",
    "X = tf.placeholder(tf.float32, [None, n_inputs])\n",
    "hidden1 = my_dense_layer(X, n_hidden1)\n",
    "hidden2 = my_dense_layer(hidden1, n_hidden2)\n",
    "hidden3_mean = my_dense_layer(hidden2, n_hidden3, activation=None)\n",
    "hidden3_sigma = my_dense_layer(hidden2, n_hidden3, activation=None)\n",
    "noise = tf.random_normal(tf.shape(hidden3_sigma), dtype=tf.float32)\n",
    "hidden3 = hidden3_mean + hidden3_sigma * noise\n",
    "hidden4 = my_dense_layer(hidden3, n_hidden4)\n",
    "hidden5 = my_dense_layer(hidden4, n_hidden5)\n",
    "logits = my_dense_layer(hidden5, n_outputs, activation=None)\n",
    "outputs = tf.sigmoid(logits)\n",
    "\n",
    "xentropy = tf.nn.sigmoid_cross_entropy_with_logits(labels=X, logits=logits)\n",
    "reconstruction_loss = tf.reduce_sum(xentropy)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 51,
   "metadata": {},
   "outputs": [],
   "source": [
    "eps = 1e-10 # smoothing term to avoid computing log(0) which is NaN\n",
    "latent_loss = 0.5 * tf.reduce_sum(\n",
    "    tf.square(hidden3_sigma) + tf.square(hidden3_mean)\n",
    "    - 1 - tf.log(eps + tf.square(hidden3_sigma)))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 52,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "loss = reconstruction_loss + latent_loss\n",
    "\n",
    "optimizer = tf.train.AdamOptimizer(learning_rate=learning_rate)\n",
    "training_op = optimizer.minimize(loss)\n",
    "\n",
    "init = tf.global_variables_initializer()\n",
    "saver = tf.train.Saver()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 53,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0 Train total loss: 32440.1 \tReconstruction loss: 25031.5 \tLatent loss: 7408.61\n",
      "1 Train total loss: 30017.4 \tReconstruction loss: 23093.3 \tLatent loss: 6924.14\n",
      "2 Train total loss: 23337.9 \tReconstruction loss: 20221.0 \tLatent loss: 3116.88\n",
      "3 Train total loss: 21724.7 \tReconstruction loss: 18698.8 \tLatent loss: 3025.89\n",
      "4 Train total loss: 28219.0 \tReconstruction loss: 21493.3 \tLatent loss: 6725.66\n",
      "5 Train total loss: 25906.5 \tReconstruction loss: 19582.4 \tLatent loss: 6324.09\n",
      "6 Train total loss: 19198.3 \tReconstruction loss: 15831.6 \tLatent loss: 3366.69\n",
      "7 Train total loss: 17638.8 \tReconstruction loss: 14539.6 \tLatent loss: 3099.17\n",
      "8 Train total loss: 16688.3 \tReconstruction loss: 13615.9 \tLatent loss: 3072.4\n",
      "9 Train total loss: 17007.3 \tReconstruction loss: 13783.2 \tLatent loss: 3224.1\n",
      "10 Train total loss: 16550.5 \tReconstruction loss: 13333.8 \tLatent loss: 3216.75\n",
      "11 Train total loss: 16248.7 \tReconstruction loss: 13009.1 \tLatent loss: 3239.6\n",
      "12 Train total loss: 16346.3 \tReconstruction loss: 13150.0 \tLatent loss: 3196.26\n",
      "13 Train total loss: 16067.2 \tReconstruction loss: 12777.2 \tLatent loss: 3290.02\n",
      "14 Train total loss: 16512.1 \tReconstruction loss: 13058.1 \tLatent loss: 3454.07\n",
      "15 Train total loss: 16099.5 \tReconstruction loss: 12739.1 \tLatent loss: 3360.35\n",
      "16 Train total loss: 20827.6 \tReconstruction loss: 16602.6 \tLatent loss: 4224.96\n",
      "17 Train total loss: 38965.4 \tReconstruction loss: 24849.1 \tLatent loss: 14116.2\n",
      "18 Train total loss: 29396.9 \tReconstruction loss: 24286.1 \tLatent loss: 5110.81\n",
      "19 Train total loss: 27910.6 \tReconstruction loss: 21005.3 \tLatent loss: 6905.23\n",
      "20 Train total loss: 26797.9 \tReconstruction loss: 20202.2 \tLatent loss: 6595.64\n",
      "21 Train total loss: 18686.1 \tReconstruction loss: 15251.4 \tLatent loss: 3434.69\n",
      "22 Train total loss: 17034.8 \tReconstruction loss: 13890.0 \tLatent loss: 3144.77\n",
      "23 Train total loss: 16404.0 \tReconstruction loss: 13102.6 \tLatent loss: 3301.37\n",
      "24 Train total loss: 16214.5 \tReconstruction loss: 12803.4 \tLatent loss: 3411.13\n",
      "25 Train total loss: 16253.4 \tReconstruction loss: 12823.9 \tLatent loss: 3429.48\n",
      "26 Train total loss: 16326.2 \tReconstruction loss: 12934.0 \tLatent loss: 3392.18\n",
      "27 Train total loss: 16161.3 \tReconstruction loss: 12767.4 \tLatent loss: 3393.91\n",
      "28 Train total loss: 16990.3 \tReconstruction loss: 13471.8 \tLatent loss: 3518.54\n",
      "29 Train total loss: 15728.4 \tReconstruction loss: 12465.1 \tLatent loss: 3263.28\n",
      "30 Train total loss: 16505.3 \tReconstruction loss: 13219.9 \tLatent loss: 3285.37\n",
      "31 Train total loss: 16961.6 \tReconstruction loss: 13379.0 \tLatent loss: 3582.55\n",
      "32 Train total loss: 17671.7 \tReconstruction loss: 14372.1 \tLatent loss: 3299.55\n",
      "33 Train total loss: 16640.7 \tReconstruction loss: 13332.3 \tLatent loss: 3308.39\n",
      "34 Train total loss: 21943.6 \tReconstruction loss: 15878.3 \tLatent loss: 6065.31\n",
      "35 Train total loss: 15656.0 \tReconstruction loss: 12254.1 \tLatent loss: 3401.86\n",
      "36 Train total loss: 15697.0 \tReconstruction loss: 12231.0 \tLatent loss: 3465.93\n",
      "37 Train total loss: 15769.4 \tReconstruction loss: 12409.7 \tLatent loss: 3359.68\n",
      "38 Train total loss: 17182.6 \tReconstruction loss: 13943.9 \tLatent loss: 3238.67\n",
      "39 Train total loss: 18285.6 \tReconstruction loss: 14796.2 \tLatent loss: 3489.34\n",
      "40 Train total loss: 20053.2 \tReconstruction loss: 14899.0 \tLatent loss: 5154.25\n",
      "41 Train total loss: 16290.2 \tReconstruction loss: 13008.1 \tLatent loss: 3282.09\n",
      "42 Train total loss: 27364.1 \tReconstruction loss: 22713.0 \tLatent loss: 4651.08\n",
      "43 Train total loss: 15450.8 \tReconstruction loss: 12009.0 \tLatent loss: 3441.87\n",
      "44 Train total loss: 15567.6 \tReconstruction loss: 12068.6 \tLatent loss: 3499.0\n",
      "45 Train total loss: 15348.8 \tReconstruction loss: 11840.9 \tLatent loss: 3507.95\n",
      "46 Train total loss: 15435.6 \tReconstruction loss: 11949.6 \tLatent loss: 3486.03\n",
      "47 Train total loss: 15210.5 \tReconstruction loss: 11804.4 \tLatent loss: 3406.18\n",
      "48 Train total loss: 20627.8 \tReconstruction loss: 16485.7 \tLatent loss: 4142.07\n",
      "49 Train total loss: 15147.4 \tReconstruction loss: 11587.1 \tLatent loss: 3560.29\n"
     ]
    }
   ],
   "source": [
    "n_epochs = 50\n",
    "batch_size = 150\n",
    "\n",
    "with tf.Session() as sess:\n",
    "    init.run()\n",
    "    for epoch in range(n_epochs):\n",
    "        n_batches = mnist.train.num_examples // batch_size\n",
    "        for iteration in range(n_batches):\n",
    "            print(\"\\r{}%\".format(100 * iteration // n_batches), end=\"\")\n",
    "            sys.stdout.flush()\n",
    "            X_batch, y_batch = mnist.train.next_batch(batch_size)\n",
    "            sess.run(training_op, feed_dict={X: X_batch})\n",
    "        loss_val, reconstruction_loss_val, latent_loss_val = sess.run([loss, reconstruction_loss, latent_loss], feed_dict={X: X_batch})\n",
    "        print(\"\\r{}\".format(epoch), \"Train total loss:\", loss_val, \"\\tReconstruction loss:\", reconstruction_loss_val, \"\\tLatent loss:\", latent_loss_val)\n",
    "        saver.save(sess, \"./my_model_variational.ckpt\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 54,
   "metadata": {},
   "outputs": [],
   "source": [
    "reset_graph()\n",
    "\n",
    "from functools import partial\n",
    "\n",
    "n_inputs = 28 * 28\n",
    "n_hidden1 = 500\n",
    "n_hidden2 = 500\n",
    "n_hidden3 = 20  # codings\n",
    "n_hidden4 = n_hidden2\n",
    "n_hidden5 = n_hidden1\n",
    "n_outputs = n_inputs\n",
    "learning_rate = 0.001\n",
    "\n",
    "initializer = tf.contrib.layers.variance_scaling_initializer()\n",
    "my_dense_layer = partial(\n",
    "    tf.layers.dense,\n",
    "    activation=tf.nn.elu,\n",
    "    kernel_initializer=initializer)\n",
    "\n",
    "X = tf.placeholder(tf.float32, [None, n_inputs])\n",
    "hidden1 = my_dense_layer(X, n_hidden1)\n",
    "hidden2 = my_dense_layer(hidden1, n_hidden2)\n",
    "hidden3_mean = my_dense_layer(hidden2, n_hidden3, activation=None)\n",
    "hidden3_gamma = my_dense_layer(hidden2, n_hidden3, activation=None)\n",
    "noise = tf.random_normal(tf.shape(hidden3_gamma), dtype=tf.float32)\n",
    "hidden3 = hidden3_mean + tf.exp(0.5 * hidden3_gamma) * noise\n",
    "hidden4 = my_dense_layer(hidden3, n_hidden4)\n",
    "hidden5 = my_dense_layer(hidden4, n_hidden5)\n",
    "logits = my_dense_layer(hidden5, n_outputs, activation=None)\n",
    "outputs = tf.sigmoid(logits)\n",
    "\n",
    "xentropy = tf.nn.sigmoid_cross_entropy_with_logits(labels=X, logits=logits)\n",
    "reconstruction_loss = tf.reduce_sum(xentropy)\n",
    "latent_loss = 0.5 * tf.reduce_sum(\n",
    "    tf.exp(hidden3_gamma) + tf.square(hidden3_mean) - 1 - hidden3_gamma)\n",
    "loss = reconstruction_loss + latent_loss\n",
    "\n",
    "optimizer = tf.train.AdamOptimizer(learning_rate=learning_rate)\n",
    "training_op = optimizer.minimize(loss)\n",
    "\n",
    "init = tf.global_variables_initializer()\n",
    "saver = tf.train.Saver()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Generate digits"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Let's train the model and generate a few random digits:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 55,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "0 Train total loss: 17792.6 \tReconstruction loss: 14122.9 \tLatent loss: 3669.64\n",
      "1 Train total loss: 17332.2 \tReconstruction loss: 13560.0 \tLatent loss: 3772.24\n",
      "2 Train total loss: 16350.7 \tReconstruction loss: 12579.3 \tLatent loss: 3771.48\n",
      "3 Train total loss: 16581.4 \tReconstruction loss: 12810.6 \tLatent loss: 3770.78\n",
      "4 Train total loss: 16223.9 \tReconstruction loss: 12450.0 \tLatent loss: 3773.86\n",
      "5 Train total loss: 15628.1 \tReconstruction loss: 11819.6 \tLatent loss: 3808.51\n",
      "6 Train total loss: 16080.9 \tReconstruction loss: 12179.7 \tLatent loss: 3901.24\n",
      "7 Train total loss: 15772.8 \tReconstruction loss: 12021.3 \tLatent loss: 3751.55\n",
      "8 Train total loss: 16276.5 \tReconstruction loss: 12404.6 \tLatent loss: 3871.83\n",
      "9 Train total loss: 15589.6 \tReconstruction loss: 11740.6 \tLatent loss: 3849.02\n",
      "10 Train total loss: 15931.3 \tReconstruction loss: 12031.4 \tLatent loss: 3899.94\n",
      "11 Train total loss: 16112.7 \tReconstruction loss: 12238.3 \tLatent loss: 3874.35\n",
      "12 Train total loss: 16002.0 \tReconstruction loss: 12185.1 \tLatent loss: 3816.83\n",
      "13 Train total loss: 15357.7 \tReconstruction loss: 11667.4 \tLatent loss: 3690.35\n",
      "14 Train total loss: 16208.4 \tReconstruction loss: 12264.4 \tLatent loss: 3943.96\n",
      "15 Train total loss: 15970.0 \tReconstruction loss: 12158.5 \tLatent loss: 3811.52\n",
      "16 Train total loss: 15551.6 \tReconstruction loss: 11783.1 \tLatent loss: 3768.49\n",
      "17 Train total loss: 15330.0 \tReconstruction loss: 11555.7 \tLatent loss: 3774.3\n",
      "18 Train total loss: 15251.3 \tReconstruction loss: 11584.5 \tLatent loss: 3666.81\n",
      "19 Train total loss: 15196.0 \tReconstruction loss: 11516.6 \tLatent loss: 3679.44\n",
      "20 Train total loss: 15323.9 \tReconstruction loss: 11525.9 \tLatent loss: 3797.99\n",
      "21 Train total loss: 15358.7 \tReconstruction loss: 11515.6 \tLatent loss: 3843.17\n",
      "22 Train total loss: 15297.9 \tReconstruction loss: 11582.5 \tLatent loss: 3715.37\n",
      "23 Train total loss: 14673.0 \tReconstruction loss: 10940.7 \tLatent loss: 3732.34\n",
      "24 Train total loss: 15293.5 \tReconstruction loss: 11561.7 \tLatent loss: 3731.75\n",
      "25 Train total loss: 15256.3 \tReconstruction loss: 11540.8 \tLatent loss: 3715.53\n",
      "26 Train total loss: 15305.4 \tReconstruction loss: 11475.4 \tLatent loss: 3830.01\n",
      "27 Train total loss: 15276.9 \tReconstruction loss: 11449.7 \tLatent loss: 3827.24\n",
      "28 Train total loss: 14980.6 \tReconstruction loss: 11318.0 \tLatent loss: 3662.56\n",
      "29 Train total loss: 15232.8 \tReconstruction loss: 11520.1 \tLatent loss: 3712.69\n",
      "30 Train total loss: 14872.4 \tReconstruction loss: 11172.9 \tLatent loss: 3699.47\n",
      "31 Train total loss: 14890.3 \tReconstruction loss: 11144.1 \tLatent loss: 3746.17\n",
      "32 Train total loss: 15246.7 \tReconstruction loss: 11439.3 \tLatent loss: 3807.4\n",
      "33 Train total loss: 15063.5 \tReconstruction loss: 11282.1 \tLatent loss: 3781.41\n",
      "34 Train total loss: 15046.7 \tReconstruction loss: 11310.2 \tLatent loss: 3736.47\n",
      "35 Train total loss: 15293.9 \tReconstruction loss: 11599.5 \tLatent loss: 3694.4\n",
      "36 Train total loss: 15134.5 \tReconstruction loss: 11362.8 \tLatent loss: 3771.74\n",
      "37 Train total loss: 14705.7 \tReconstruction loss: 11054.7 \tLatent loss: 3650.98\n",
      "38 Train total loss: 14913.9 \tReconstruction loss: 11077.0 \tLatent loss: 3836.93\n",
      "39 Train total loss: 14848.1 \tReconstruction loss: 11198.5 \tLatent loss: 3649.57\n",
      "40 Train total loss: 14694.2 \tReconstruction loss: 10991.5 \tLatent loss: 3702.73\n",
      "41 Train total loss: 15223.9 \tReconstruction loss: 11465.1 \tLatent loss: 3758.8\n",
      "42 Train total loss: 14585.3 \tReconstruction loss: 11019.3 \tLatent loss: 3566.01\n",
      "43 Train total loss: 14579.1 \tReconstruction loss: 10931.2 \tLatent loss: 3647.84\n",
      "44 Train total loss: 15049.1 \tReconstruction loss: 11381.9 \tLatent loss: 3667.18\n",
      "45 Train total loss: 14855.6 \tReconstruction loss: 11125.6 \tLatent loss: 3730.04\n",
      "46 Train total loss: 14777.7 \tReconstruction loss: 11093.4 \tLatent loss: 3684.3\n",
      "47 Train total loss: 14408.9 \tReconstruction loss: 10788.5 \tLatent loss: 3620.39\n",
      "48 Train total loss: 14479.2 \tReconstruction loss: 10864.3 \tLatent loss: 3614.88\n",
      "49 Train total loss: 14637.6 \tReconstruction loss: 10926.0 \tLatent loss: 3711.55\n"
     ]
    }
   ],
   "source": [
    "import numpy as np\n",
    "\n",
    "n_digits = 60\n",
    "n_epochs = 50\n",
    "batch_size = 150\n",
    "\n",
    "with tf.Session() as sess:\n",
    "    init.run()\n",
    "    for epoch in range(n_epochs):\n",
    "        n_batches = mnist.train.num_examples // batch_size\n",
    "        for iteration in range(n_batches):\n",
    "            print(\"\\r{}%\".format(100 * iteration // n_batches), end=\"\") # not shown in the book\n",
    "            sys.stdout.flush()                                          # not shown\n",
    "            X_batch, y_batch = mnist.train.next_batch(batch_size)\n",
    "            sess.run(training_op, feed_dict={X: X_batch})\n",
    "        loss_val, reconstruction_loss_val, latent_loss_val = sess.run([loss, reconstruction_loss, latent_loss], feed_dict={X: X_batch}) # not shown\n",
    "        print(\"\\r{}\".format(epoch), \"Train total loss:\", loss_val, \"\\tReconstruction loss:\", reconstruction_loss_val, \"\\tLatent loss:\", latent_loss_val)  # not shown\n",
    "        saver.save(sess, \"./my_model_variational.ckpt\")  # not shown\n",
    "    \n",
    "    codings_rnd = np.random.normal(size=[n_digits, n_hidden3])\n",
    "    outputs_val = outputs.eval(feed_dict={hidden3: codings_rnd})"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 56,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAeQAAAE0CAYAAAD9kEDWAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzsnXdgldXd+D935WaRnRACIYGEGRBkuxC1Yi0ILmyte1Wr\nb6tV39YuV20rrXu8llbrqKPyFoE6gFYrgmKBsiFCWJIASUhC9k3uep7fH897vtwbhozcgb/z+YeR\ncc9znnPOd3+PzTRNNBqNRqPRxBZ7rAeg0Wg0Go1GC2SNRqPRaOICLZA1Go1Go4kDtEDWaDQajSYO\n0AJZo9FoNJo4QAtkjUaj0WjiAC2QNRqNRqOJA7RA1mg0Go0mDtACWaPRaDSaOEALZI1Go9Fo4gAt\nkDUajUajiQO0QNZoNBqNJg5wRvGz4vkWC9sRvnYyjvtkHDPE77hPxjGDXh/R5Os01yfjmOHkHbeg\nLWSNRqPRaOKAaFrIGo3m/wi99tRmsxEIBNiwYQMAvXv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4o2r6cj9tak++67T+Ku3wdis6wzMzMlfBQKhcjNzeXWW28F\nLO9Eqm8e+r6gvJDqSk5A4slDhw6lR48etnJRfx+xvcs6SfzQ3CDfxzHDeR73yfXI59DLOqEu6/Hj\nx7NixQo2bNgAIHkR5wG9PpLHD2muv3VoIIl5GD+09RGHvUwGjUaj0Wj+T9EWssUPTev6Po4Z7Dvu\n7+OYQa+PZPJDmuvv45jh+zvuEz+URIGs0Wg0Go3mDGiXtUaj0Wg0NkALZI1Go9FobIAWyBqNRqPR\n2AAtkDUajUajsQFaIGs0Go1GYwO0QNZoNBqNxgZogazRaDQajQ3QAlmj0Wg0GhugBbJGo9FoNDZA\nC2SNRqPRaGyAFsgajUaj0dgALZA1Go1Go7EBWiBrNBqNRmMDtEDWaDQajcYGaIGs0Wg0Go0N0AJZ\no9FoNBoboAWyRqPRaDQ2QAtkjUaj0WhsgBbIGo1Go9HYAC2QNRqNRqOxAVogazQajUZjA7RA1mg0\nGo3GBmiBrNFoNBqNDfgvmTYlgjgWm00AAAAASUVORK5CYII=\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7f8465cb9780>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.figure(figsize=(8,50)) # not shown in the book\n",
    "for iteration in range(n_digits):\n",
    "    plt.subplot(n_digits, 10, iteration + 1)\n",
    "    plot_image(outputs_val[iteration])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 57,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Saving figure generated_digits_plot\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAagAAAEGCAYAAAAwpAFeAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzsnXd4VFX6+D9T0zuppBIgoRmQpoiKVFdEsaNrxa77yNe6\n6hZ1ddfeXdeOq+LaAVEXsFEFadI7gZAE0pNJ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ONjIyUzST379/Pq6++\nyrJly+SB19bWhtPpJCYmhjvuuAPwNrYTAiyYCKXA4/HI8dTW1vLpp5/y0ksvyULOw4YNY8GCBSGx\nDkQJtPNlLwoXVrARlWyqq6tZunQphw4d8kvcio6OZvDgwbICxuDBg0O6B0XpJ/AKqHXr1mGz2eQV\ngP79+9OvXz/i4+PbpdP3+QiPUSgUCoVCcQ6XpIvvXEQbeOHqaGpqorq6mi5dukjtKdBFT38Oq9Uq\nUzp79erld2dEcX58u3aKi5iVlZUySWLkyJEhbaxot9tlrGLnzp1kZGRw+PDhoFeaFgiXbEtLC6+9\n9hrPPfec1Mjj4uIYNWoUc+fOlS69UMQLBedWLn/nnXcoKCigqqpKWkwrV65k1KhRIava394IC6qx\nsZHbb7+d8vJy2fQwOTmZm2++2a+Nxm/oPPjFX/RXIaAUvw5EXAO8MZbS0lK+/PJL+vTpA3gD2udz\n8wWL1tZWWdS3qamJyZMn884774SN+6M9EUktIubzxRdf8OSTT+LxeGTl8tmzZwetkG4443A42Lp1\nKzqdTiZujR49mtzc3N+MsD4HJaAUvz5ElphYo6FO4LDb7TLRpbCwkB07dsj2CQrFhRCqJqBhjhJQ\nCoVCoQhLfrGAUr4KhUKhUIQlSkApFAqFIixRAkqhUCgUYUk4pZT8pqOICoVCofBHWVAKhUKhCEuU\ngFIoFApFWKIElEKhUCjCEiWgFAqFQhGWKAGlUCgUirBECSiFQqFQhCVKQCkUCoUiLFECSqFQKBRh\niRJQCoVCoQhLlIBSKBQKRViiBJRCoVAowhIloBQKhUIRligBpVAoFIqwRAkohUKhUIQlSkApFAqF\nIixRAkqhUCgUYYkSUAqFQqEIS5SAUigUCkVYogSUQqFQKMISJaAUCoVCEZYoAaVQKBSKsEQJKIVC\noVCEJUpAKRQKhSIs+T8ReevT56akNAAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7f84623f0be0>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "n_rows = 6\n",
    "n_cols = 10\n",
    "plot_multiple_images(outputs_val.reshape(-1, 28, 28), n_rows, n_cols)\n",
    "save_fig(\"generated_digits_plot\")\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Note that the latent loss is computed differently in this second variant:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 58,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "latent_loss = 0.5 * tf.reduce_sum(\n",
    "    tf.exp(hidden3_gamma) + tf.square(hidden3_mean) - 1 - hidden3_gamma)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Encode & Decode"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Encode:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 59,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "INFO:tensorflow:Restoring parameters from ./my_model_variational.ckpt\n"
     ]
    }
   ],
   "source": [
    "n_digits = 3\n",
    "X_test, y_test = mnist.test.next_batch(batch_size)\n",
    "codings = hidden3\n",
    "\n",
    "with tf.Session() as sess:\n",
    "    saver.restore(sess, \"./my_model_variational.ckpt\")\n",
    "    codings_val = codings.eval(feed_dict={X: X_test})"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Decode:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 60,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "INFO:tensorflow:Restoring parameters from ./my_model_variational.ckpt\n"
     ]
    }
   ],
   "source": [
    "with tf.Session() as sess:\n",
    "    saver.restore(sess, \"./my_model_variational.ckpt\")\n",
    "    outputs_val = outputs.eval(feed_dict={codings: codings_val})"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Let's plot the reconstructions:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 61,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAZAAAAHGCAYAAABaaN0mAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGcBJREFUeJzt3WuMXVXdBvBdphfaUodykSIgGkJawFYCBMs1hgIGrVoK\nCVYtGBHFgkQUVGoIKLESICRE2xgFEzDcaaMiICQVjVwqIFERKagoFiyX0tKWtrTTy/vh5YNrrd3O\nzJ9zzsyc8/t9e07WntkF9jzs+XftPWzbtm0VAPTXTgN9AgAMTQoEgBAFAkCIAgEgRIEAEKJAAAhR\nIACEKBAAQhQIACEKBICQ4S38Xp6Z0lmGDfQJ0FSu585Sez27AwEgRIEAEKJAAAhRIACEKBAAQhQI\nACEKBIAQBQJAiAIBIESBABCiQAAIUSAAhCgQAEIUCAAhCgSAEAUCQEgrXygF0Fa2bSvfq7Vx48Yk\nL1u2rFjz9NNPJ3m33XYr1uy///5JHjduXJK7u7uLY7q6urZ/sk3gDgSAEAUCQIgCASDEDKTFNmzY\nUHy2cuXKJNf9zvT4449P8hlnnFGsOeuss5J84oknRk4R2I58vvGf//ynWHPHHXck+ZlnninWvPTS\nS0levXp1sWb8+PFJ/tjHPpbkL33pS8UxY8aMSfKwYcOKNY3kDgSAEAUCQIgCASBEgQAQMqxuI0yT\ntOwbDSbr169P8ne+851izdVXX92Q7zV8ePp3Ii699NId5iZr7vSOgdZ213Pdz8I333wzyV/5yleS\nvHDhwuKYLVu2JHnvvfcu1uyzzz47PKaqqmr58uVJnjJlSpIvv/zy4ph8zU47NeweofZ6dgcCQIgC\nASBEgQAQYiNhP2zdujXJ//jHP4o1J598cpJfffXVJO+8887FMT/72c+SXPd7y1NPPTXJdRuPvvvd\n7yb5xhtvTPJ5551XHFP3EDfoBPnMY8WKFcWaT33qU0l+6KGHklx3rR544IFJvuiii4o1U6dOTXI+\nK62qqrruuuuS3NPTk+S6uUkLZ9pVVbkDASBIgQAQokAACLEPpB8effTRJB9z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iN5g+cMS+/KgxFwL/500kyF6e2uL/0j/19q1a4vPJk+enORly5Yl\neddddy2Oufnmm5N80kknFWu6uroipziQDNEBaBwFAkCIAgEgxMMUGyzysMT58+c34UyAHclfFvXF\nL36xWLNixYokjx8/Pskf//jHi2MOPfTQJO+0U/v+f3r7/skAaCoFAkCIAgEgRIEAEGKI/g4sWLCg\n+Ky3p+3WPWl3zpw5DTsnoFS3Ofexxx5L8gMPPFCsyQfg733ve5N83HHH9XpMO+ucPykADaVAAAhR\nIACEmIG8A+edd16/j5k3b14TzgTYkRdeeKH47Atf+EKS6+Yk48aNS/L++++f5E2bNhXHbN26tdev\nO2xYezxr1B0IACEKBIAQBQJAiAIBIMQQfTvyNwtWVeztgkuXLk3yxIkTw+cElOqG1I8//niSZ82a\nVawZNWpUkru7u4s1+cbB973vfUk+8MADi2PytxS288bC9v2TAdBUCgSAEAUCQIgZyNvymUdk3lFV\n5cMSzTygsfKZx5IlS4o1s2fPTvKqVauKNWPGjEnyvvvuW6yZMGFCkk899dQkH3HEEcUx+WylnbkD\nASBEgQAQokAACDEDedvcuXP7fUzdy6EWLlzYiNMBtmPjxo1JvuWWW4o1q1ev3uExVVXOUvbbb79i\nzYwZM5J82GGHJXn06NHFMe3yoMS+cAcCQIgCASBEgQAQokAACOnIIXqjhlzTpk0rPss3JNpICO/M\nhg0bknzdddcl+c477yyOWbduXZJHjhxZrMk3C9f9pZhPfvKTSc6H5p00MK/jDgSAEAUCQIgCASCk\nI2YgCxYsaMjXyX9HWjcDMfOAvss38/X09BRr8rni4sWLk7x27drimPyBhscff3yx5oorrkhy3QNU\nR4wYkeROn3nk3IEAEKJAAAhRIACEKBAAQoblQ6wmatk3yvXlbYN9GZDPmTOnsSfW3kwb21tTruct\nW7YUn61fvz7JTz31VJK//vWvF8fsscceSc4H5lVVVZMnT05yV1dXn8+zA9Vez+5AAAhRIACEKBAA\nQjpiBsKAMANpb67nzmIGAkDjKBAAQhQIACEKBIAQBQJAiAIBIESBABCiQAA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TPHXq1GLNK6+8kuR77723WDNq1KjGnlgHcgcCQIgCASBEgQAQ0pEbCWkJGwnbm+u5s9hI\nCEDjKBAAQhQIACEKBIAQBQJAiAIBIESBABCiQAAIUSAAhCgQAEIUCAAhCgSAEAUCQIgCASBEgQAQ\nokAACFEgAIQMb+H38oY6aB+uZ9yBABCjQAAIUSAAhCgQAEIUCAAhCgSAEAUCQIgCASBEgQAQokAA\nCFEgAIQoEABCFAgAIQoEgBAFAkCIAgEgRIEAEKJAAAhRIACEKBAAQhQIACEKBIAQBQJAyP8BHvDD\nHXc5YbwAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7f846b0829e8>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "fig = plt.figure(figsize=(8, 2.5 * n_digits))\n",
    "for iteration in range(n_digits):\n",
    "    plt.subplot(n_digits, 2, 1 + 2 * iteration)\n",
    "    plot_image(X_test[iteration])\n",
    "    plt.subplot(n_digits, 2, 2 + 2 * iteration)\n",
    "    plot_image(outputs_val[iteration])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Interpolate digits"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 62,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "INFO:tensorflow:Restoring parameters from ./my_model_variational.ckpt\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAocAAAB8CAYAAAAb3hoRAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAFVRJREFUeJzt3XvMzvUfx/GPSoXkLMdwoxRSaVIqi4o2MYlSqo2S1R/1\nR2qsTawt65yx0ZpWWa01pxmaVGgkhKmc5SzJObpFh99/r16f7+/63u7cp+u67ufjr1fd9/W9btfn\n+/1en33fn0OVf/75JwAAAAAhhHBeRf8BAAAAyB50DgEAACB0DgEAACB0D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AC1atFDu06eP8uHDh5UPHjyYelwvg/js15EjRyr7OeGz\n+IsqoXBdlT2fMZlcXcHLmSyIXfb8fG/fvr2yt4MvGo/y4fdKHwI1d+5c5VWrVmX8/RDifke7du2U\n/b7r35PZdN/jySEAAACEziEAAACkSjnuJ5vbG9fmhtJ4Jl2idko7n7LpcXkFK5c2SrZDWrt4mdhn\npS5evFh57dq1yj4LOYR45rnvX+5lk7SZx1l8TlT4dVTevPwVQrwocxbPUC5pO2VNG/m155s3LFy4\nUHnUqFHRawoKCpSzaZZrQt60kc8o96E2R48eVd62bVv0Gl/U2l/funVrZZ+FXkErcWRsI54cAgAA\nQOgcAgAAQCgr55dKVw7LQbRR9qONckPelCy9jL9//37l5cuXK/vqGyGEUKtWLeU8HqKRNW2Uxygr\nAwAAoGh0DgEAACB0DgEAACCMOcwvjJXKfrRR9qONckPej2fz7+csHldYlLxvozzAmEMAAAAUjc4h\nAAAAhB3VAQDIQjlaSkYe4MkhAAAAhM4hAAAApDxnKwMAACDL8eQQAAAAQucQAAAAQucQAAAAQucQ\nAAAAQucQAAAAQucQAAAAQucQAAAAQucQAAAAQucQAAAAQucQAAAAQucQAAAAQucQAAAAQucQAAAA\nQucQAAAAQucQAAAAQucQAAAAQucQAAAAQucQAAAAQucQAAAAQucQAAAAQucQAAAAQucQAAAAQucQ\nAAAA8j+v65u2SfOmMwAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7f8462250c18>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAocAAAB8CAYAAAAb3hoRAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAFQtJREFUeJzt3VeMVdUex/GFiI0qVaVJlR4ICkgVLAlBCKigBgViIUFD\nYnzQRH3hQUkEYgyYkCgKimIEQSkBJIKUhCICUqR3RQEFRIpguw83/PitfWePw52ZM2fmfD9Pv3Bm\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VqqTcqlWr6BjKykUj2efwRal9lZQVK1Yo+6YOPrQtuVC5DwVo\n166dsm/k4EOmsglPDgEAACB0DgEAACBZV1YuSoV5pM7j+HQ+2ziEEHr37q3sC1d7qcNnGPu55Txn\nPy+7eDkkhBCGDRum7DPVfS/swYMHK/tsZdq+ZLVv31552rRp0WvefiW5v2uu8HtlxYoVlX0IVXI1\njo4dOyqnrQKAK+f3JZ99fN999ynfe++9ysnVO9LeqyA5m/ApAgAAgNA5BAAAgJTL4Ew0prwVv6J4\nPk07FS/aKPvRRqVDYdspa9rIZyuvWrVKedmyZcr9+/ePjvH95tP2mM+CEnOZaaMyLM82KvFPDgAA\nALIHnUMAAAAInUMAAAAIYw7LFsZKZT/aKPvRRqUD49myH22U/RhzCAAAgPzROQQAAIDQOQQAAIDQ\nOQQAAIDQOQQAAIBkcrYyAAAAshxPDgEAACB0DgEAACB0DgEAACB0DgEAACB0DgEAACB0DgEAACB0\nDgEAACB0DgEAACB0DgEAACB0DgEAACB0DgEAACB0DgEAACB0DgEAACB0DgEAACB0DgEAACB0DgEA\nACB0DgEAACB0DgEAACB0DgEAACB0DgEAACB0DgEAACB0DgEAACB0DgEAACD/Af6RlFUcprl6AAAA\nAElFTkSuQmCC\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7f8465411198>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAocAAAB8CAYAAAAb3hoRAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAFJhJREFUeJzt3VeMVVUbxvHXAlJEaVKkKE2QYqElCIqGeIElhmBiMCCi\nGENQgUSDN8aKCWpClBgTDZgQwdhQKWJBYwAdIahUpRqKjAhIEUXs35WPz9rf7HGAmeHMnP/v6nE4\n58y419l7r+x3lVP+/vvvAAAAACIiTj3ZfwAAAAAKB51DAAAACJ1DAAAACJ1DAAAACJ1DAAAACJ1D\nAAAACJ1DAAAACJ1DAAAACJ1DAAAACJ1DAAAACJ1DAAAAyOnV+LvYxLnqnVIJn0E7VS3aqPDRRjXD\nibYTbVT1aKPCV2Yb8eQQAAAAQucQAAAAQucQAAAAQucQAAAAQucQAAAAQucQAAAAQucQAAAAQucQ\nAAAAUp2LYNcaf//977qcf/31V5k///XXX5P3+Ovq1KmjfMYZZyifckplrL0LAACqm/cBsv+dd38v\n1Ps+Tw4BAAAgdA4BAAAglJVzZB8Pe1n4t99+U16/fr3yzJkzlXfu3Jm8v2vXrsq33367cqdOnZTr\n1q17An8xsm2W9/M///xT+Y8//lD2x/uU+0+MH+OVK1cq+5CK7t27K9erV696/jCUya9vWf7951wA\n0uvbL7/8orx8+fLkdWvXrlVu3Lix8hVXXKHctm1bZb8+Rpzc840nhwAAABA6hwAAABDKyjmypcgf\nf/xRec6cOcqvv/668o4dO5S9XBkRsX37duVmzZop33333crZR8r/oJSTtocf2x9++EH53XffVZ4/\nf77yN998k3yWt6WXj8855xzlBx54QNlLAHltFEE7eWly7ty5yhMnTlT2Esozzzyj3L9//+Sziv1Y\nVhU/j37++WflRYsWJa87fPiw8pVXXql8/vnnK596Ks8WqoKfRz/99JPypk2bktc1b968zPf4Ncrv\nNfXr10/ezzl2bLyU7O2yevVq5c8++yx5z759+5S//PJLZe8rDB8+XNmHmUWc3OFNnN0AAAAQOocA\nAAAQysrGHxsfOHAg+bc333xTecaMGcpbtmxR9tnGLVq0SN7vj6G95HbWWWcpjx07tszPKlZePl63\nbp3yE088oeyP8ffu3at85MgR5fJmYp522mnKPsP8hRdeUG7fvr2yP/anrJbykuWaNWuU/VzyNlq8\neLFyv379ks+i5FU1vI12796tPHv27OR1Puty0qRJZWa+/5Xn999/V164cKHyhAkTlP2aFhFx3nnn\nKXfo0EHZ7z2XX3658rBhw5L3e8kS//JzxFcm+e6775T9vu/lfm/HiLQt/N/8+uhDOrzEHBFx5513\nKp955pnK1XF95OwGAACA0DkEAACAFH1Z2UuOvpjl5s2bk9ctWLBA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29EjVkRoFaWLP2e7O1S3sYMeffxAlixo1a2US1DWRkAAADl\no3MIAAAAoXMIAAAAYcxh7VIUY6VqONqo8NFGNQPj2QofbVT4GHMIAACA8tE5BAAAgNA5BAAAgNA5\nBAAAgNA5BAAAgFTnbGUAAAAUOJ4cAgAAQOgcAgAAQOgcAgAAQOgcAgAAQOgcAgAAQOgcAgAAQOgc\nAgAAQOgcAgAAQOgcAgAAQOgcAgAAQOgcAgAAQOgcAgAAQOgcAgAAQOgcAgAAQOgcAgAAQOgcAgAA\nQOgcAgAAQOgcAgAAQOgcAgAAQOgcAgAAQOgcAgAAQOgcAgAAQOgcAgAAQP4HbHadSQTP3jkAAAAA\nSUVORK5CYII=\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7f84623ac278>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAocAAAB8CAYAAAAb3hoRAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAFV1JREFUeJzt3XvszvX/x/GXTkJylmP4RClEaVI6LCraxCRKqTZKVn/o\nj9RYm1hb1jljozWtslprTjM0qdDIKUzlLGdJzhHR4ffHb99Hj9d71/vTJ5/r83F9rut+++uBz/u6\nPt7v63q/X3s9X4dKf//9dwAAAABCCOG8c/0LAAAAIHfQOAQAAIDQOAQAAIDQOAQAAIDQOAQAAIDQ\nOAQAAIDQOAQAAIDQOAQAAIDQOAQAAIDQOAQAAIDQOAQAAIBcUI7vxSbOZa9SFl6D61S2uEa5j2tU\nMZT2OnGNyh7XKPdlvEb0HAIAAEBoHAIAAEBoHAIAAEBoHAIAAEBoHAIAAEBoHAIAAEBoHAIAAEBo\nHAIAAEDKcxHsgvLHH3+k/vm88/5pk19wwQUZ/x4AAGTHX3/9pfznn38qn3/++SU6vlKlf9aK/vvv\nzGtzJ//e/+zPd38tz7mE1ggAAACExiEAAACEsvJZ8K7iX3/9VXnRokXK69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t26NjvFFrf143wPYZ6Gfo9U48uYa5bGM\n14ieQwAAAAiNQwAAAEiFKSujRPKqHJanuEa5L6+ukZfy9+3bp7x06VJln6EZQgg1atRQzuMhGjlz\njfIY1yj3UVYGAABA8WgcAgAAQGgcAgAAQBhzmF/yaqxUnuIa5b6CuEZ+78/hcYXFYTxb7uMa5T7G\nHAIAAKB4NA4BAAAg7HwPAAWogpaSAZQDeg4BAAAgNA4BAAAg5TlbGQAAADmOnkMAAAAIjUMAAAAI\njUMAAAAIjUMAAAAIjUMAAAAIjUMAAAAIjUMAAAAIjUMAAAAIjUMAAAAIjUMAAAAIjUMAAAAIjUMA\nAAAIjUMAAAAIjUMAAAAIjUMAAAAIjUMAAAAIjUMAAAAIjUMAAAAIjUMAAAAIjUMAAAAIjUMAAAAI\njUMAAAAIjUMAAADI/wEKMpu2hAo8pQAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7f846557df60>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "n_iterations = 3\n",
    "n_digits = 6\n",
    "codings_rnd = np.random.normal(size=[n_digits, n_hidden3])\n",
    "\n",
    "with tf.Session() as sess:\n",
    "    saver.restore(sess, \"./my_model_variational.ckpt\")\n",
    "    target_codings = np.roll(codings_rnd, -1, axis=0)\n",
    "    for iteration in range(n_iterations + 1):\n",
    "        codings_interpolate = codings_rnd + (target_codings - codings_rnd) * iteration / n_iterations\n",
    "        outputs_val = outputs.eval(feed_dict={codings: codings_interpolate})\n",
    "        plt.figure(figsize=(11, 1.5*n_iterations))\n",
    "        for digit_index in range(n_digits):\n",
    "            plt.subplot(1, n_digits, digit_index + 1)\n",
    "            plot_image(outputs_val[digit_index])\n",
    "        plt.show()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "collapsed": true
   },
   "source": [
    "# Exercise solutions"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Coming soon..."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.2"
  },
  "nav_menu": {
   "height": "381px",
   "width": "453px"
  },
  "toc": {
   "navigate_menu": true,
   "number_sections": true,
   "sideBar": true,
   "threshold": 6,
   "toc_cell": false,
   "toc_section_display": "block",
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 1
}
