hep-ml-lab


Namehep-ml-lab JSON
Version 0.4.3 PyPI version JSON
download
home_pagehttps://github.com/Star9daisy/hep-ml-lab
SummaryAn end-to-end framework used for research combining high-energy physics phenomenology with machine learning.
upload_time2024-05-03 09:53:21
maintainerNone
docs_urlNone
authorStar9daisy
requires_python<3.12,>=3.9
licenseMIT
keywords high energy physics machine learning framework
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # HEP ML Lab (HML)
[![PyPI - Version](https://img.shields.io/pypi/v/hep-ml-lab)](https://pypi.org/project/hep-ml-lab/)
[![Downloads](https://static.pepy.tech/badge/hep-ml-lab)](https://pepy.tech/project/hep-ml-lab)
[![codecov](https://codecov.io/gh/Star9daisy/hep-ml-lab/branch/main/graph/badge.svg?token=6VWJi5ct6c)](https://app.codecov.io/gh/Star9daisy/hep-ml-lab)
[![GitHub](https://img.shields.io/github/license/star9daisy/hep-ml-lab)](https://github.com/Star9daisy/hep-ml-lab/blob/main/LICENSE)

## Introduction
HEP-ML-Lab is an end-to-end framework used for research combining high-energy
physics phenomenology with machine learning. It covers three main parts: the
generation of simulated data, the conversion of data representation, and the
application of analysis approaches.

With HML, researchers can easily compare the performance between traditional
methods and modern machine learning algorithms, and obtain robust and
reproducible results.

To get started, please check out the [documents](https://star9daisy.github.io/hep-ml-lab/).

## Installation
```python
pip install hep-ml-lab
```

Check out the [install via pip](install/pip.md) for more details of prerequisites and post-installation steps or [install via Docker](install/docker.md) for a hassle-free experience.

## Module overview

![module_overview](docs/images/hml_modules.png)

- `hml.generators`: API of Madgraph5 for simulating colliding events;
- `hml.physics_objects`: Physics objects classfied by their counts;
- `hml.observables`: General observables in jet physics;
- `hml.representations`: Different data structure used to represent an event;
- `hml.datasets`: Existing datasets and helper classes for creating new datasets;
- `hml.approaches`: Cuts, trees and networks for classification;
- `hml.metrics`: Metrics used in classical signal vs background analysis;

## Updates

### v0.4.3
- Fix the thresholds issue in `hml.metrics.MaxSignificance` by making it similar to the one returned by `sklearn.metrics.roc_curve`.
- Change `hml.datasets.SetDataset.show` to display figures using `seaborn`. 
- Drop the requirement of `executable` in `hml.generators.Madgraph5.from_output`.

### v0.4.2
- Fix parsing cuts like "muon0.charge != muon1.charge".
- Fix inconsistent model layers in `hml.approaches.networks.SimpleCNN`.
- Fix registering and saving custom observables.
- Add cross sections, luminosity and weights as parameters in `hml.metrics.MaxSignificance`.
- Improve the figure ratio in `hml.datasets.SetDataset.show`.

### v0.4.1
- Fix module overview image in README.
- Fix `GradientBoostedDecisionTree` to be compatible with different `sklearn` versions.
- Fix `hml.datasets.SetDataset.show` to display the correct rows and columns.
- Rename the `parse` and `register` functions to `parse_physics_object`, `parse_observable`, and `register_observable`.
- Update the installation document.

### v0.4.0
This version refactors most of the codebase to make it compatible with the array
(from `awkward` and `uproot`) representation of the data.

### v0.3.0.1
- Fix a bug that Madgraph5 may run into an infinite loop caused by HML keeping
  removing py.py file during initialization.
- Fix nan value not implemented in Fileter.
- Fix the wrong order of runs when using `hml.generators.Madgraph5.runs` and
  `hml.generators.Madgraph5.summary`.
- Fix the typo "g1" in quickstart.

### v0.3.0
- New Madgraph5 API now is closer to the original Madgraph5 CLI.
- New Observable parsing system makes it easier to use and define new observables.
- New CutAndCout and BoostedDecisionTree in Keras style.

### v0.2.2
- Change output structure of `hml.generators.Madgraph5` to ensure reproducibility.
- Refactor `hml.generators.Madgraph5` and `hml.generators.MG5Run` to make
  them more robust.
### v0.2.1
- Add `summary` to `hml.generators.Madgraph5` to print a summary of all run.
- Add `remove` to `hml.generators.Madgraph5` to remove a run.
- Add `clean` to `hml.generators.Madgraph5` to remove the output directory.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Star9daisy/hep-ml-lab",
    "name": "hep-ml-lab",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.12,>=3.9",
    "maintainer_email": null,
    "keywords": "high energy physics, machine learning, framework",
    "author": "Star9daisy",
    "author_email": "star9daisy@outlook.com",
    "download_url": "https://files.pythonhosted.org/packages/7f/8b/a8624631f5ba03b88679fe08b03a151ef33de5beec5f46e024566e473dc2/hep_ml_lab-0.4.3.tar.gz",
    "platform": null,
    "description": "# HEP ML Lab (HML)\n[![PyPI - Version](https://img.shields.io/pypi/v/hep-ml-lab)](https://pypi.org/project/hep-ml-lab/)\n[![Downloads](https://static.pepy.tech/badge/hep-ml-lab)](https://pepy.tech/project/hep-ml-lab)\n[![codecov](https://codecov.io/gh/Star9daisy/hep-ml-lab/branch/main/graph/badge.svg?token=6VWJi5ct6c)](https://app.codecov.io/gh/Star9daisy/hep-ml-lab)\n[![GitHub](https://img.shields.io/github/license/star9daisy/hep-ml-lab)](https://github.com/Star9daisy/hep-ml-lab/blob/main/LICENSE)\n\n## Introduction\nHEP-ML-Lab is an end-to-end framework used for research combining high-energy\nphysics phenomenology with machine learning. It covers three main parts: the\ngeneration of simulated data, the conversion of data representation, and the\napplication of analysis approaches.\n\nWith HML, researchers can easily compare the performance between traditional\nmethods and modern machine learning algorithms, and obtain robust and\nreproducible results.\n\nTo get started, please check out the [documents](https://star9daisy.github.io/hep-ml-lab/).\n\n## Installation\n```python\npip install hep-ml-lab\n```\n\nCheck out the [install via pip](install/pip.md) for more details of prerequisites and post-installation steps or [install via Docker](install/docker.md) for a hassle-free experience.\n\n## Module overview\n\n![module_overview](docs/images/hml_modules.png)\n\n- `hml.generators`: API of Madgraph5 for simulating colliding events;\n- `hml.physics_objects`: Physics objects classfied by their counts;\n- `hml.observables`: General observables in jet physics;\n- `hml.representations`: Different data structure used to represent an event;\n- `hml.datasets`: Existing datasets and helper classes for creating new datasets;\n- `hml.approaches`: Cuts, trees and networks for classification;\n- `hml.metrics`: Metrics used in classical signal vs background analysis;\n\n## Updates\n\n### v0.4.3\n- Fix the thresholds issue in `hml.metrics.MaxSignificance` by making it similar to the one returned by `sklearn.metrics.roc_curve`.\n- Change `hml.datasets.SetDataset.show` to display figures using `seaborn`. \n- Drop the requirement of `executable` in `hml.generators.Madgraph5.from_output`.\n\n### v0.4.2\n- Fix parsing cuts like \"muon0.charge != muon1.charge\".\n- Fix inconsistent model layers in `hml.approaches.networks.SimpleCNN`.\n- Fix registering and saving custom observables.\n- Add cross sections, luminosity and weights as parameters in `hml.metrics.MaxSignificance`.\n- Improve the figure ratio in `hml.datasets.SetDataset.show`.\n\n### v0.4.1\n- Fix module overview image in README.\n- Fix `GradientBoostedDecisionTree` to be compatible with different `sklearn` versions.\n- Fix `hml.datasets.SetDataset.show` to display the correct rows and columns.\n- Rename the `parse` and `register` functions to `parse_physics_object`, `parse_observable`, and `register_observable`.\n- Update the installation document.\n\n### v0.4.0\nThis version refactors most of the codebase to make it compatible with the array\n(from `awkward` and `uproot`) representation of the data.\n\n### v0.3.0.1\n- Fix a bug that Madgraph5 may run into an infinite loop caused by HML keeping\n  removing py.py file during initialization.\n- Fix nan value not implemented in Fileter.\n- Fix the wrong order of runs when using `hml.generators.Madgraph5.runs` and\n  `hml.generators.Madgraph5.summary`.\n- Fix the typo \"g1\" in quickstart.\n\n### v0.3.0\n- New Madgraph5 API now is closer to the original Madgraph5 CLI.\n- New Observable parsing system makes it easier to use and define new observables.\n- New CutAndCout and BoostedDecisionTree in Keras style.\n\n### v0.2.2\n- Change output structure of `hml.generators.Madgraph5` to ensure reproducibility.\n- Refactor `hml.generators.Madgraph5` and `hml.generators.MG5Run` to make\n  them more robust.\n### v0.2.1\n- Add `summary` to `hml.generators.Madgraph5` to print a summary of all run.\n- Add `remove` to `hml.generators.Madgraph5` to remove a run.\n- Add `clean` to `hml.generators.Madgraph5` to remove the output directory.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "An end-to-end framework used for research combining high-energy physics phenomenology with machine learning.",
    "version": "0.4.3",
    "project_urls": {
        "Documentation": "https://star9daisy.github.io/hep-ml-lab/",
        "Homepage": "https://github.com/Star9daisy/hep-ml-lab"
    },
    "split_keywords": [
        "high energy physics",
        " machine learning",
        " framework"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ca3587ec8e3bfae8f152de7b03d667c4c5b6a001ad5707a39300380cbfb5d2f1",
                "md5": "c46268b18f381b62b6e4ac11e23c6fc6",
                "sha256": "3eea02222e0cf7b5087601392876401dbc8b6e23dada5c15c3f236a847e5542d"
            },
            "downloads": -1,
            "filename": "hep_ml_lab-0.4.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c46268b18f381b62b6e4ac11e23c6fc6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.9",
            "size": 47458,
            "upload_time": "2024-05-03T09:53:19",
            "upload_time_iso_8601": "2024-05-03T09:53:19.328536Z",
            "url": "https://files.pythonhosted.org/packages/ca/35/87ec8e3bfae8f152de7b03d667c4c5b6a001ad5707a39300380cbfb5d2f1/hep_ml_lab-0.4.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7f8ba8624631f5ba03b88679fe08b03a151ef33de5beec5f46e024566e473dc2",
                "md5": "6a9a0dc6009af97a6897e97f8c320161",
                "sha256": "080e2a55b7b588175d860c67715554aeab9abe8f78756e4b8bd6092dad359453"
            },
            "downloads": -1,
            "filename": "hep_ml_lab-0.4.3.tar.gz",
            "has_sig": false,
            "md5_digest": "6a9a0dc6009af97a6897e97f8c320161",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.12,>=3.9",
            "size": 34103,
            "upload_time": "2024-05-03T09:53:21",
            "upload_time_iso_8601": "2024-05-03T09:53:21.717333Z",
            "url": "https://files.pythonhosted.org/packages/7f/8b/a8624631f5ba03b88679fe08b03a151ef33de5beec5f46e024566e473dc2/hep_ml_lab-0.4.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-03 09:53:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Star9daisy",
    "github_project": "hep-ml-lab",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "hep-ml-lab"
}
        
Elapsed time: 0.25874s