Skip to content

Commit

Permalink
Remove unused test models
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 committed May 23, 2024
1 parent fd11cf0 commit eddf03b
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions tests/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit eddf03b

Please sign in to comment.