Commit 5d8c423e authored by Bentriou Mahmoud's avatar Bentriou Mahmoud

fix in plots of third notebook

parent ed3f850c
......@@ -23,6 +23,7 @@
"parametric_SIR = ParametricModel(SIR, (:ki, Uniform(0.001, 0.0015)))\n",
"\n",
"vec_observations = [simulate(SIR)]\n",
"\n",
"function dist_obs(vec_sim::Vector{Trajectory}, vec_observations::Vector{Trajectory})\n",
" return dist_lp(vec_sim[1], vec_observations[1]; p=2)\n",
"end\n",
......@@ -40,8 +41,15 @@
"outputs": [],
"source": [
"using Plots\n",
"histogram(res_abc.mat_p_end, weights = res_abc.weights_end)"
"histogram(vec(res_abc.mat_p_end), weights = res_abc.weights)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment