A package to take a given histogram and merge bins such that the seperability loss is minimized.
Project description
MiLoMerge
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60b25bdb6f9703059b8608f2958aa36e97d5f4e0ff6c19b29f37bb27ed179f08
|
|
| MD5 |
455f6ed1a8ac4b689a6130c501a70a0d
|
|
| BLAKE2b-256 |
6b1147c6a4e0c48a24f33fd9222a847f5584c69dc278950e35e6f93f57e01c5c
|
Provenance
The following attestation bundles were made for milomerge-1.0.1.tar.gz:
Publisher:
build.yml on JHUGen/MiLoMerge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
milomerge-1.0.1.tar.gz -
Subject digest:
60b25bdb6f9703059b8608f2958aa36e97d5f4e0ff6c19b29f37bb27ed179f08 - Sigstore transparency entry: 845013341
- Sigstore integration time:
-
Permalink:
JHUGen/MiLoMerge@0de6c2f44ea7fbdf60c128ed89986b15f0bc28df -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/JHUGen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@0de6c2f44ea7fbdf60c128ed89986b15f0bc28df -
Trigger Event:
release
-
Statement type: