Extracting cosmological parameters from N-body simulations using machine learning techniques

Andrei Lazanu
6/21/2021
astro-ph.CO

Official code: andreilazanu/nbody_params (2 stars, Jupyter Notebook, GPL-3.0, last commit 2025-06-10).

Abstract

We make use of snapshots taken from the Quijote suite of simulations, consisting of 2000 simulations where five cosmological parameters have been varied ($Ω_m$, $Ω_b$, $h$, $n_s$ and $σ_8$) in order to investigate the possibility of determining them using machine learning techniques. In particular, we show that convolutional neural networks can be employed to accurately extract $Ω_m$ and $σ_8$ from the N-body simulations, and that these parameters can also be found from the non-linear matter power spectrum obtained from the same suite of simulations using both random forest regressors and deep neural networks.

Show full abstract

We show that the power spectrum provides competitive results in terms of accuracy compared to using the simulations and that we can also estimate the scalar spectral index $n_s$ from the power spectrum, at a lower precision.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Python notebooks for 2106.11061 (Extracting cosmological parameters from N-body simulations using machine learning techniques)

20Jupyter NotebookApr 27, 20221 years agoGPL-3.0

Similar Papers

Cite this paper

@article{lazanu2021extracting,
  title  = {Extracting cosmological parameters from N-body simulations using machine learning techniques},
  author = {Andrei Lazanu},
  year   = {2021},
  eprint = {2106.11061},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.11061}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.11061.svg)](https://codeofpaper.com/paper/2106.11061)

Discussion