From 635bde18d1d8fe22004a539e8fe4a41370c72c28 Mon Sep 17 00:00:00 2001 From: Lee Stott Date: Fri, 3 Oct 2025 15:17:54 +0100 Subject: [PATCH 1/2] fix #250 --- lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb b/lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb index 54ad4e59..0b14423d 100644 --- a/lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb +++ b/lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb @@ -624,7 +624,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": null, "metadata": { "slideshow": { "slide_type": "slide" @@ -633,7 +633,7 @@ "outputs": [], "source": [ "# If you are not running this notebook from a cloned repository, you may need to grab the binary dataset file first\n", - "# !wget https://github.com/microsoft/AI-For-Beginners/blob/main/data/mnist.pkl.gz?raw=true\n", + "# !wget https://github.com/microsoft/AI-For-Beginners/raw/c639951043c67fe7862f5c236d1e4f0cdf68202c/data/mnist.pkl.gz?raw=true\n", "# In this case correct the link to the dataset below as well.\n", "\n", "with gzip.open('../../data/mnist.pkl.gz', 'rb') as mnist_pickle:\n", @@ -1077,4 +1077,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} \ No newline at end of file +} From 23e23f7ea6f3aa6d1fd17ea62d3ae3e9c8cb4419 Mon Sep 17 00:00:00 2001 From: Lee Stott Date: Fri, 3 Oct 2025 16:01:10 +0100 Subject: [PATCH 2/2] Update lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb b/lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb index 0b14423d..3d3f57ac 100644 --- a/lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb +++ b/lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb @@ -633,7 +633,7 @@ "outputs": [], "source": [ "# If you are not running this notebook from a cloned repository, you may need to grab the binary dataset file first\n", - "# !wget https://github.com/microsoft/AI-For-Beginners/raw/c639951043c67fe7862f5c236d1e4f0cdf68202c/data/mnist.pkl.gz?raw=true\n", + "# !wget https://github.com/microsoft/AI-For-Beginners/raw/main/data/mnist.pkl.gz?raw=true\n", "# In this case correct the link to the dataset below as well.\n", "\n", "with gzip.open('../../data/mnist.pkl.gz', 'rb') as mnist_pickle:\n",