Conditional density estimation tools in python and R with applications to photometric redshifts and likelihood-free cosmological inference (2019-08-30T00:00:00.000000Z)