This commit is contained in:
Alejandro Moreo Fernandez 2026-01-11 19:07:01 +01:00
parent c6fb46cf70
commit 17c17ffd0f
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ class BayesianKDEy(AggregativeSoftQuantifier, KDEBase, WithConfidenceABC):
if alpha is not None:
alpha = jnp.asarray(alpha)
numpyro.factor(
'log_prior', dist.Dirichlet(alpha.log_prob(prev))
'log_prior', dist.Dirichlet(alpha).log_prob(prev)
)
# if alpha is None, then this corresponds to a weak logistic-normal prior