Cosmo-learn: code for learning cosmology using different methods and mock data

Read full text
Authors: Reginald Christian Bernardo, Daniela Grandón, Jackson Levi Said, Víctor H. Cárdenas, Gene Carlo Belinario, Reinabelle Reyes
Cited by: 0
References: 166

Abstract

Abstract We present , an open-source -based software package designed to simulate cosmological data and perform data-driven inference using a range of modern statistical and machine learning techniques. Motivated by the growing complexity of cosmological models and the emergence of observational tensions, provides a standardized and flexible framework for benchmarking cosmological inference methods. The package supports realistic noise modeling for key observables in the late Universe, including cosmic chronometers, supernovae Ia, baryon acoustic oscillations, redshift space distortions, and gravitational wave bright sirens. We demonstrate the internal consistency of the simulated data with the input cosmology via residuals and parameter recovery using a fiducial w CDM model. Built-in learning and inference modules include traditional Markov Chain Monte Carlo, as well as more recent approaches such as genetic algorithms, Gaussian processes, Bayesian ridge regression, and artificial neural networks. These methods are implemented in a modular and extensible architecture designed to facilitate comparisons across inference strategies in a common pipeline. By providing a flexible and transparent simulation and learning environment, supports both educational and research efforts at the intersection of cosmology, statistics, and machine learning.

Fields of Study & Subjects

Computational Physics and Python Applications Big Data Technologies and Applications

Publication details

Journal / source
The European Physical Journal C
Publisher
Springer Science and Business Media LLC
Volume
86
Issue
7
Publication date
9 July 2026
Language
EN