arrow
Return

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

delete2026-07-09
delete0
delete
OA
AI
R
Reginald Christian Bernardo *
D
Daniela Grandón
J
Jackson Levi Said
V
Víctor H. Cárdenas
G
Gene Carlo Belinario
R
Reinabelle Reyes
DOI:10.1140/epjc/s10052-026-15981-wdelete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
We present cosmo_learn, an open-source python-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, cosmo_learn 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 wCDM 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, cosmo_learn supports both educational and research efforts at the intersection of cosmology, statistics, and machine learning.

Journal

European Physical Journal C cover
European Physical Journal C
IF:
4.8
Papers:
1.9W
Citations:
4.7W

Organization

I
Institute of Space Sciences and Astronomy
Scholars:
4
Papers: 4
Citations: 0
N
National Institute of Physics
Scholars:
12
Papers: 18
Citations: 0
I
instituto de física y astronomía
Scholars:
9
Papers: 8
Citations: 1
M
max planck institute for gravitational physics
Scholars:
41
Papers: 11
Citations: 0
researcher View more organizations
Cited Papers

Cited Papers

emcee: The MCMC Hammer
err2013-03-01
err1.0W
errOAAI
errForeman-Mackey, Daniel; Hogg, David W.; Lang, Dustin; Goodman, Jonathan
errShare
errSave
Forecasting F(Q) cosmology with ΛCDM background using standard sirens
err2022-06-27
err0
errOAAI
errJosé Ferreira; Tiago Barreiro; José Mimoso; Nelson J. Nunes
errShare
errSave
Cosmological backgrounds of gravitational waves
err2018-07-18
err672
errOAAI
errCaprini, Chiara; Figueroa, Daniel G.
errShare
errSave
Array programming with NumPy
err2020-09-16
err0
errOAAI
errCharles R. Harris; K. Jarrod Millman; Stéfan J. van der Walt; Ralf Gommers; Pauli Virtanen; David Cournapeau; Eric Wieser; Julian Taylor; Sebastian Berg; Nathaniel J. Smith; Robert Kern; Matti Picus; Stephan Hoyer; Marten H. van Kerkwijk; Matthew Brett; Allan Haldane; Jaime Fernández del Río; Mark Wiebe; Pearu Peterson; Pierre Gérard-Marchant; Kevin Sheppard; Tyler Reddy; Warren Weckesser; Hameer Abbasi; Christoph Gohlke; Travis E. Oliphant
errShare
errSave
Completed SDSS-IV extended Baryon Oscillation Spectroscopic Survey: Cosmological implications from two decades of spectroscopic surveys at the Apache Point Observatory
err2021-04-28
err0
errOAAI
errShadab Alam; Marie Aubert; Santiago Avila; Christophe Balland; Julian E. Bautista; Matthew A. Bershady; Dmitry Bizyaev; Michael R. Blanton; Adam S. Bolton; Jo Bovy; Jonathan Brinkmann; Joel R. Brownstein; Etienne Burtin; Solène Chabanier; Michael J. Chapman; Peter Doohyun Choi; Chia-Hsun Chuang; Johan Comparat; Marie-Claude Cousinou; Andrei Cuceu; Kyle S. Dawson; Sylvain de la Torre; Arnaud de Mattia; Victoria de Sainte Agathe; Hélion du Mas des Bourboux; Stephanie Escoffier; Thomas Etourneau; James Farr; Andreu Font-Ribera; Peter M. Frinchaboy; Sebastien Fromenteau; Héctor Gil-Marín; Jean-Marc Le Goff; Alma X. Gonzalez-Morales; Violeta Gonzalez-Perez; Kathleen Grabowski; Julien Guy; Adam J. Hawken; Jiamin Hou; Hui Kong; James Parker; Mark Klaene; Jean-Paul Kneib; Sicheng Lin; Daniel Long; Brad W. Lyke; Axel de la Macorra; Paul Martini; Karen Masters; Faizan G. Mohammad; Jeongin Moon; Eva-Maria Mueller; Andrea Muñoz-Gutiérrez; Adam D. Myers; Seshadri Nadathur; Richard Neveux; Jeffrey A. Newman; Pasquier Noterdaeme; Audrey Oravetz; Daniel Oravetz; Nathalie Palanque-Delabrouille; Kaike Pan; Romain Paviot; Will J. Percival; Ignasi Pérez-Ràfols; Patrick Petitjean; Matthew M. Pieri; Abhishek Prakash; Anand Raichoor; Corentin Ravoux; Mehdi Rezaie; James Rich; Ashley J. Ross; Graziano Rossi; Rossana Ruggeri; Vanina Ruhlmann-Kleider; Ariel G. Sánchez; F. Javier Sánchez; José R. Sánchez-Gallego; Conor Sayres; Donald P. Schneider; Hee-Jong Seo; Arman Shafieloo; Anže Slosar; Alex Smith; Julianna Stermer; Amelie Tamone; Jeremy L. Tinker; Rita Tojeiro; Mariana Vargas-Magaña; Andrei Variu; Yuting Wang; Benjamin A. Weaver; Anne-Marie Weijmans; Christophe Yèche; Pauline Zarrouk; Cheng Zhao; Gong-Bo Zhao; Zheng Zheng
errShare
errSave
researcher View more