Skip to content

Commit

Permalink
updated notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
buehlpa committed Mar 26, 2024
1 parent 8a1108d commit 292bf11
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 91 deletions.
6 changes: 3 additions & 3 deletions notebooks/14_poisreg_with_tfp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@
"plt.subplot(1,2,1)\n",
"plt.stem(x_ax,probs[31,:],use_line_collection=True)\n",
"plt.xticks(x_ax)\n",
"plt.vlines(np.expand_dims(y_val,axis=1)[31], ymin=0, ymax=probs[31,np.int(y_val[31])],linestyle='dotted',color=\"purple\",linewidth=4)\n",
"plt.vlines(np.expand_dims(y_val,axis=1)[31], ymin=0, ymax=probs[31,int(y_val[31])],linestyle='dotted',color=\"purple\",linewidth=4)\n",
"\n",
"plt.xlabel('Number of Events')\n",
"plt.ylabel('Probability')\n",
Expand All @@ -784,7 +784,7 @@
"plt.subplot(1,2,2)\n",
"plt.stem(x_ax,probs[33,:],use_line_collection=True)\n",
"plt.xticks(x_ax)\n",
"plt.vlines(np.expand_dims(y_val,axis=1)[33], ymin=0, ymax=probs[33,np.int(y_val[33])],linestyle='dotted',color=\"purple\",linewidth=4)\n",
"plt.vlines(np.expand_dims(y_val,axis=1)[33], ymin=0, ymax=probs[33,int(y_val[33])],linestyle='dotted',color=\"purple\",linewidth=4)\n",
"plt.xlabel('Number of Events')\n",
"plt.ylabel('Probability')\n",
"plt.title('val observation 33, observed fish=0')\n",
Expand Down Expand Up @@ -827,7 +827,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.11"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 292bf11

Please sign in to comment.