A machine learning toolkit for Eventdisplay
Project description
Machine learning for Eventdisplay
Toolkit to interface and run machine learning methods together with the Eventdisplay software package for gamma-ray astronomy data analysis.
Provides examples on how to use e.g., scikit-learn or XGBoost regression trees to estimate event direction, energies, and gamma/hadron separators.
Introduces a Python environment and a scripts directory to support training and inference.
Input is provided through the mscw output (data trees).
Direction and energy reconstruction using XGBoost
Stereo analysis methods implemented in Eventdisplay provide direction / energies per event resp telescope image. The machine learner implemented Eventdisplay-ML uses XGB Boost regression trees. Features are all estimators (e.g. DispBDT or intersection method results) plus additional features (mostly image parameters) to get a better estimator for directions and energies.
Output is a single ROOT tree called StereoAnalysis with the same number of events as the input tree.
Gamma/hadron separation using XGBoost
Gamma/hadron separation is performed using XGB Boost classification trees. Features are image parameters and stereo reconstruction parameters provided by Eventdisplay. Training is performed in overlapping energy bins to account for energy dependence of the classification. The zenith angle dependence is accounted for by including the zenith angle as a binned feature in the training.
Output is a single ROOT tree called Classification with the same number of events as the input tree. It contains the classification prediction (Gamma_Prediction) and boolean flags (e.g. Is_Gamma_75 for 75% signal efficiency cut).
Citing this Software
Please cite this software if it is used for a publication, see the Zenodo record and CITATION.cff for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eventdisplay_ml-0.4.0.tar.gz.
File metadata
- Download URL: eventdisplay_ml-0.4.0.tar.gz
- Upload date:
- Size: 32.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c70408d8184a6b09961ef17ff92ccaadc80754a578899414f5036388858331a8
|
|
| MD5 |
0e40ba0692b71dbdc050979a9367e466
|
|
| BLAKE2b-256 |
22059bfa84e7f4d94c813eec4288634b7fe659088f5a814905dbceb2422811b9
|
Provenance
The following attestation bundles were made for eventdisplay_ml-0.4.0.tar.gz:
Publisher:
pypi.yml on Eventdisplay/Eventdisplay-ML
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eventdisplay_ml-0.4.0.tar.gz -
Subject digest:
c70408d8184a6b09961ef17ff92ccaadc80754a578899414f5036388858331a8 - Sigstore transparency entry: 836504660
- Sigstore integration time:
-
Permalink:
Eventdisplay/Eventdisplay-ML@389fcaa3339f7606551208534c00cb1585c6b805 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/Eventdisplay
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@389fcaa3339f7606551208534c00cb1585c6b805 -
Trigger Event:
release
-
Statement type:
File details
Details for the file eventdisplay_ml-0.4.0-py3-none-any.whl.
File metadata
- Download URL: eventdisplay_ml-0.4.0-py3-none-any.whl
- Upload date:
- Size: 30.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b956fffb24fd520d66b2977c3545b727d84912fc4be0682268e9f07e8e2046ea
|
|
| MD5 |
b6dd4c274580d55a9654bd965eba32d3
|
|
| BLAKE2b-256 |
8eceae2e26132f999fe23d6fafac0c3ad8aae92f6d3b0fd58cfeccdd14cd009b
|
Provenance
The following attestation bundles were made for eventdisplay_ml-0.4.0-py3-none-any.whl:
Publisher:
pypi.yml on Eventdisplay/Eventdisplay-ML
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eventdisplay_ml-0.4.0-py3-none-any.whl -
Subject digest:
b956fffb24fd520d66b2977c3545b727d84912fc4be0682268e9f07e8e2046ea - Sigstore transparency entry: 836504664
- Sigstore integration time:
-
Permalink:
Eventdisplay/Eventdisplay-ML@389fcaa3339f7606551208534c00cb1585c6b805 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/Eventdisplay
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@389fcaa3339f7606551208534c00cb1585c6b805 -
Trigger Event:
release
-
Statement type: