Skip to content

Commit f9498b8

Browse files
committed
updated
1 parent 8b8091a commit f9498b8

File tree

3 files changed

+357399
-347928
lines changed

3 files changed

+357399
-347928
lines changed

03 - Geocentric Models.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229516,7 +229516,7 @@
229516229516
},
229517229517
{
229518229518
"cell_type": "code",
229519-
"execution_count": 139,
229519+
"execution_count": null,
229520229520
"metadata": {},
229521229521
"outputs": [],
229522229522
"source": [
@@ -229548,8 +229548,8 @@
229548229548
" axs[1].plot(data.year, B_mat * wp)\n",
229549229549
" axs[1].set(xlabel='Year', ylabel='Basis * Weight') \n",
229550229550
" \n",
229551-
" az.plot_hdi(d2.year, trace_quap.posterior['mu'], smooth=False, color='k', ax=axs[2])\n",
229552-
" axs[2].plot(d2.year, d2.doy, 'o', color='pink', alpha=0.6)\n",
229551+
" az.plot_hdi(data.year, trace_quap.posterior['mu'], smooth=False, color='k', ax=axs[2])\n",
229552+
" axs[2].plot(data.year, data.doy, 'o', color='pink', alpha=0.6)\n",
229553229553
" axs[2].set(xlabel='Year', ylabel='Day in Year')"
229554229554
]
229555229555
},

03b - Geocentric Models.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80038,7 +80038,7 @@
8003880038
},
8003980039
{
8004080040
"cell_type": "code",
80041-
"execution_count": 41,
80041+
"execution_count": null,
8004280042
"metadata": {},
8004380043
"outputs": [
8004480044
{
@@ -82048,16 +82048,16 @@
8204882048
"fig, ax = plt.subplots()\n",
8204982049
"\n",
8205082050
"hdi_1 = az.plot_hdi(weight_seq, pred.predictions[\"height\"], \n",
82051-
" hdi_prob=0.89, smooth=False) \n",
82051+
" hdi_prob=0.89, smooth=False, color='C1') \n",
8205282052
"\n",
8205382053
"hdi_2 = az.plot_hdi(weight_seq, pred.predictions[\"mu\"], \n",
82054-
" hdi_prob=0.89, smooth=False) \n",
82054+
" hdi_prob=0.89, smooth=False, color='green') \n",
8205582055
"\n",
8205682056
"mean_line, = ax.plot(weight_seq, pred.predictions[\"mu\"].mean(axis=1)[0], 'k', label='Mean')\n",
8205782057
"obs_data, = ax.plot(d2.weight, d2.height, 'o', fillstyle='none', label='Observed Data', color='k')\n",
8205882058
"\n",
82059-
"hdi_patch1 = plt.Line2D([0], [1], color='C0', lw=3, label=\"Posterior Predictive Sample\")\n",
82060-
"hdi_patch2 = plt.Line2D([0], [1], color='C1', lw=3, label=\"Uncertainty in Mean\")\n",
82059+
"hdi_patch1 = plt.Line2D([0], [1], color='C1', lw=3, label=\"Posterior Predictive Sample\")\n",
82060+
"hdi_patch2 = plt.Line2D([0], [1], color='green', lw=3, label=\"Uncertainty in Mean\")\n",
8206182061
"\n",
8206282062
"ax.set(xlabel=\"Weight (kg)\",\n",
8206382063
" ylabel=\"Height (cm)\",\n",

0 commit comments

Comments
 (0)