Skip to main content

lightweight pdata cleaning/processing/plotting/ML training library for use with an ATLAS BSM dihiggs search

Project description

Actions Status Code style: black PyPI version PyPI platforms GitHub Discussion

shml: routines to automate machine learning experiments for a X -> SH -> bbyy search

This module aims to provide a set of functions that, when composed, can run a pipeline capable of:

  • going from .root files to parquet files via uproot and awkward
  • constructing useful kinematic quantites for training
  • applying a chosen or manual preselection
  • configuring any additional processing, e.g. weight normalization, feature scaling
  • access event data that's prepared for pytorch using shml.torch_dataset.EventDataset

still to do:

  • infra to run ml experiments in a GPU or CPU environment via pytorch-lightining

Usage

To see currently usable implemented functionality, check the examples folder.

Install

For preprocessing only:

python3 -m pip install shml

For ML extras (pytorch, plotting):

python3 -m pip install shml[ml]

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shml-0.1.tar.gz (13.2 kB view hashes)

Uploaded Source

Built Distribution

shml-0.1-py3-none-any.whl (12.7 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