Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pymc/step_methods/metropolis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ class DEMetropolisZ(ArrayStepShared):
"accept": (np.float64, []),
"accepted": (bool, []),
"tune": (bool, []),
"scaling": (np.float64, []),
"scaling": (np.float64, [None]),
"lambda": (np.float64, []),
}

Expand Down Expand Up @@ -1214,7 +1214,7 @@ def astep(self, q0: RaveledVars) -> tuple[RaveledVars, StatsType]:

stats = {
"tune": self.tune,
"scaling": self.scaling,
"scaling": np.mean(self.scaling),
"lambda": self.lamb,
"accept": np.exp(accept),
"accepted": accepted,
Expand Down