{
"cells": [
{
"cell_type": "markdown",
"id": "e5d62ccb",
"metadata": {},
"source": [
"Lecture 11: Deep Learning DL1 (exercises)"
]
},
{
"cell_type": "markdown",
"id": "2152cca6",
"metadata": {},
"source": [
"**HOW TO RUN THIS NOTEBOOK**:
\n",
"1) if TF installed locally
\n",
" activate the conda environment in which you installed Tensor Flow (e.g., \"tf\"), and launch jupyter & this notebook from it:
\n",
" ```shell\n",
" $ conda activate tf\n",
" $ jupyter notebook\n",
" ```
\n",
"2) if using GoogleColab
\n",
" simply open this notebook
\n",
" NB: see GoogleDrive (valade@igeofisica.unam.mx) > Colab Notebooks > CV4GS"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**TF Machine Learning [Glossary](https://developers.google.com/machine-learning/glossary#logits)**"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Initialize"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "f5abe018",
"metadata": {},
"outputs": [],
"source": [
"import tensorflow as tf\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"print(tf.__version__)\n",
"print(tf.keras.__version__)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# MLP (MNIST fashion dataset)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"