Skip to main content

No project description provided

Project description

pz-rail-tpz

Template codecov PyPI

"Lite" version of Matias Carrasco-Kind's TPZ (Trees for Photo-z) regression-tree-based photo-z code. This initial version only implements the regression-tree mode, it does not implement the classification tree or SOM-based photo-z estimators. All credit on algorithm development and initial coding goes to Matias Carrasco-Kind.

If you use TPZ for any publication, in addition to RAIL, you should cite Matias' TPZ paper: Carrasco Kind, M., & Brunner, R. J., 2013 “TPZ : Photometric redshift PDFs and ancillary information by using prediction trees and random forests”, MNRAS, 432, 1483 Link

For more details on the algorith, see Matias's MLZ website: http://matias-ck.com/mlz/

For the regression tree mode, the current implementation includes generation of "random" data via Gaussian scatter on each of the attributes that contain an uncertainty, but it does not implement the out-of-bag error or varImportance sampling that are included in the full MLZ/TPZ package.

RAIL: Redshift Assessment Infrastructure Layers

This package is part of the larger ecosystem of Photometric Redshifts in RAIL.

Citing RAIL

This code, while public on GitHub, has not yet been released by DESC and is still under active development. Our release of v1.0 will be accompanied by a journal paper describing the development and validation of RAIL.

If you make use of the ideas or software in RAIL, please cite the repository https://github.com/LSSTDESC/RAIL. You are welcome to re-use the code, which is open source and available under terms consistent with the MIT license.

External contributors and DESC members wishing to use RAIL for non-DESC projects should consult with the Photometric Redshifts (PZ) Working Group conveners, ideally before the work has started, but definitely before any publication or posting of the work to the arXiv.

Citing this package

If you use this package, you should also cite the appropriate papers for each code used. A list of such codes is included in the Citing RAIL section of the main RAIL Read The Docs page.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pz_rail_tpz-1.1.2.tar.gz (90.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pz_rail_tpz-1.1.2-py3-none-any.whl (76.1 kB view details)

Uploaded Python 3

File details

Details for the file pz_rail_tpz-1.1.2.tar.gz.

File metadata

  • Download URL: pz_rail_tpz-1.1.2.tar.gz
  • Upload date:
  • Size: 90.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pz_rail_tpz-1.1.2.tar.gz
Algorithm Hash digest
SHA256 2c66ba68c66a3cf83020e04e3d3f31170ad9fc07239d88d61d1e952907dbb607
MD5 2fc8181c5ac198a3aaf59a7539c6c05f
BLAKE2b-256 8b442a4d9cca3cf3fde9f24068fa381a6078dd02c8089b587b29e968fcb8e7c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pz_rail_tpz-1.1.2.tar.gz:

Publisher: publish-to-pypi.yml on LSSTDESC/rail_tpz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pz_rail_tpz-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: pz_rail_tpz-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 76.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pz_rail_tpz-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b8ca66c0796cacb1ef1690c84a72026a065756b91f86944d8a256a57fcc86539
MD5 1fbe9d90c1cda56a8628f1f5ad5a89ff
BLAKE2b-256 8b9d551e3fd8fb9fb097a119b972e8e6e6bb5fd0301f5c08579be7b4793089dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for pz_rail_tpz-1.1.2-py3-none-any.whl:

Publisher: publish-to-pypi.yml on LSSTDESC/rail_tpz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page