blackjax.adaptation.laps_burn_in#
Classes#
Functions#
|
|
|
Equivalent to |
|
MCLMC kernel (with nan rejection) |
|
initialize the chains based on the equipartition of the initial condition. |
|
|
|
|
|
|
|
Ei = E_ensemble (- grad log p_i x_i ). Ei is 1 if we have converged. |
|
loss = Tr[(1 - E)^T (1 - E)] / d^2 |
|
Module Contents#
- initialize(rng_key, logdensity_fn, microcanonical, sample_init, num_chains, mesh, superchain_size)[source]#
initialize the chains based on the equipartition of the initial condition. We initialize the velocity along grad log p if E_ii > 1 and along -grad log p if E_ii < 1.
- equipartition_diagonal(state)[source]#
Ei = E_ensemble (- grad log p_i x_i ). Ei is 1 if we have converged. equipartition_loss = average over parameters (Ei)
- equipartition_fullrank(state, rng_key)[source]#
loss = Tr[(1 - E)^T (1 - E)] / d^2 where Eij = <xi gj> is the equipartition patrix. Loss is computed with the Hutchinson’s trick.