Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Commit

Permalink
pin jupytext (#238)
Browse files Browse the repository at this point in the history
* pin jupytext

Signed-off-by: Niels Bantilan <[email protected]>

* update

Signed-off-by: Niels Bantilan <[email protected]>

* update

Signed-off-by: Niels Bantilan <[email protected]>

* update

Signed-off-by: Niels Bantilan <[email protected]>

* update

Signed-off-by: Niels Bantilan <[email protected]>

---------

Signed-off-by: Niels Bantilan <[email protected]>
  • Loading branch information
cosmicBboy authored Sep 27, 2023
1 parent 16bd40f commit 7781297
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 59 deletions.
36 changes: 18 additions & 18 deletions docs/notebooks/mnist.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"cells": [
{
"cell_type": "markdown",
"id": "4798d95a2aa741e49bf5ad316d92320a",
"id": "01154f26a6249ac45bcb99b52dc62edc",
"metadata": {},
"source": [
"# MNIST: Digits Classification"
]
},
{
"cell_type": "markdown",
"id": "9b87507ae43f2a53ade1732aef459954",
"id": "80b224e799809080245ff42e3473caad",
"metadata": {
"tags": [
"add-colab-badge"
Expand All @@ -22,7 +22,7 @@
},
{
"cell_type": "markdown",
"id": "8a98b0c432c8aa1addbd7c375393c1a5",
"id": "e5107d09a39303dc2d4b81a90d4e654d",
"metadata": {},
"source": [
"The MNIST dataset is considered to be the \"hello world\" dataset of machine\n",
Expand All @@ -42,7 +42,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6218ce653dbc9305d4c6a323308a6de4",
"id": "4c55c692f122036284f4d6abde0f5511",
"metadata": {
"tags": [
"remove-cell"
Expand All @@ -56,7 +56,7 @@
},
{
"cell_type": "markdown",
"id": "2a5fe5a56a3579bd6eac791774214d37",
"id": "e0e0a1d3d2c9e8afd2c904d23ea04f02",
"metadata": {
"tags": [
"remove-cell"
Expand All @@ -70,7 +70,7 @@
},
{
"cell_type": "markdown",
"id": "2e3848974c88806207b69f4b2db8dab9",
"id": "d020351036eb08909fe3187a6323da11",
"metadata": {},
"source": [
"## Setup and importing libraries\n",
Expand All @@ -81,7 +81,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "7107ee82571c64ff67175678f96f7286",
"id": "e0a632a42854103508f91edc9b71526c",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -103,7 +103,7 @@
},
{
"cell_type": "markdown",
"id": "c5c1e2d27147ca3be50d5a50dc6fd692",
"id": "c66517ee95c79135e221eba94fa62708",
"metadata": {},
"source": [
"Let's break down the code cell above.\n",
Expand All @@ -129,7 +129,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "5942db20bd08b3dc154be6981b65f80b",
"id": "f9c1ba180838f8f654a491176de92545",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -142,7 +142,7 @@
},
{
"cell_type": "markdown",
"id": "94b609f8782897a85c3a178bfc94bcb4",
"id": "2734de543c70efa2ad650172cc9f4504",
"metadata": {},
"source": [
"We do this so we don't have to re-download the dataset it every time we need to\n",
Expand All @@ -156,7 +156,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6fc2ab05dacbcf86e4a5b510c3c91348",
"id": "4273543faba4b63c1fc75715788a8a51",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -211,7 +211,7 @@
},
{
"cell_type": "markdown",
"id": "a846e3f8c24799b0c13bdcaa43b27771",
"id": "ce2ad477df7ec7a8bd1c816b3a8a2239",
"metadata": {},
"source": [
"The `Dataset` and `Model` objects expose function decorators where we define\n",
Expand All @@ -236,7 +236,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b16f523c696bf4020c865c84311876cc",
"id": "0cee1a9484d2fa222ed791a0cfc82abc",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -252,7 +252,7 @@
},
{
"cell_type": "markdown",
"id": "181110f25a9900a68af89efafe88194f",
"id": "b3decdb95a6e6f62592c457c16d64ecb",
"metadata": {},
"source": [
"Note that we pass a dictionary of `hyperparameters` when we invoke\n",
Expand All @@ -273,7 +273,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "3ac4c807a1c06e7c190bf05e557982af",
"id": "44521a73476d5d8da885fa92cda10ccf",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -291,7 +291,7 @@
},
{
"cell_type": "markdown",
"id": "ca1faf97556cdf19364962acfc0a826d",
"id": "fa7cc47ee6d5a8eba53f15a96907e5bd",
"metadata": {},
"source": [
"We also need to take care to handle the `None` case when we press the `clear`\n",
Expand All @@ -301,7 +301,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "875ff8a49e9ce31289f264d95df720b1",
"id": "c12eb3c990be632d6adee545373204d3",
"metadata": {
"tags": [
"remove-output"
Expand All @@ -322,7 +322,7 @@
},
{
"cell_type": "markdown",
"id": "025b1a6a6396ab9ecb09b68a35b4d1de",
"id": "329484c84f9d053cf599334478606c25",
"metadata": {},
"source": [
"You might notice that the model may not perform as well as you might expect...\n",
Expand Down
Loading

0 comments on commit 7781297

Please sign in to comment.