With this PR I add the possibility to both plot a vp with vp.plot() (the vp.plot() can be styled. See the documentation for that.) and also to plot a whole vbmc iteration run with the new function create_vbmc_animation(). (See the gif below).
Other changes include:
save the gp as an object variable to the vp
save the logging_action to the iteration_history (useful for plotting).
Note that the creation of the gif requires the package imageio, doing the same with matploblib was not possible for me.
@lacerbi Let me know if that is a problem. Maybe we can figure out a better way. Also not sure how to test that function.
With this PR I add the possibility to both plot a vp with
vp.plot()
(thevp.plot()
can be styled. See the documentation for that.) and also to plot a whole vbmc iteration run with the new functioncreate_vbmc_animation()
. (See the gif below).Other changes include:
gp
as an object variable to thevp
logging_action
to theiteration_history
(useful for plotting).Note that the creation of the gif requires the package
imageio
, doing the same with matploblib was not possible for me. @lacerbi Let me know if that is a problem. Maybe we can figure out a better way. Also not sure how to test that function.