You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Latin hypercube sampler for Prior.draw (#521)
* Using Latin hypercube sampler instead for `Prior.draw`
* Testing sampling that sampling does not crash in the continous integration tests
---------
Co-authored-by: Tuomo Salmi <t.h.j.salmi@uva.nl>
Co-authored-by: Tuomo Salmi <tuomo.salmi@helsinki.fi>
Copy file name to clipboardExpand all lines: CHANGELOG.rst
+39-1Lines changed: 39 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,43 @@ and this project adheres to
33
33
.. Attribution
34
34
.. ^^^^^^^^^^^
35
35
36
+
37
+
[v3.0.6] - 2025-05-12
38
+
~~~~~~~~~~~~~~~~~~~~~
39
+
40
+
Summary
41
+
^^^^^^^
42
+
43
+
* Drawing samples from prior to now use Latin hypercube sampler (LHS) to more uniformly draw samples over high-dimensions.
44
+
45
+
Added
46
+
^^^^^
47
+
48
+
* Continuous integration test for sampling with UltraNest added.
49
+
50
+
Changed
51
+
^^^^^^^
52
+
53
+
* `Prior.draw` modified to use `scipy.stats.qmc.LatinHypercube` instead of `numpy.random.rand` for drawing samples from prior distribution.
54
+
* `Prior.estimate_hypercube_frac` modified to accept the kwarg `LHS_seed` to enable reproducible LHS.
55
+
* `Prior.unit_hypercube_frac` modified to accept the kwarg `LHS_seed` to enable reproducible LHS.
56
+
* `NestedSampler.__call__` accepts `LHS_seed` as a kwarg to passs to `Prior.unit_hypercube_frac`
57
+
* `examples/examples_fast/Sampling.ipynb`: `runtime_params` includes a fixed `LHS_seed`.
58
+
* `examples.examples_fast.Modules.main_IS_likelihood.runtime_params` includes a fixed `LHS_seed`.
59
+
* `examples.examples_fast.Modules.main_IS_prior.runtime_params` includes a fixed `LHS_seed`.
60
+
* `examples.examples_fast.Modules.main.runtime_params` includes a fixed `LHS_seed`.
61
+
* `examples.examples_modeling_tutorial.TestRun_BB.runtime_params` includes a fixed `LHS_seed`.
62
+
* `examples.examples_modeling_tutorial.TestRun_Num.runtime_params` includes a fixed `LHS_seed`.
63
+
* `examples.examples_modeling_tutorial.TestRun_NumBeam.runtime_params` includes a fixed `LHS_seed`.
64
+
* `examples.examples_modeling_tutorial.TestRun_PolNum_split_inference.runtime_params` includes a fixed `LHS_seed`.
65
+
66
+
Attribution
67
+
^^^^^^^^^^^
68
+
69
+
Devarshi Choudhury
70
+
Tuomo Salmi
71
+
72
+
36
73
[v3.0.5] - 2025-03-19
37
74
~~~~~~~~~~~~~~~~~~~~~
38
75
@@ -42,7 +79,7 @@ Summary
42
79
* Issues with phase bin interpolations were fixed when using the time-invariant version of the Everywhere class.
43
80
44
81
Fixed
45
-
^^^^^^^
82
+
^^^^^
46
83
47
84
* Phase bin interpolations are now skipped if having only one phase bin during the likelihood calculation (``xpsi/likelihoods/default_background_marginalisation.pyx``) or during the data synthesisation (``xpsi/tools/synthesise.pyx``). Previously, these resulted in errors.
0 commit comments