Skip to content

Harry45/DESEMU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 14, 2024
be725f5 · May 14, 2024
May 7, 2024
Jan 24, 2024
Apr 15, 2024
Apr 30, 2024
May 14, 2024
May 14, 2024
Jan 24, 2024
Jan 24, 2024
May 14, 2024
May 14, 2024
May 14, 2024
Jan 24, 2024
May 8, 2024
Jan 24, 2024
May 8, 2024
May 7, 2024
Apr 26, 2024
May 14, 2024
May 13, 2024
Jan 24, 2024
May 13, 2024
Apr 9, 2024
May 14, 2024
May 14, 2024
May 7, 2024
May 14, 2024
Jan 24, 2024
Jan 24, 2024
Jan 24, 2024
May 14, 2024
May 14, 2024
Jan 24, 2024
Apr 11, 2024
May 14, 2024

Repository files navigation

Emulation and Assessment of Gradient-Based samplers in Cosmology

We integrate an emulator of the linear matter power spectrum in JAX-COSMO and we test the performance of difference samplers:

  1. Cobaya
  2. NUTS

Reference Papers

Running the Samplers

  • For running NUTS:
python sample.py --config=config.py:desyr1 --config.sampler=nuts --config.nuts.nwarmup=100 --config.nuts.nsamples=15000 --config.nuts.nchain=2 --config.nuts.chainmethod=vectorized --config.use_emu=False --config.samplername=1
  • For running Cobaya:
python samplecobaya.py

but we have to specify the setup (for example, number of samples) in the script first.

  • For the Multivariate Normal Distribution and the Rosenbrock function, the notebooks rosenbrock.ipynb and multivariate.ipynb are used.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published