Skip to main content

An end-to-end framework used for research combining high-energy physics phenomenology with machine learning.

Project description

HEP ML Lab (HML)

PyPI - Version Downloads codecov GitHub

Introduction

HEP-ML-Lab is an end-to-end framework used for research combining high-energy physics phenomenology with machine learning. It covers three main parts: the generation of simulated data, the conversion of data representation, and the application of analysis approaches.

With HML, researchers can easily compare the performance between traditional methods and modern machine learning algorithms, and obtain robust and reproducible results.

To get started, please check out the documents.

Installation

pip install hep-ml-lab

Module overview

module_overview

  • hml.generators: API of Madgraph5 for simulating colliding events;
  • hml.observables: General observables in jet physics;
  • hml.representations: Different data structure used to represent an event;
  • hml.datasets: Existing datasets and helper classes for creating new datasets;
  • hml.approaches: Cuts, trees and networks for classification;
  • hml.metrics: Metrics used in classical signal vs background analysis;
  • hml.utils: Utility functions.

Updates

v0.3.0.1

  • Fix a bug that Madgraph5 may run into an infinite loop caused by HML keeping removing py.py file during initialization.
  • Fix nan value not implemented in Fileter.
  • Fix the wrong order of runs when using hml.generators.Madgraph5.runs and hml.generators.Madgraph5.summary.
  • Fix the typo "g1" in quickstart.

v0.3.0

  • New Madgraph5 API now is closer to the original Madgraph5 CLI.
  • New Observable parsing system makes it easier to use and define new observables.
  • New CutAndCout and BoostedDecisionTree in Keras style.

v0.2.2

  • Change output structure of hml.generators.Madgraph5 to ensure reproducibility.
  • Refactor hml.generators.Madgraph5 and hml.generators.MG5Run to make them more robust.

v0.2.1

  • Add summary to hml.generators.Madgraph5 to print a summary of all run.
  • Add remove to hml.generators.Madgraph5 to remove a run.
  • Add clean to hml.generators.Madgraph5 to remove the output directory.

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_lab-0.3.0.1.tar.gz (18.5 kB view hashes)

Uploaded Source

Built Distribution

hep_ml_lab-0.3.0.1-py3-none-any.whl (20.9 kB view hashes)

Uploaded Python 3

Supported by

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