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.
MiLoMerge is available in pip, and soon to conda, and can be installed as below:
pip install MiLoMergeDownload the .tar.gz installation available at https://spin.pha.jhu.edu/ and run the following command in the MiLoMerge directory:
pip install .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.