From f1c4898432d1834caea28f9d157aa8f115782fcd Mon Sep 17 00:00:00 2001 From: philastrophist Date: Wed, 28 Sep 2016 16:14:14 +0100 Subject: [PATCH] Define MvNormal with `tau` instead of `cov` --- pymc3/examples/LKJ_correlation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymc3/examples/LKJ_correlation.py b/pymc3/examples/LKJ_correlation.py index 3d87839728..3d4429c6c1 100644 --- a/pymc3/examples/LKJ_correlation.py +++ b/pymc3/examples/LKJ_correlation.py @@ -44,7 +44,7 @@ cov_matrix = tt.diag(sigma).dot(corr_matrix.dot(tt.diag(sigma))) - like = MvNormal('likelihood', mu=mu, cov=cov_matrix, observed=dataset) + like = MvNormal('likelihood', mu=mu, tau=matrix_inverse(cov_matrix), observed=dataset) def run(n=1000):