We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fb5807 commit 3544ae1Copy full SHA for 3544ae1
pymc3/step_methods/hmc/base_hmc.py
@@ -101,8 +101,8 @@ def __init__(
101
# XXX: If the dimensions of these terms change, the step size
102
# dimension-scaling should change as well, no?
103
test_point = self._model.initial_point
104
- continuous_vars = [test_point[v.name] for v in self._model.cont_vars]
105
- size = sum(v.size for v in continuous_vars)
+ nuts_vars = [test_point[v.name] for v in vars]
+ size = sum(v.size for v in nuts_vars)
106
107
self.step_size = step_scale / (size ** 0.25)
108
self.step_adapt = step_sizes.DualAverageAdaptation(
0 commit comments