- NUTSKernel.tune(prng_key, kernel_state, model_state, epoch, history)#
The method can perform automatic tuning of the kernel and is called after each adaptation epoch.
To tune the kernel, the method can return an altered kernel state.
Must be jittable.
Any) – The key for JAX’ pseudo-random number generator.
Any) – Current model state.
EpochState) – Current epoch state.
Any])]) – Holds the history of the position of the current epoch, i.e., that is the position but each leave in the pytree is enhanced by one dimension (axis = 0) which represents the time or MCMC iteration. The value may be
Noneif the class variable
- Return type: