From 8366f5dbf0bfdd291f7b91a5ace06299bb0c0f69 Mon Sep 17 00:00:00 2001 From: ggsavin Date: Mon, 19 Feb 2024 15:53:02 -0500 Subject: [PATCH] some diff stats --- notebooks/oracle.ipynb | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/notebooks/oracle.ipynb b/notebooks/oracle.ipynb index 65ed713..b8a75ec 100644 --- a/notebooks/oracle.ipynb +++ b/notebooks/oracle.ipynb @@ -176,7 +176,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -253,14 +253,14 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Without Oracle wins : 0.61 \n", + "Without Oracle wins : 0.50 \n", "\n" ] }, @@ -268,7 +268,7 @@ "name": "stderr", "output_type": "stream", "text": [ - "100%|██████████| 10/10 [36:38<00:00, 219.86s/it]\n" + "100%|██████████| 10/10 [59:26<00:00, 356.60s/it]\n" ] } ], @@ -281,7 +281,7 @@ "\n", "num_times=1000\n", "vill_vote = [1, 0]\n", - "p = [0.0,0.5,1.0]\n", + "p = [0.0,0.1,0.25,0.5,1.0]\n", "oracle_res = []\n", "o_results = {}\n", "for i in tqdm(range(10)):\n", @@ -319,21 +319,25 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 6, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "{'1_0.0': array([0.4565 , 0.51248379, 0.22238384, 0.45998759, 0.3514 ]),\n", - " '1_0.5': array([0.4498 , 0.48570549, 0.23497028, 0.46977154, 0.3644 ]),\n", - " '1_1.0': array([0.4356 , 0.47607341, 0.24376224, 0.48497113, 0.3799 ]),\n", - " '0_0.0': array([0.569 , 0.62276081, 0.13006722, 0.38740495, 0.241 ]),\n", - " '0_0.5': array([0.5584 , 0.63083329, 0.13991254, 0.39401212, 0.2522 ]),\n", - " '0_1.0': array([0.5407 , 0.62655096, 0.1402842 , 0.39408828, 0.2569 ])}" + "{'1_0.0': array([0.4689 , 0.50212659, 0.22653579, 0.47013819, 0.356 ]),\n", + " '1_0.1': array([0.4564 , 0.4898928 , 0.23214383, 0.4737518 , 0.3636 ]),\n", + " '1_0.25': array([0.4514 , 0.50123822, 0.2251709 , 0.46715183, 0.3578 ]),\n", + " '1_0.5': array([0.454 , 0.48411129, 0.25032666, 0.47108699, 0.3708 ]),\n", + " '1_1.0': array([0.4265 , 0.47689904, 0.23619892, 0.48494381, 0.3789 ]),\n", + " '0_0.0': array([0.5662 , 0.61665431, 0.13866849, 0.37912698, 0.2431 ]),\n", + " '0_0.1': array([0.5615 , 0.63052377, 0.13926032, 0.37996565, 0.2449 ]),\n", + " '0_0.25': array([0.5664 , 0.62205198, 0.14267496, 0.36943212, 0.2409 ]),\n", + " '0_0.5': array([0.5573 , 0.61248884, 0.13968953, 0.38808688, 0.2498 ]),\n", + " '0_1.0': array([0.5405 , 0.61099891, 0.14263409, 0.3921046 , 0.2573 ])}" ] }, - "execution_count": 19, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" }