Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
pre-commit-ci[bot] committed Sep 15, 2024

Verified

This commit was signed with the committer’s verified signature.
Murderlon Merlijn Vos
1 parent 9041d11 commit 8cd796f
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion pymc_experimental/distributions/timeseries.py
Original file line number Diff line number Diff line change
@@ -279,7 +279,6 @@ def discrete_mc_logp(op, values, P, steps, init_dist, state_rng, **kwargs):


class DiscreteMarkovChainGibbsMetropolis(CategoricalGibbsMetropolis):

name = "discrete_markov_chain_gibbs_metropolis"

def __init__(self, vars, proposal="uniform", order="random", model=None):
1 change: 0 additions & 1 deletion tests/distributions/test_discrete_markov_chain.py
Original file line number Diff line number Diff line change
@@ -223,7 +223,6 @@ def test_change_size_univariate(self):
assert tuple(new_rw.shape.eval()) == (4, 3, 100, 5)

def test_mcmc_sampling(self):

with pm.Model(coords={"step": range(100)}) as model:
init_dist = Categorical.dist(p=[0.5, 0.5])
DiscreteMarkovChain(

0 comments on commit 8cd796f

Please sign in to comment.