X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;ds=inline;f=word_filter_comparison.ipynb;fp=word_filter_comparison.ipynb;h=9f0374e2899199bed5b13764b660fd2892e85fb6;hb=e3c8d6ea088050f1e0b7bf10f627f41d3397b4cd;hp=04452e62e23444f3b23bc460dfeb0529fcbb54a3;hpb=2b75c2854524fcdd432f4bec0b4b8cc063cab71d;p=cas-master-teacher-training.git

diff --git a/word_filter_comparison.ipynb b/word_filter_comparison.ipynb
index 04452e6..9f0374e 100644
--- a/word_filter_comparison.ipynb
+++ b/word_filter_comparison.ipynb
@@ -1,7 +1,7 @@
 {
  "metadata": {
   "name": "",
-  "signature": "sha256:a0281c893b46c2a49f8ca60a55050ba07e01c477d80741db9e38b50971f0ed34"
+  "signature": "sha256:79decad1a699da8d950a948a249c8270194d5a7efe1d66f65f37c997a74f5325"
  },
  "nbformat": 3,
  "nbformat_minor": 0,
@@ -28,7 +28,7 @@
      "language": "python",
      "metadata": {},
      "outputs": [],
-     "prompt_number": 17
+     "prompt_number": 3
     },
     {
      "cell_type": "markdown",
@@ -50,13 +50,13 @@
       {
        "metadata": {},
        "output_type": "pyout",
-       "prompt_number": 18,
+       "prompt_number": 4,
        "text": [
         "99156"
        ]
       }
      ],
-     "prompt_number": 18
+     "prompt_number": 4
     },
     {
      "cell_type": "markdown",
@@ -82,7 +82,7 @@
      "language": "python",
      "metadata": {},
      "outputs": [],
-     "prompt_number": 19
+     "prompt_number": 5
     },
     {
      "cell_type": "markdown",
@@ -105,7 +105,7 @@
      "language": "python",
      "metadata": {},
      "outputs": [],
-     "prompt_number": 20
+     "prompt_number": 6
     },
     {
      "cell_type": "markdown",
@@ -135,7 +135,7 @@
        ]
       }
      ],
-     "prompt_number": 21
+     "prompt_number": 7
     },
     {
      "cell_type": "code",
@@ -147,7 +147,7 @@
      "language": "python",
      "metadata": {},
      "outputs": [],
-     "prompt_number": 22
+     "prompt_number": 8
     },
     {
      "cell_type": "markdown",
@@ -167,7 +167,7 @@
      "language": "python",
      "metadata": {},
      "outputs": [],
-     "prompt_number": 23
+     "prompt_number": 9
     },
     {
      "cell_type": "markdown",
@@ -199,7 +199,7 @@
      "language": "python",
      "metadata": {},
      "outputs": [],
-     "prompt_number": 24
+     "prompt_number": 10
     },
     {
      "cell_type": "markdown",
@@ -227,7 +227,7 @@
      "language": "python",
      "metadata": {},
      "outputs": [],
-     "prompt_number": 25
+     "prompt_number": 11
     },
     {
      "cell_type": "markdown",
@@ -240,7 +240,9 @@
       "\n",
       "We can also look at performance: which is the fastest?\n",
       "\n",
-      "Use the IPython timing cell-magic to find out. We'll also use an `assert`ion to check that all the approaches give the same answer."
+      "Use the IPython timing cell-magic to find out. We'll also use an `assert`ion to check that all the approaches give the same answer.\n",
+      "\n",
+      "You'll have to run the notebook to find the answer. Which do you think would be these fastest, or the slowest?"
      ]
     },
     {
@@ -256,13 +258,13 @@
       {
        "metadata": {},
        "output_type": "pyout",
-       "prompt_number": 38,
+       "prompt_number": 12,
        "text": [
         "62856"
        ]
       }
      ],
-     "prompt_number": 38
+     "prompt_number": 12
     },
     {
      "cell_type": "code",
@@ -274,16 +276,7 @@
      ],
      "language": "python",
      "metadata": {},
-     "outputs": [
-      {
-       "output_type": "stream",
-       "stream": "stdout",
-       "text": [
-        "10 loops, best of 3: 70.2 ms per loop\n"
-       ]
-      }
-     ],
-     "prompt_number": 48
+     "outputs": []
     },
     {
      "cell_type": "code",
@@ -295,16 +288,7 @@
      ],
      "language": "python",
      "metadata": {},
-     "outputs": [
-      {
-       "output_type": "stream",
-       "stream": "stdout",
-       "text": [
-        "10 loops, best of 3: 59.4 ms per loop\n"
-       ]
-      }
-     ],
-     "prompt_number": 40
+     "outputs": []
     },
     {
      "cell_type": "code",
@@ -316,16 +300,7 @@
      ],
      "language": "python",
      "metadata": {},
-     "outputs": [
-      {
-       "output_type": "stream",
-       "stream": "stdout",
-       "text": [
-        "10 loops, best of 3: 107 ms per loop\n"
-       ]
-      }
-     ],
-     "prompt_number": 41
+     "outputs": []
     },
     {
      "cell_type": "code",
@@ -337,16 +312,7 @@
      ],
      "language": "python",
      "metadata": {},
-     "outputs": [
-      {
-       "output_type": "stream",
-       "stream": "stdout",
-       "text": [
-        "10 loops, best of 3: 107 ms per loop\n"
-       ]
-      }
-     ],
-     "prompt_number": 42
+     "outputs": []
     },
     {
      "cell_type": "code",
@@ -358,16 +324,7 @@
      ],
      "language": "python",
      "metadata": {},
-     "outputs": [
-      {
-       "output_type": "stream",
-       "stream": "stdout",
-       "text": [
-        "10 loops, best of 3: 174 ms per loop\n"
-       ]
-      }
-     ],
-     "prompt_number": 43
+     "outputs": []
     },
     {
      "cell_type": "code",
@@ -379,16 +336,7 @@
      ],
      "language": "python",
      "metadata": {},
-     "outputs": [
-      {
-       "output_type": "stream",
-       "stream": "stdout",
-       "text": [
-        "10 loops, best of 3: 86.6 ms per loop\n"
-       ]
-      }
-     ],
-     "prompt_number": 45
+     "outputs": []
     },
     {
      "cell_type": "code",
@@ -400,16 +348,7 @@
      ],
      "language": "python",
      "metadata": {},
-     "outputs": [
-      {
-       "output_type": "stream",
-       "stream": "stdout",
-       "text": [
-        "10 loops, best of 3: 30.4 ms per loop\n"
-       ]
-      }
-     ],
-     "prompt_number": 46
+     "outputs": []
     },
     {
      "cell_type": "code",
@@ -417,8 +356,7 @@
      "input": [],
      "language": "python",
      "metadata": {},
-     "outputs": [],
-     "prompt_number": 46
+     "outputs": []
     }
    ],
    "metadata": {}