Thompson sampling example

It’s accessing hidden variables needed for updates so that the Beta draws change everytime the function is evaluated. This isn’t needed if you use pymc.pytensorf.compile_pymc instead of pytensor.function, as the pymc helper takes care of that automatically.

1 Like