{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/re-calibrating-photometric-redshift","title":"Re-calibrating Photometric Redshift Probability Distributions Using Feature-space Regression","arxiv_id":"2110.15209","date":"2021-10-28","proceeding":null,"authors":["Biprateep Dey","Jeffrey A. Newman","Brett H. Andrews","Rafael Izbicki","Ann B. Lee","David Zhao","Markus Michael Rau","Alex I. Malz"],"abstract":"Many astrophysical analyses depend on estimates of redshifts (a proxy for distance) determined from photometric (i.e., imaging) data alone. Inaccurate estimates of photometric redshift uncertainties can result in large systematic errors. However, probability distribution outputs from many photometric redshift methods do not follow the frequentist definition of a Probability Density Function (PDF) for redshift -- i.e., the fraction of times the true redshift falls between two limits $z_{1}$ and $z_{2}$ should be equal to the integral of the PDF between these limits. Previous works have used the global distribution of Probability Integral Transform (PIT) values to re-calibrate PDFs, but offsetting inaccuracies in different regions of feature space can conspire to limit the efficacy of the method. We leverage a recently developed regression technique that characterizes the local PIT distribution at any location in feature space to perform a local re-calibration of photometric redshift PDFs. Though we focus on an example from astrophysics, our method can produce PDFs which are calibrated at all locations in feature space for any use case.","url_abs":"https://arxiv.org/abs/2110.15209v2","url_pdf":"https://arxiv.org/pdf/2110.15209v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"re-calibrating-photometric-redshift","repo_url":"https://github.com/biprateep/recalibrate-pdfs","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2110.15209","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2110.15209"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/biprateep/recalibrate-pdfs","reach":null}],"summary":{"ran":3,"ran_fixture":1,"unverified":3},"by_repo_kind":{"official":{"samples":7,"ran":4,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"c02da8be211d4251","entry":"Isplines","repo":"biprateep/recalibrate-pdfs","repo_kind":"official","path":"ispline.py","file_url":"https://github.com/biprateep/recalibrate-pdfs/blob/HEAD/ispline.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c02da8be211d4251"}},{"code_sha256_prefix":"9ee5a587b795b84d","entry":"Isplines_total","repo":"biprateep/recalibrate-pdfs","repo_kind":"official","path":"ispline.py","file_url":"https://github.com/biprateep/recalibrate-pdfs/blob/HEAD/ispline.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9ee5a587b795b84d"}},{"code_sha256_prefix":"bda3086687175468","entry":"Msplines","repo":"biprateep/recalibrate-pdfs","repo_kind":"official","path":"ispline.py","file_url":"https://github.com/biprateep/recalibrate-pdfs/blob/HEAD/ispline.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bda3086687175468"}},{"code_sha256_prefix":"071595a465a0e639","entry":"get_pit","repo":"biprateep/recalibrate-pdfs","repo_kind":"official","path":"utils.py","file_url":"https://github.com/biprateep/recalibrate-pdfs/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"071595a465a0e639"}},{"code_sha256_prefix":"6123de5164f85ae8","entry":"fit_cdf","repo":"biprateep/recalibrate-pdfs","repo_kind":"official","path":"ispline.py","file_url":"https://github.com/biprateep/recalibrate-pdfs/blob/HEAD/ispline.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6123de5164f85ae8"}},{"code_sha256_prefix":"e520d66149ead061","entry":"get_pdf","repo":"biprateep/recalibrate-pdfs","repo_kind":"official","path":"ispline.py","file_url":"https://github.com/biprateep/recalibrate-pdfs/blob/HEAD/ispline.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e520d66149ead061"}},{"code_sha256_prefix":"b72b57ef2469de38","entry":"plot_pit","repo":"biprateep/recalibrate-pdfs","repo_kind":"official","path":"utils.py","file_url":"https://github.com/biprateep/recalibrate-pdfs/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b72b57ef2469de38"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}