Add updated hw2num6.ipynb

This commit is contained in:
snoopy0328
2025-02-22 16:50:36 -05:00
parent 2a28f13ef3
commit 6497e9103f
+2 -2
View File
@@ -29,8 +29,8 @@
"priors = np.linspace(0, 1, 100)\n",
"posteriors = posterior(priors, SENSITIVITY, SPECIFICITY)\n",
"\n",
"plt.figure(figsize=(6, 4))\n",
"plt.plot(priors, posteriors)\n",
"plt.figure(figsize=(10, 10))\n",
"plt.plot(priors, posteriors, color = 'purple')\n",
"plt.xlim(0, 1) \n",
"plt.ylim(0, 1)\n",
"plt.xlabel('Prior')\n",