Conditional Density Estimation Tools in Python and R with Applications to Photometric Redshifts and Likelihood-Free Cosmological Inference
Not on the map. Why?
Abstract (arXiv)
It is well known in astronomy that propagating non-Gaussian prediction uncertainty in photometric redshift estimates is key to reducing bias in downstream cosmological analyses. Similarly, likelihood-free inference approaches, which are beginning to emerge as a tool for cosmological analysis, require a characterization of the full uncertainty landscape of the parameters of interest given observed data. However, most machine learning (ML) or training-based methods with open-source software target point prediction or classification, and hence fall short in quantifying uncertainty in complex regression and parameter inference settings. As an alternative to methods that focus on predicting the response (or parameters) y from features x, we provide nonparametric conditional density estimation (CDE) tools for approximating and validating the entire probability density function (PDF) p(y|x) of y given (i.e., conditional on) x. As there is no one-size-fits-all CDE method, the goal of this work is to provide a comprehensive range of statistical tools and open-source software for nonparametric CDE and method assessment which can accommodate different types of settings and be easily fit to the problem at hand. Specifically, we introduce four CDE software packages in textttPython and textttR based on ML prediction methods adapted and optimized for CDE: textttNNKCDE, textttRFCDE, textttFlexCode, and textttDeepCDE. Furthermore, we present the textttcdetools package, which includes functions for computing a CDE loss function for tuning and assessing the quality of individual PDFs, along with diagnostic functions. We provide sample code in textttPython and textttR as well as examples of applications to photometric redshift estimation and likelihood-free cosmological inference via CDE.
Key facts. Cited by 21 papers in the map (data through 14 Oct 2026). First posted on arXiv 30 Aug 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 5; 2023: 3; 2024: 2; 2025: 3; 2026: 4.
21 papers.
Sort:
- 2021Conformal Prediction using Conditional Histogramscited by 77
- 2023Sampling-Based Accuracy Testing of Posterior Estimators for General Inferencecited by 46
- 2022Truncated proposals for scalable and hassle-free simulation-based inferencecited by 41
- 2021Wasserstein Generative Learning of Conditional Distributioncited by 24
- 2021Quantifying Epistemic Uncertainty in Deep Learningcited by 10
- 2022Towards Instance-Wise Calibration: Local Amortized Diagnostics and Reshaping of Conditional Densities (LADaR)cited by 10
- 2022Evaluating Aleatoric Uncertainty via Conditional Generative Modelscited by 10
- 2023Efficient Uncertainty Quantification and Reduction for Over-Parameterized Neural Networkscited by 10
- 2025Epistemic Uncertainty in Conformal Scores: A Unified Approachcited by 9
- 2022Optimal Treatment Regimes for Proximal Causal Learningcited by 5
- 2021Re-calibrating Photometric Redshift Probability Distributions Using Feature-space Regressioncited by 3
- 2024Schr"odinger bridge based deep conditional generative learningcited by 3
9 more
- 2026Generative and Nonparametric Approaches for Conditional Distribution Estimation: Methods, Perspectives, and Comparative Evaluationscited by 1
- 2026CONTRA: Conformal Prediction Region via Normalizing Flow Transformationcited by 1
- 2022MCD: Marginal Contrastive Discrimination for conditional density estimationcited by 0
- 2023Flexible conditional density estimation for time seriescited by 0
- 2024Non-parametric efficient estimation of marginal structural models with multi-valued time-varying treatmentscited by 0
- 2025Determination of galaxy photometric redshifts using Conditional Generative Adversarial Networks (CGANs)cited by 0
- 2025Mantis Shrimp: Exploring Photometric Band Utilization in Computer Vision Networks for Photometric Redshift Estimationcited by 0
- 2026Photometric Redshift Estimation Using Scaled Ensemble Learningcited by 0
- 2026LOCUS: A Distribution-Free Loss-Quantile Score for Risk-Aware Predictionscited by 0
- 2026CONTRA: Conformal Prediction Region via Normalizing Flow Transformation8 May 2026
- 2026LOCUS: A Distribution-Free Loss-Quantile Score for Risk-Aware Predictions2 Mar 2026
- 2026Generative and Nonparametric Approaches for Conditional Distribution Estimation: Methods, Perspectives, and Comparative Evaluations30 Jan 2026
- 2026Photometric Redshift Estimation Using Scaled Ensemble Learning12 Jan 2026
- 2025Epistemic Uncertainty in Conformal Scores: A Unified Approach10 Feb 2025
- 2025Mantis Shrimp: Exploring Photometric Band Utilization in Computer Vision Networks for Photometric Redshift Estimation15 Jan 2025
- 2025Determination of galaxy photometric redshifts using Conditional Generative Adversarial Networks (CGANs)11 Jan 2025
- 2024Non-parametric efficient estimation of marginal structural models with multi-valued time-varying treatments27 Sep 2024
- 2024Schr"odinger bridge based deep conditional generative learning25 Sep 2024
- 2023Efficient Uncertainty Quantification and Reduction for Over-Parameterized Neural Networks9 Jun 2023
- 2023Sampling-Based Accuracy Testing of Posterior Estimators for General Inference6 Feb 2023
- 2023Flexible conditional density estimation for time series23 Jan 2023
9 more
- 2022Optimal Treatment Regimes for Proximal Causal Learning19 Dec 2022
- 2022Truncated proposals for scalable and hassle-free simulation-based inference10 Oct 2022
- 2022Evaluating Aleatoric Uncertainty via Conditional Generative Models9 Jun 2022
- 2022MCD: Marginal Contrastive Discrimination for conditional density estimation3 Jun 2022
- 2022Towards Instance-Wise Calibration: Local Amortized Diagnostics and Reshaping of Conditional Densities (LADaR)29 May 2022
- 2021Wasserstein Generative Learning of Conditional Distribution19 Dec 2021
- 2021Re-calibrating Photometric Redshift Probability Distributions Using Feature-space Regression28 Oct 2021
- 2021Quantifying Epistemic Uncertainty in Deep Learning23 Oct 2021
- 2021Conformal Prediction using Conditional Histograms18 May 2021
- 2021Conformal Prediction using Conditional Histogramscited by 77
- 2023Sampling-Based Accuracy Testing of Posterior Estimators for General Inferencecited by 46
- 2022Truncated proposals for scalable and hassle-free simulation-based inferencecited by 41
- 2021Wasserstein Generative Learning of Conditional Distributioncited by 24
- 2021Quantifying Epistemic Uncertainty in Deep Learningcited by 10
- 2022Towards Instance-Wise Calibration: Local Amortized Diagnostics and Reshaping of Conditional Densities (LADaR)cited by 10
- 2022Evaluating Aleatoric Uncertainty via Conditional Generative Modelscited by 10
- 2023Efficient Uncertainty Quantification and Reduction for Over-Parameterized Neural Networkscited by 10
- 2025Epistemic Uncertainty in Conformal Scores: A Unified Approachcited by 9
- 2022Optimal Treatment Regimes for Proximal Causal Learningcited by 5
- 2021Re-calibrating Photometric Redshift Probability Distributions Using Feature-space Regressioncited by 3
- 2024Schr"odinger bridge based deep conditional generative learningcited by 3
12 most cited of 21 All 21 (JSON)
- 2026CONTRA: Conformal Prediction Region via Normalizing Flow Transformation8 May 2026
- 2026LOCUS: A Distribution-Free Loss-Quantile Score for Risk-Aware Predictions2 Mar 2026
- 2026Generative and Nonparametric Approaches for Conditional Distribution Estimation: Methods, Perspectives, and Comparative Evaluations30 Jan 2026
- 2026Photometric Redshift Estimation Using Scaled Ensemble Learning12 Jan 2026
- 2025Epistemic Uncertainty in Conformal Scores: A Unified Approach10 Feb 2025
- 2025Mantis Shrimp: Exploring Photometric Band Utilization in Computer Vision Networks for Photometric Redshift Estimation15 Jan 2025
- 2025Determination of galaxy photometric redshifts using Conditional Generative Adversarial Networks (CGANs)11 Jan 2025
- 2024Non-parametric efficient estimation of marginal structural models with multi-valued time-varying treatments27 Sep 2024
- 2024Schr"odinger bridge based deep conditional generative learning25 Sep 2024
- 2023Efficient Uncertainty Quantification and Reduction for Over-Parameterized Neural Networks9 Jun 2023
- 2023Sampling-Based Accuracy Testing of Posterior Estimators for General Inference6 Feb 2023
- 2023Flexible conditional density estimation for time series23 Jan 2023
12 newest of 21 All 21 (JSON)