Skip to content

Commit 33a8dfd

Browse files
committed
Updating defaults in DEMCz and DEMCzs. Improved NUTS sampler to find a reasonable epsilon and adapte the mass matrix.
1 parent b350468 commit 33a8dfd

3 files changed

Lines changed: 382 additions & 31 deletions

File tree

Numerics/Sampling/MCMC/DEMCz.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public DEMCz(List<IUnivariateDistribution> priorDistributions, LogLikelihood log
7878
_b = new Normal(0, _noise);
7979
}
8080

81-
private double _noise = 1E-3;
81+
private double _noise = 1E-12;
8282
private Normal _b;
8383

8484
/// <summary>

Numerics/Sampling/MCMC/DEMCzs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public DEMCzs(List<IUnivariateDistribution> priorDistributions, LogLikelihood lo
8080
_g = new Uniform(1.2, 2.2);
8181
}
8282

83-
private double _noise = 1E-3;
83+
private double _noise = 1E-12;
8484
private Normal _b;
8585
private Uniform _g;
8686

0 commit comments

Comments
 (0)