From a0d996cbdc2695b40a53f8ecdaa8f446e50a8f58 Mon Sep 17 00:00:00 2001 From: ligerfotis Date: Thu, 30 Mar 2023 11:57:05 +0200 Subject: [PATCH] update bonus for assignment 2 --- assignment 3/bonus_unsloved.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assignment 3/bonus_unsloved.ipynb b/assignment 3/bonus_unsloved.ipynb index 431d143..0aec138 100644 --- a/assignment 3/bonus_unsloved.ipynb +++ b/assignment 3/bonus_unsloved.ipynb @@ -25,8 +25,8 @@ " # Shuffle the deck of cards\n", " random.shuffle(self.cards)\n", " # Initialize the prior probability\n", - "\n", - " # code missing here\n", + " self.prior_red = 0.5\n", + " self.likelihood = 0.5\n", "\n", "\n", " def draw_card(self, index):\n",