File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ class DIMEMove(RedBlueMove):
4141 probability to draw an adaptive independence Metropolis Hastings (AIMH) proposal. By default this is set to :math:`0.1`.
4242 df_proposal_dist : float, optional
4343 degrees of freedom of the multivariate t distribution used for AIMH proposals. Defaults to :math:`10`.
44+ rho : float, optional
45+ decay parameter for the aimh proposal mean and covariances. Defaults to :math:`0.999`.
4446 """
4547
4648 def __init__ (
@@ -110,8 +112,7 @@ def update_proposal_dist(self, x):
110112 np .exp (self .cumlweight - newcumlweight ) * self .prop_mean
111113 + np .exp (lweight - newcumlweight ) * nmean
112114 )
113- # self.cumlweight = newcumlweight + np.log(self.decay)
114- self .cumlweight = newcumlweight
115+ self .cumlweight = newcumlweight + np .log (self .decay )
115116
116117 def get_proposal (self , x , xref , random ):
117118 """Actual proposal function
You can’t perform that action at this time.
0 commit comments