https://github.com/arogozhnikov/hep_ml
Machine Learning for High Energy Physics.
Science Score: 59.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
✓Committers with academic emails
4 of 13 committers (30.8%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (17.0%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Machine Learning for High Energy Physics.
Basic Info
- Host: GitHub
- Owner: arogozhnikov
- License: other
- Language: Jupyter Notebook
- Default Branch: master
- Homepage: https://arogozhnikov.github.io/hep_ml/
- Size: 92.5 MB
Statistics
- Stars: 192
- Watchers: 16
- Forks: 66
- Open Issues: 24
- Releases: 12
Topics
Metadata Files
README.md
hep_ml
hep_ml provides specific machine learning tools for purposes of high energy physics.

Notes
Jul 2025: 🎉 hepml v0.8.0: code and examples modernized (courtesy of Jonas Eschle), now `hepml` works with python 3.9-3.13.
Main features
- uniform classifiers - the classifiers with low correlation of predictions and mass (or some other variable, or even set of variables)
- uBoost optimized implementation inside
- UGradientBoosting (with different losses, specially FlatnessLoss is of high interest)
- measures of uniformity (see hep_ml.metrics)
- advanced losses for classification, regression and ranking for UGradientBoosting (see hep_ml.losses).
- hep_ml.reweight - reweighting multidimensional distributions
(multi here means 2, 3, 5 and more dimensions - see GBReweighter!) - hep_ml.splot - minimalistic sPlot-ting
- hep_ml.speedup - building models for fast classification (Bonsai BDT)
- sklearn-compatibility of estimators.
Installation
Plain and simple:
bash
pip install hep_ml
If you're new to python and never used pip, first install scikit-learn with these instructions.
Links
- documentation
- notebooks, code examples
- you may need to install
ROOTanduprootto run those
- you may need to install
- repository
- issue tracker
Related projects
Libraries you'll require to make your life easier and HEPpier.
- IPython Notebook — web-shell for python
- scikit-learn — general-purpose library for machine learning in python
- numpy — 'MATLAB in python', vector operation in python. Use it you need to perform any number crunching.
- theano — optimized vector analytical math engine in python
- ROOT — main data format in high energy physics
- root_numpy — python library to deal with ROOT files (without pain)
License
Apache 2.0, hep_ml is an open-source library.
Platforms
Linux, Mac OS X and Windows are supported.
hep_ml supports all current python versions (python >= 3.9).
Old versions (hep_ml<=0.7) supported python 2.
Owner
- Name: Alex Rogozhnikov
- Login: arogozhnikov
- Kind: user
- Location: San Francisco
- Company: Aperture Science
- Website: https://arogozhnikov.github.io
- Repositories: 9
- Profile: https://github.com/arogozhnikov
ML + Science, einops, scientific tools
GitHub Events
Total
- Create event: 6
- Issues event: 4
- Release event: 1
- Watch event: 11
- Delete event: 3
- Issue comment event: 16
- Push event: 8
- Gollum event: 1
- Pull request event: 12
- Fork event: 2
Last Year
- Create event: 6
- Issues event: 4
- Release event: 1
- Watch event: 11
- Delete event: 3
- Issue comment event: 16
- Push event: 8
- Gollum event: 1
- Pull request event: 12
- Fork event: 2
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Alexey | i****m@g****m | 320 |
| Andrey Ustyuzhanin | a****u@g****m | 5 |
| tata-antares | t****s@y****u | 5 |
| Jonas Eschle | j****e@c****h | 3 |
| Richard Lane | r****e@b****k | 2 |
| Michael K. Wilkinson | m****n@g****m | 2 |
| connesy | c****y | 1 |
| Konstantin Schubert | s****n@g****m | 1 |
| Konstantin Gizdov | k****v@g****m | 1 |
| Ayush Thada | i****a@g****m | 1 |
| Alex Pearce | a****x@a****e | 1 |
| Kerim Guseinov | k****v@c****h | 1 |
| Ainsleigh | a****l@c****h | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 66
- Total pull requests: 40
- Average time to close issues: 2 months
- Average time to close pull requests: 22 days
- Total issue authors: 29
- Total pull request authors: 14
- Average comments per issue: 2.09
- Average comments per pull request: 0.48
- Merged pull requests: 32
- Bot issues: 0
- Bot pull requests: 1
Past Year
- Issues: 5
- Pull requests: 15
- Average time to close issues: about 1 month
- Average time to close pull requests: about 9 hours
- Issue authors: 5
- Pull request authors: 4
- Average comments per issue: 3.8
- Average comments per pull request: 0.4
- Merged pull requests: 10
- Bot issues: 0
- Bot pull requests: 1
Top Authors
Issue Authors
- arogozhnikov (26)
- marthaisabelhilton (4)
- acampove (3)
- jonas-eschle (3)
- bifani (3)
- adendek (2)
- gmarceca (2)
- alexpearce (2)
- jcob95 (1)
- Emix26 (1)
- RDMoise (1)
- PietroBernardiIT (1)
- MaggaP (1)
- vrivesmolina (1)
- ehhov (1)
Pull Request Authors
- arogozhnikov (10)
- jonas-eschle (10)
- anaderi (5)
- tlikhomanenko (4)
- ehhov (2)
- goi42 (2)
- kgizdov (1)
- ahill187 (1)
- itsayushthada (1)
- alexpearce (1)
- KonstantinSchubert (1)
- richard-lane (1)
- connesy (1)
- dependabot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 4
-
Total downloads:
- pypi 1,405 last-month
- Total docker downloads: 272
-
Total dependent packages: 1
(may contain duplicates) -
Total dependent repositories: 50
(may contain duplicates) - Total versions: 32
- Total maintainers: 2
pypi.org: hep-ml
Machine Learning for High Energy Physics
- Homepage: https://github.com/arogozhnikov/hep_ml
- Documentation: https://hep-ml.readthedocs.io/
- License: Apache 2.0
-
Latest release: 0.8.0
published 8 months ago
Rankings
Maintainers (1)
proxy.golang.org: github.com/arogozhnikov/hep_ml
- Documentation: https://pkg.go.dev/github.com/arogozhnikov/hep_ml#section-documentation
- License: other
-
Latest release: v0.8.0
published 8 months ago
Rankings
spack.io: py-hep-ml
Machine Learning for High Energy Physics
- Homepage: https://github.com/arogozhnikov/hep_ml
- License: []
-
Latest release: 0.7.1
published over 3 years ago
Rankings
Maintainers (1)
conda-forge.org: hep_ml
- Homepage: https://github.com/arogozhnikov/hep_ml
- License: Apache-2.0
-
Latest release: 0.7.1
published about 4 years ago
Rankings
Dependencies
- ipython >=3.0
- matplotlib >=1.4
- numpy >=1.9
- pandas >=0.14.0
- root_numpy >=3.3.0
- scikit-learn >=1
- scipy >=0.15.0
- six *
- sphinx_rtd_theme *
- theano >=1.0.2
- numpy *
- pandas *
- scikit-learn *
- scipy *
- six *
- theano *
- actions/checkout v2 composite
- actions/setup-python v2 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite