Skip to main content

NPLM_package

a package to implement the New Physics Learning Machine (NPLM) algorithm

Short description:

NPLM is a strategy to detect data departures from a given reference model, with no prior bias on the nature of the new physics model responsible for the discrepancy. The method employs neural networks, leveraging their virtues as flexible function approximants, but builds its foundations directly on the canonical likelihood-ratio approach to hypothesis testing. The algorithm compares observations with an auxiliary set of reference-distributed events, possibly obtained with a Monte Carlo event generator. It returns a p-value, which measures the compatibility of the reference model with the data. It also identifies the most discrepant phase-space region of the dataset, to be selected for further investigation. Imperfections due to mis-modelling in the reference dataset can be taken into account straightforwardly as nuisance parameters.

  • "Learning New Physics from a Machine" (Phys. Rev. D)
  • "Learning Multivariate New Physics" (Eur. Phys. J. C)
  • "Learning New Physics from an Imperfect Machine" (arXiv)

Envirnoment set up:

Create a virtual environment with the packages specified in requirements.txt

python3 -m venv env
source env/bin/activate

to be sure that pip is up to date

pip install --upgrade pip

install the packaes listed in requirements.txt

pip install -r requirements.txt 

to see what you installed (check if successful)

pip freeze

Now you are ready to download the NPLM package:

pip install -i https://test.pypi.org/simple/ NPLM

Example: 1D toy model

To understand how NPLM works see the 1D example in example_1D

Metadata

Release files for NPLM 0.0.6

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

Source distribution (sdist)

Source distribution for NPLM 0.0.6
File Size Uploaded Provenance Actions
NPLM-0.0.6.tar.gz 15.0 kB Without provenance Details for NPLM-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for NPLM 0.0.6
File Interpreter ABI Platform Actions
NPLM-0.0.6-py3-none-any.whl Python 3 none any Details for NPLM-0.0.6-py3-none-any.whl

Total release size: 29.8 kB

Release files / NPLM-0.0.6.tar.gz

Download URL NPLM-0.0.6.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
95d27cb83c834f790bcd93dd1cefe8d07a055076945128030e290baa129b99eb
BLAKE2b-256 checksum
How to use checksums
667c4f86acaf51d226523b220855a8770749f5ced268ee229ffd0382f1ce312e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9

Release files / NPLM-0.0.6-py3-none-any.whl

Download URL NPLM-0.0.6-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ae59c4a157043efbfcf48fb7bd1aa6e4ab804c3c04f65302535adb6e9156e14
BLAKE2b-256 checksum
How to use checksums
918709da4473cb7b85e632d480998b71548c14302c7f06508f518942fcd67932
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9

Security for NPLM 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files No provenance

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