Skip to content

Commit 0779b6e

Browse files
added docstring for _precision_mv_normal_logp
1 parent af61cf7 commit 0779b6e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pymc_extras/model/marginal/distributions.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,18 @@ def step_alpha(logp_emission, log_alpha, log_P):
395395

396396

397397
def _precision_mv_normal_logp(value, mean, tau):
398+
"""
399+
Compute the log likelihood of a multivariate normal distribution in precision form. May be phased out - see https://github.com/pymc-devs/pymc/pull/7895
400+
401+
Parameters
402+
----------
403+
value: TODO
404+
Query point to compute the log prob at.
405+
mean: TODO
406+
Mean vector of the Gaussian,
407+
tau: TODO
408+
Precision matrix of the Gaussian (i.e. cov = inv(tau))
409+
"""
398410
k = value.shape[-1].astype("floatX")
399411

400412
delta = value - mean

0 commit comments

Comments
 (0)