From eddf03be3c84dd4ed774e29877c5941d7d1c550f Mon Sep 17 00:00:00 2001 From: Ricardo Vieira Date: Thu, 23 May 2024 12:20:33 +0200 Subject: [PATCH] Remove unused test models --- tests/models.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tests/models.py b/tests/models.py index e1688a69614..58f023af8f9 100644 --- a/tests/models.py +++ b/tests/models.py @@ -83,17 +83,6 @@ def simple_init(): return model, start, step, moments -def simple_2model(): - mu = -2.1 - tau = 1.3 - p = 0.4 - with Model() as model: - x = pm.Normal("x", mu, tau=tau, initval=0.1) - pm.Deterministic("logx", pt.log(x)) - pm.Bernoulli("y", p) - return model.initial_point(), model - - def simple_2model_continuous(): mu = -2.1 tau = 1.3 @@ -176,13 +165,6 @@ def non_normal(n=2): return model.initial_point(), model, (np.tile([0.5], n), None) -def exponential_beta(n=2): - with pm.Model() as model: - pm.Beta("x", 3, 1, size=n, transform=None) - pm.Exponential("y", 1, size=n, transform=None) - return model.initial_point(), model, None - - def beta_bernoulli(n=2): with pm.Model() as model: pm.Beta("x", 3, 1, size=n, transform=None)