{ "nbformat": 4, "nbformat_minor": 0, "metadata": { "colab": { "name": "IST718_WK9_Keras.ipynb", "provenance": [] }, "kernelspec": { "name": "python3", "display_name": "Python 3" } }, "cells": [ { "cell_type": "code", "metadata": { "id": "lRZ3lcbIQscb", "colab_type": "code", "outputId": "3922ce43-4709-44db-a4b9-98b1edf8891c", "colab": { "base_uri": "https://localhost:8080/", "height": 80 } }, "source": [ "# BASIC WALK THROUGH FOR MNIST NN\n", "# BASED ON KERAS TUTORIALS (2019)\n", "\n", "from keras.datasets import mnist\n", "from keras.models import Sequential\n", "from keras.layers import Dense\n", "from keras.layers import Dropout\n", "from keras.utils import np_utils\n", "import matplotlib.pyplot as plt" ], "execution_count": 0, "outputs": [ { "output_type": "stream", "text": [ "Using TensorFlow backend.\n" ], "name": "stderr" }, { "output_type": "display_data", "data": { "text/html": [ "
\n",
"The default version of TensorFlow in Colab will soon switch to TensorFlow 2.x.
\n",
"We recommend you upgrade now \n",
"or ensure your notebook will continue to use TensorFlow 1.x via the %tensorflow_version 1.x
magic:\n",
"more info.