{ "info": { "author": "Jonas Eschle", "author_email": "mayou36@jonas.eschle.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX :: Linux", "Operating System :: Unix", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Scientific/Engineering :: Physics" ], "description": "|Code Health| |Build Status| |PyPI version|\n\nraredecay\n=========\n\nThis package consists of several tools for the event selection of\nparticle decays, mostly built on machine learning techniques. It\ncontains:\n\n- a **data-container** holding data, weights, labels and more and\n implemented root-to-python data conversion as well as plots and\n KFold-data splitting\n- **reweighting** tools from the hep\\_ml-repository wrapped in a\n KFolding structure and with metrics to evaluate the reweighting\n quality\n- **classifier optimization** tools for hyper-parameters as well as\n feature selection involving a backward-elimination\n- an **output handler** which makes it easy to add text as well as\n figures into your code and automatically save them to a file\n- ... and more\n\nHowTo examples\n--------------\n\nTo get an idea of the package, have a look at the howto notebooks: `HTML\nversion `__ or the\n`IPython\nNotebooks `__\n\nMinimal example\n---------------\n\nWant to test whether your reweighting did overfit? Use train\\_similar:\n\n.. code:: python\n\n import raredecay as rd\n\n mc_data = rd.data.HEPDataStorage(df, weights=*pd.Series weights*, target=0)\n real_data = rd.data.HEPDataStorage(df, weights=*pd.Series weights*, target=1)\n\n score = rd.score.train_similar(mc_data, real_data, old_mc_weights=1 *or whatever weights the mc had before*)\n\nGetting started right now\n-------------------------\n\nIf you want it the easy, fast way, have a look at the `Ready-to-use\nscripts `__.\nAll you need to do is to have a look at every \"TODO\" task and probably\nchange them. Then you can run the script without the need of coding at\nall.\n\nDocumentation and API\n---------------------\n\nThe API as well as the documentation:\n`Documentation `__\n\nSetup and installation\n----------------------\n\nPyPI\n~~~~\n\nThe package with all extras requires root\\_numpy as well as rootpy (and\ntherefore a ROOT installation with python-bindings) to be installed on\nyour system. If that is not the case, some functions won't work.\n\nRecommended installation (requires ROOT):\n\n\n::\n\n pip install raredecay[all] --process-dependency-links\n\nAnaconda\n~~~~~~~~\n\nEasiest way: use conda to install everything (except of the rep, which\nhas to be upgraded with pip for some functionalities)\n\n::\n\n conda install raredecay -c mayou36\n\n\n\nTo make sure you can convert ROOT-NTuples, use\n\n::\n\n pip install raredecay[root] # *use raredecay\\[root\\] in a zsh-console*\n\nor, instead of root/additionally (comma separated) ``reweight`` or\n``reweight`` for the specific functionalities.\n\n\n.. |Code Health| image:: https://landscape.io/github/mayou36/raredecay/master/landscape.svg?style=flat\n :target: https://landscape.io/github/mayou36/raredecay/master\n.. |Build Status| image:: https://travis-ci.org/mayou36/raredecay.svg?branch=master\n :target: https://travis-ci.org/mayou36/raredecay\n.. |PyPI version| image:: https://badge.fury.io/py/raredecay.svg\n :target: https://badge.fury.io/py/raredecay\n.. |Dependency Status| image:: https://www.versioneye.com/user/projects/58273f1df09d22004f5914f9/badge.svg?style=flat-square\n :target: https://www.versioneye.com/user/projects/58273f1df09d22004f5914f9\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mayou36/raredecay", "keywords": "particle physics,analysis,machine learning,reweight,high energy physics", "license": "Apache-2.0 License", "maintainer": "", "maintainer_email": "", "name": "raredecay", "package_url": "https://pypi.org/project/raredecay/", "platform": "", "project_url": "https://pypi.org/project/raredecay/", "project_urls": { "Homepage": "https://github.com/mayou36/raredecay" }, "release_url": "https://pypi.org/project/raredecay/2.1.0/", "requires_dist": [ "seaborn", "pandas", "numpy", "matplotlib", "future", "xgboost", "rep (>0.7.0)", "hep-ml (>=0.5.0)", "root-numpy ; extra == 'all'", "rootpy ; extra == 'all'", "rep (>=0.6.6) ; extra == 'all'", "scikit-learn (>=0.18.1) ; extra == 'all'", "hep-ml (>=0.4) ; extra == 'all'" ], "requires_python": ">=2.7", "summary": "A package for analysis of rare particle decays with machine-learning algorithms", "version": "2.1.0" }, "last_serial": 4504098, "releases": { "1.2.0": [ { "comment_text": "", "digests": { "md5": "31c1885a4caa4b1113f7db149f3c80e0", "sha256": "0a66b5d50f520039383f4e1f2e787f2b066904c43eb11ccb8fac7b33fe8c6796" }, "downloads": -1, "filename": "raredecay-1.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "31c1885a4caa4b1113f7db149f3c80e0", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 86384, "upload_time": "2017-01-06T13:20:31", "url": "https://files.pythonhosted.org/packages/05/70/f9e4061b49101471397efb320bd225125640e90ede77f7b810a3b7347b77/raredecay-1.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b714c4d3fd5a84e10dd386f0d128953b", "sha256": "73f953374b42f814a11c99bf25b49913a36a920bdec33da6c0aaa64e4d16b92f" }, "downloads": -1, "filename": "raredecay-1.2.0.tar.gz", "has_sig": false, "md5_digest": "b714c4d3fd5a84e10dd386f0d128953b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 75084, "upload_time": "2017-01-06T13:20:34", "url": "https://files.pythonhosted.org/packages/ed/8f/3e36e7d2c33dd3220e3eea44374f8819cbbfa6eced2457d3937d24b19a61/raredecay-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "ce6ee06093df5a7dc9cb91739f78d46b", "sha256": "4e89b167e024393027d034b8bbd6e8f8714275c4e44336b1336814d60cd05dab" }, "downloads": -1, "filename": "raredecay-1.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "ce6ee06093df5a7dc9cb91739f78d46b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 86477, "upload_time": "2017-01-09T11:30:39", "url": "https://files.pythonhosted.org/packages/09/85/ac5c2efa15af9a5bfb256a7866aaaf849b0a4383b5fd99b69c425bd5fd91/raredecay-1.2.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "971c1ff06425555b92be405e55ccf695", "sha256": "a5cca22834372b98369a0eec1dc08f2a005ca4d8a61ae7ffc8fa8e836024be3b" }, "downloads": -1, "filename": "raredecay-1.2.1.tar.gz", "has_sig": false, "md5_digest": "971c1ff06425555b92be405e55ccf695", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 75153, "upload_time": "2017-01-09T11:30:41", "url": "https://files.pythonhosted.org/packages/4e/c0/a5f95ddabff0bc067d9bb9b13e6b274dc43813d08e67740a48b9454de292/raredecay-1.2.1.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "c96db684363787612149a4a55eb13f7c", "sha256": "20334e81a6a34119c9f2ed131bd68609d13b8637be412f11745625df715b20ec" }, "downloads": -1, "filename": "raredecay-1.3.0-py2-none-any.whl", "has_sig": false, "md5_digest": "c96db684363787612149a4a55eb13f7c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 92103, "upload_time": "2017-07-19T08:44:33", "url": "https://files.pythonhosted.org/packages/92/44/f473b3a9c683c3df43d95ff151640aa693fdb123bb5bd050767ac67c76ff/raredecay-1.3.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "22deeaa2dfaa07aba5d4669746b8ca7f", "sha256": "0cff1aee8d41f7dcb9fa7f6e008b82bf3a80ee765c3b652db37cc11d8b499771" }, "downloads": -1, "filename": "raredecay-1.3.0.tar.gz", "has_sig": false, "md5_digest": "22deeaa2dfaa07aba5d4669746b8ca7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 80578, "upload_time": "2017-07-19T08:44:34", "url": "https://files.pythonhosted.org/packages/16/39/2e04019fbf0f394860e58455e0697ef023de8312535a2f1e281a2ea0440b/raredecay-1.3.0.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "d0afdd5de3e73c9fe638c1bb3a56c52c", "sha256": "89bc04826897e31269a49cdc6249b30b75dd17dfd64d7a575c5896c7bc609847" }, "downloads": -1, "filename": "raredecay-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d0afdd5de3e73c9fe638c1bb3a56c52c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 111467, "upload_time": "2017-11-05T18:43:15", "url": "https://files.pythonhosted.org/packages/60/6f/ab257fd10380e2f1c5a12b5ccb9e6f4b4c2fc8c2be13c04c9a06f1c0b143/raredecay-2.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "46a3395ae18787052a7c5052c956414c", "sha256": "c8351fb60be12f80ace7bfcb8ab273bc00258d90f3b32f6427d72f8111f1a1d2" }, "downloads": -1, "filename": "raredecay-2.0.0.tar.gz", "has_sig": false, "md5_digest": "46a3395ae18787052a7c5052c956414c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 93807, "upload_time": "2017-11-05T18:43:17", "url": "https://files.pythonhosted.org/packages/77/29/081c244f564ab95d1a45c59f746b6ed498c6c8d16540680541bc93ec0ecd/raredecay-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "b4bfa65f6e3eac3f2e2c6d7fb3adb531", "sha256": "9432d5548f8fceca8c0a0cb844a54e462a63676b0831a1f64cd1e05a695c000e" }, "downloads": -1, "filename": "raredecay-2.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b4bfa65f6e3eac3f2e2c6d7fb3adb531", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 112017, "upload_time": "2017-11-05T20:21:55", "url": "https://files.pythonhosted.org/packages/9a/05/f73060a903e8bbe97f550b56b2d4ada75f13c2ae941065aaa38e625e3558/raredecay-2.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e1822eef5802f506f3bcd00aea1236b2", "sha256": "99ee5555e7a6feeb7e8b8428d25b4beb17ac684f6bbac16e04df96928204772d" }, "downloads": -1, "filename": "raredecay-2.0.1.tar.gz", "has_sig": false, "md5_digest": "e1822eef5802f506f3bcd00aea1236b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 93962, "upload_time": "2017-11-05T20:21:58", "url": "https://files.pythonhosted.org/packages/4f/d8/1335ac6ee4b25a26f61a27f62beab28804e9f9b12dfdd989899205822dfc/raredecay-2.0.1.tar.gz" } ], "2.0.2": [ { "comment_text": "", "digests": { "md5": "7a4a5aff8ec2c1ccc5e926fe7828e5c6", "sha256": "969047c4bc8543eb2203aa8dd2b1a9b117a4237825c92556a776a436134ed4a7" }, "downloads": -1, "filename": "raredecay-2.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "7a4a5aff8ec2c1ccc5e926fe7828e5c6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 112248, "upload_time": "2017-11-05T21:16:36", "url": "https://files.pythonhosted.org/packages/9b/81/de44f8dbe9911c50c1c8465da9fc9a0cb3c1a4af6e716762d35d0df300d9/raredecay-2.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "937fe2f4a93de94605d17a4144e42c01", "sha256": "51674a4b092b00d49ff930dc31f58c5cb11e845af384b6aa999ab56c1c886a82" }, "downloads": -1, "filename": "raredecay-2.0.2.tar.gz", "has_sig": false, "md5_digest": "937fe2f4a93de94605d17a4144e42c01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 93907, "upload_time": "2017-11-05T21:16:38", "url": "https://files.pythonhosted.org/packages/d8/f0/4d819d40dc0c200290f555d85f91ad612730a8f7ce9d9b1de913b97f9a0f/raredecay-2.0.2.tar.gz" } ], "2.1.0": [ { "comment_text": "", "digests": { "md5": "e09175ea2ab9afe16c44906f4e074fb9", "sha256": "cf8aecbe23174812774e3bb399c145f7579f1a4c1893c3fca095e69675e936f6" }, "downloads": -1, "filename": "raredecay-2.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e09175ea2ab9afe16c44906f4e074fb9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 114206, "upload_time": "2018-11-19T19:26:56", "url": "https://files.pythonhosted.org/packages/c3/36/58ebf85434d10959a51ddf549d7953ebf4da36df97a9d3c23572442740c4/raredecay-2.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c84e3b591b0451c7eff3d651268460c", "sha256": "89cc6b4bda86b3aa64ce526f3cdcc4f756f8fc713c7d1273a19434ee49bbb475" }, "downloads": -1, "filename": "raredecay-2.1.0.tar.gz", "has_sig": false, "md5_digest": "6c84e3b591b0451c7eff3d651268460c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 92744, "upload_time": "2018-11-19T19:26:58", "url": "https://files.pythonhosted.org/packages/93/db/bc4ce274e850ba8c38c296fc14e78a7e9d2248ead60cea2fbf2aaf56d0f0/raredecay-2.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e09175ea2ab9afe16c44906f4e074fb9", "sha256": "cf8aecbe23174812774e3bb399c145f7579f1a4c1893c3fca095e69675e936f6" }, "downloads": -1, "filename": "raredecay-2.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e09175ea2ab9afe16c44906f4e074fb9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 114206, "upload_time": "2018-11-19T19:26:56", "url": "https://files.pythonhosted.org/packages/c3/36/58ebf85434d10959a51ddf549d7953ebf4da36df97a9d3c23572442740c4/raredecay-2.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c84e3b591b0451c7eff3d651268460c", "sha256": "89cc6b4bda86b3aa64ce526f3cdcc4f756f8fc713c7d1273a19434ee49bbb475" }, "downloads": -1, "filename": "raredecay-2.1.0.tar.gz", "has_sig": false, "md5_digest": "6c84e3b591b0451c7eff3d651268460c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 92744, "upload_time": "2018-11-19T19:26:58", "url": "https://files.pythonhosted.org/packages/93/db/bc4ce274e850ba8c38c296fc14e78a7e9d2248ead60cea2fbf2aaf56d0f0/raredecay-2.1.0.tar.gz" } ] }