bugfix
This commit is contained in:
parent
c6fb46cf70
commit
17c17ffd0f
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue