diff --git a/knowledge.ipynb b/knowledge.ipynb index c21de646c..2f4276452 100644 --- a/knowledge.ipynb +++ b/knowledge.ipynb @@ -1233,10 +1233,8 @@ ] }, { - "cell_type": "code", - "execution_count": null, + "cell_type": "markdown", "metadata": {}, - "outputs": [], "source": [ "Lets look at the pseudocode for this algorithm" ] diff --git a/learning_apps.ipynb b/learning_apps.ipynb index 339d407a2..bff723050 100644 --- a/learning_apps.ipynb +++ b/learning_apps.ipynb @@ -93,7 +93,7 @@ "Training images size: (60000, 784)\n", "Training labels size: (60000,)\n", "Testing images size: (10000, 784)\n", - "Training labels size: (10000,)\n" + "Testing labels size: (10000,)\n" ] } ], @@ -101,7 +101,7 @@ "print(\"Training images size:\", train_img.shape)\n", "print(\"Training labels size:\", train_lbl.shape)\n", "print(\"Testing images size:\", test_img.shape)\n", - "print(\"Training labels size:\", test_lbl.shape)" + "print(\"Testing labels size:\", test_lbl.shape)" ] }, { diff --git a/probability.ipynb b/probability.ipynb index 028c17bde..58e9b1994 100644 --- a/probability.ipynb +++ b/probability.ipynb @@ -1728,6 +1728,7 @@ } ], "source": [ + "umbrella_prior = [0.5, 0.5]\n", "belief_day_1 = forward(hmm, umbrella_prior, ev=True)\n", "print ('The probability of raining on day 1 is {:.2f}'.format(belief_day_1[0]))" ]