Skip to main content

A package to take a given histogram and merge bins such that the seperability loss is minimized.

Project description

MiLoMerge

arXiv Homepage

Python PyPI version Code style: black

A package to merge bins together in such a way that the separability between distributions is minimally lossless. The ROC and LOC curves defined in the paper above are also included as functions in this package. It is fully Pythonic, with full interoperability with Numpy.

This package is derived from the findings of Maximizing Returns: Optimizing Experimental Observables at the LHC, which should be cited should the package be used.

Installation

Through pip

MiLoMerge is available in pip, and soon to conda, and can be installed as below:

pip install MiLoMerge

Manual Installation

Download the .tar.gz installation available at https://spin.pha.jhu.edu/ and run the following command in the MiLoMerge directory:

pip install .

Getting Started

To use MiLoMerge, import the package within your file, and generate distributions to merge. The documentation, alongside useful examples and tutorials, is available at the homepage.

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

milomerge-1.0.1.tar.gz (22.4 kB view details)

Uploaded Source

File details

Details for the file milomerge-1.0.1.tar.gz.

File metadata

  • Download URL: milomerge-1.0.1.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for milomerge-1.0.1.tar.gz
Algorithm Hash digest
SHA256 60b25bdb6f9703059b8608f2958aa36e97d5f4e0ff6c19b29f37bb27ed179f08
MD5 455f6ed1a8ac4b689a6130c501a70a0d
BLAKE2b-256 6b1147c6a4e0c48a24f33fd9222a847f5584c69dc278950e35e6f93f57e01c5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for milomerge-1.0.1.tar.gz:

Publisher: build.yml on JHUGen/MiLoMerge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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