Closed mvsoom closed 2 years ago
This is because jaxns is in release candidate for 1.0.0 and the examples require 1.0.0. I'm about 99% happy with the code, and will push to pip today I think. This addresses the dynamic_update_slice
problem too which is because jax updated their API.
That's great! Thanks.
I just installed jaxns with
pip install jaxns
and running Python 3.8.10.I'm trying to run https://github.com/Joshuaalbert/jaxns/blob/master/examples/gaussian_processes/gaussian_process_marginalisation.ipynb.
I'm getting a lot of ImportErrors when I run the following cell:
This works after changing this to
However, when I run
run_for_kernel(RBF())
, I get the following error:I tried looking around in the source code and in the repository history for a fix, but found nothing. How can I fix this, or what is the equivalent call to
PriorChain()
without the context?p.s.: The bleeding-edge
pip install git+http://github.com/Joshuaalbert/jaxns.git
version gives an unrelated import error: