Returns the differential entropy of the conditional mixture \(g_{Y \mid X
= x}\) obtained from gmm_conditionalise() – the predictive uncertainty of
the target coordinates given the conditioned ones. The order-2 Renyi entropy
is closed-form; order = "shannon" falls back to Monte Carlo. Multiple
conditioning configurations are evaluated row-by-row.
Usage
gmm_conditional_entropy(
g,
given,
order = c("renyi2", "shannon"),
n_mc = 5000L,
seed = NULL
)Arguments
- g
- given
Either a numeric vector with one entry per coordinate, or a matrix whose rows are such vectors.
NAmarks a target (kept) coordinate; a numeric value conditions on that coordinate (thegmm_conditionalise()convention).- order
"renyi2"(closed-form, the default) or"shannon".- n_mc, seed
Passed to
gmm_entropy()fororder = "shannon".
Value
A numeric scalar for a single configuration, or a numeric vector
with one entropy per row of given.