Skip to main content

Machine Learning for High Energy Physics

Project description

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.

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

hep_ml-0.8.0.tar.gz (41.1 kB view details)

Uploaded Source

Built Distribution

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

hep_ml-0.8.0-py3-none-any.whl (47.8 kB view details)

Uploaded Python 3

File details

Details for the file hep_ml-0.8.0.tar.gz.

File metadata

  • Download URL: hep_ml-0.8.0.tar.gz
  • Upload date:
  • Size: 41.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for hep_ml-0.8.0.tar.gz
Algorithm Hash digest
SHA256 c86f19ef85090eb689a7a2c452477f45f1f1b3c3aa53df0aba4bbd077bfb8a9b
MD5 737a3f7956e4b6991aeee44ea2f92124
BLAKE2b-256 b2177acafaff29f24818517d56aa70473f78190a8780c94f753a961daf6ef831

See more details on using hashes here.

File details

Details for the file hep_ml-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: hep_ml-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 47.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for hep_ml-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 630331089a4d329bdb83ed94c82c7165f7c428c82dbe1b68b04155d477c078c7
MD5 13b556a3aa8ba0817351c824dddea217
BLAKE2b-256 ec2da141c8d56325496bfd7f68af051a5fa2f84c03e59642a87d013bc7367db8

See more details on using hashes here.

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