Skip to main content

hep_ml

hep_ml provides specific machine learning tools for purposes of high energy physics.

Run tests PyPI version Documentation DOI

hep_ml, python library for high energy physics

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:

pip install hep_ml

If you're new to python and never used pip, first install scikit-learn with these instructions.

Links

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 both python 2 and python 3.

Metadata

Release files for hep-ml 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hep-ml 0.8.0
File Size Uploaded
hep_ml-0.8.0.tar.gz 41.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hep-ml 0.8.0
File Interpreter ABI Platform
hep_ml-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 88.9 kB

Release files / hep_ml-0.8.0.tar.gz

Download URL hep_ml-0.8.0.tar.gz
Size 41.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c86f19ef85090eb689a7a2c452477f45f1f1b3c3aa53df0aba4bbd077bfb8a9b
BLAKE2b-256 checksum
How to use checksums
b2177acafaff29f24818517d56aa70473f78190a8780c94f753a961daf6ef831
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release files / hep_ml-0.8.0-py3-none-any.whl

Download URL hep_ml-0.8.0-py3-none-any.whl
Size 47.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
630331089a4d329bdb83ed94c82c7165f7c428c82dbe1b68b04155d477c078c7
BLAKE2b-256 checksum
How to use checksums
ec2da141c8d56325496bfd7f68af051a5fa2f84c03e59642a87d013bc7367db8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page