"examples/vscode:/vscode.git/clone" did not exist on "7e5587a5ac07be5621bfbbe24868b79e1cd0aede"
Commit 2756d49a authored by Mark Daoust's avatar Mark Daoust
Browse files

fix-links, switch to TensoFlow activations.

parent ef727e2d
......@@ -5,8 +5,6 @@
"colab": {
"name": "basic_classification.ipynb",
"version": "0.3.2",
"views": {},
"default_view": {},
"provenance": [],
"private_outputs": true,
"collapsed_sections": [],
......@@ -32,13 +30,7 @@
"metadata": {
"id": "_ckMIh7O7s6D",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
},
"cellView": "form"
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -61,13 +53,7 @@
"metadata": {
"id": "vasWnqRgy1H4",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
},
"cellView": "form"
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -114,10 +100,10 @@
"cell_type": "markdown",
"source": [
"<table align=\"left\"><td>\n",
"<a target=\"_blank\" href=\"https://colab.sandbox.google.com/github/tensorflow/models/blob/master/samples/core/get_started/basic-classification.ipynb\">\n",
"<a target=\"_blank\" href=\"https://colab.sandbox.google.com/github/tensorflow/models/blob/master/samples/core/get_started/basic_classification.ipynb\">\n",
" <img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a> \n",
"</td><td>\n",
"<a target=\"_blank\" href=\"https://github.com/tensorflow/models/blob/master/samples/core/get_started/basic-classification.ipynb\"><img width=32px src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on Github</a></td></table>\n"
"<a target=\"_blank\" href=\"https://github.com/tensorflow/models/blob/master/samples/core/get_started/basic_classification.ipynb\"><img width=32px src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on Github</a></td></table>\n"
]
},
{
......@@ -136,12 +122,7 @@
"metadata": {
"id": "dzLKpmZICaWN",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -198,12 +179,7 @@
"metadata": {
"id": "7MqDQO0KCaWS",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -282,12 +258,7 @@
"metadata": {
"id": "IjnLH5S2CaWx",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -313,12 +284,7 @@
"metadata": {
"id": "zW5k_xz1CaWX",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -341,12 +307,7 @@
"metadata": {
"id": "TRFYHB2mCaWb",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -369,12 +330,7 @@
"metadata": {
"id": "XKnCTHz4CaWg",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -397,12 +353,7 @@
"metadata": {
"id": "2KFnYlcwCaWl",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -425,12 +376,7 @@
"metadata": {
"id": "iJmPr5-ACaWn",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -455,12 +401,7 @@
"metadata": {
"id": "m4VEw8Ud9Quh",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -486,12 +427,7 @@
"metadata": {
"id": "DSD9qKcqCaWs",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -517,12 +453,7 @@
"metadata": {
"id": "bW5WzIPlCaWv",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -547,12 +478,7 @@
"metadata": {
"id": "oZTImqg_CaW1",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -601,19 +527,14 @@
"metadata": {
"id": "9ODch-OFCaW4",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
"model = keras.Sequential([\n",
" keras.layers.Flatten(input_shape=(28, 28)),\n",
" keras.layers.Dense(128, activation='relu'),\n",
" keras.layers.Dense(10, activation='softmax')\n",
" keras.layers.Dense(128, activation=tf.nn.relu),\n",
" keras.layers.Dense(10, activation=tf.nn.softmax)\n",
"])"
],
"execution_count": 0,
......@@ -643,12 +564,7 @@
"metadata": {
"id": "Lhan11blCaW7",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -681,12 +597,7 @@
"metadata": {
"id": "xvwvpA64CaW_",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -721,12 +632,7 @@
"metadata": {
"id": "VflXLEeECaXC",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -763,12 +669,7 @@
"metadata": {
"id": "Gl91RPhdCaXI",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -791,12 +692,7 @@
"metadata": {
"id": "3DmJEUinCaXK",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -819,12 +715,7 @@
"metadata": {
"id": "qsqenuPnCaXO",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -847,12 +738,7 @@
"metadata": {
"id": "Sd7Pgsu6CaXP",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -875,12 +761,7 @@
"metadata": {
"id": "YGBDAiziCaXR",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -921,12 +802,7 @@
"metadata": {
"id": "yRJ7JU7JCaXT",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -952,12 +828,7 @@
"metadata": {
"id": "lDFh5yF_CaXW",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -983,12 +854,7 @@
"metadata": {
"id": "o_rzNSdrCaXY",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -1013,12 +879,7 @@
"metadata": {
"id": "2tRmdq_8CaXb",
"colab_type": "code",
"colab": {
"autoexec": {
"startup": false,
"wait_interval": 0
}
}
"colab": {}
},
"cell_type": "code",
"source": [
......@@ -1038,6 +899,19 @@
"source": [
"And, as before, the model predicts a label of 9."
]
},
{
"metadata": {
"id": "fzHAx2M99WCd",
"colab_type": "code",
"colab": {}
},
"cell_type": "code",
"source": [
""
],
"execution_count": 0,
"outputs": []
}
]
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment