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 details)

Uploaded Source

Built Distribution

shml-0.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file shml-0.1.tar.gz.

File metadata

  • Download URL: shml-0.1.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for shml-0.1.tar.gz
Algorithm Hash digest
SHA256 f48aa7aceb8059e150045387fb91f1e33429e609ba57c0b3179e3c560bb9ea82
MD5 2520a6710c758b3112848dbb9518e66f
BLAKE2b-256 9dfea40593a0f8ea7323b7582cae290250eef2a3b7a7a24d48ce73e3798a8405

See more details on using hashes here.

File details

Details for the file shml-0.1-py3-none-any.whl.

File metadata

  • Download URL: shml-0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for shml-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e30b18bed174af327175df2246bdfb54684f5716764ac391fdcb7c92f57d9f0
MD5 fe42fb5237043cbae9e5dcb1cc62725d
BLAKE2b-256 92acd0ebb9ecfd74d93aa42fdda3f5bf579db676498c8ff8f5d6d7868a14c263

See more details on using hashes here.

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