{ "info": { "author": "Stefan Appelhoff", "author_email": "stefan.appelhoff@mailbox.org", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Mathematics" ], "description": "[![Build Status](https://travis-ci.org/sappelhoff/remedian.svg?branch=master)](https://travis-ci.org/sappelhoff/remedian)\n[![codecov](https://codecov.io/gh/sappelhoff/remedian/branch/master/graph/badge.svg)](https://codecov.io/gh/sappelhoff/remedian)\n[![Documentation Status](https://readthedocs.org/projects/remedian/badge/?version=latest)](http://remedian.readthedocs.io/en/latest/?badge=latest)\n[![PyPI version](https://badge.fury.io/py/remedian.svg)](https://badge.fury.io/py/remedian)\n\n# remedian\nThe Remedian: A Robust Averaging Method for Large Data Sets - Python\nimplementation\n\nThis algorithm is used to approximate the median of several data chunks if\nthese data chunks cannot (or should not) be loaded into memory at once.\n\nGiven a data chunk of size `obs_size`, and `t` data chunks overall, the\nRemedian class sets up a number `k_arrs` of arrays of length `n_obs`.\n\nThe median of the `t` data chunks of size `obs_size` is then approximated\nas follows: One data chunk after another is fed into the `n_obs` positions\nof the first array. When the first array is full, its median is calculated\nand stored in the first position of the second array. After this, the first\narray is re-used to fill the second position of the second array, etc.\nWhen the second array is full, the median of its values is stored in the\nfirst position of the third array, and so on.\n\nThe final \"Remedian\" is the median of the last array, after all `t` data\nchunks have been fed into the object.\n\n# Installation\n\n`pip install remedian`\n\nThe dependencies should be installed automatically by pip.\n\n# Installation of most recent version\n\n1. activate your python environment\n2. `git clone https://www.github.com/sappelhoff/remedian`\n3. `cd remedian`\n5. `pip install -e .`\n6. then you should be able to `from remedian.remedian import Remedian`\n\n# Usage\n\nSee the [example in the docs](https://remedian.readthedocs.io/en/latest/examples.html).\n\n# References\n\n> P.J. Rousseeuw, G.W. Bassett Jr., \"The remedian: A robust averaging method\n for large data sets\", Journal of the American Statistical Association, vol.\n 85 (1990), pp. 97-104\n\n> M. Chao, G. Lin, \"The asymptotic distributions of the remedians\", Journal of\n Statistical Planning and Inference, vol. 37 (1993), pp. 1-11\n\n> Domenico Cantone, Micha Hofri, \"Further analysis of the remedian algorithm\",\n Theoretical Computer Science, vol. 495 (2013), pp. 1-16\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/sappelhoff/remedian", "keywords": "remedian median memory efficient big data", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "remedian", "package_url": "https://pypi.org/project/remedian/", "platform": "", "project_url": "https://pypi.org/project/remedian/", "project_urls": { "Bug Reports": "https://github.com/sappelhoff/remedian/issues", "Homepage": "http://github.com/sappelhoff/remedian", "Source": "https://github.com/sappelhoff/remedian" }, "release_url": "https://pypi.org/project/remedian/0.1.2/", "requires_dist": [ "numpy (>=1.14.1)", "pytest (>=3.6) ; extra == 'test'", "pytest-cov ; extra == 'test'" ], "requires_python": ">=2.7", "summary": "Remedian: robust averaging of large data sets", "version": "0.1.2" }, "last_serial": 4914759, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "98b0f82db3154004510bcdf9b6221ed2", "sha256": "2221caf0631e990101a1107b4297f2ae35e53262845c3d5c6136f5cdf4db2a95" }, "downloads": -1, "filename": "remedian-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "98b0f82db3154004510bcdf9b6221ed2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7", "size": 7944, "upload_time": "2018-04-18T20:27:25", "url": "https://files.pythonhosted.org/packages/3a/5b/1150252f1db4b601ca4b477124fcf1a71c6afcf4d1be6e89942ce4f2e1c4/remedian-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aedbeb9ce605fe1df96dcc53f6e84cb2", "sha256": "75c10d5c19b56fefbde86cb27c7d0c78f8f2625babd0c18dc21f695dd6dcfd48" }, "downloads": -1, "filename": "remedian-0.1.0.tar.gz", "has_sig": false, "md5_digest": "aedbeb9ce605fe1df96dcc53f6e84cb2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 5267, "upload_time": "2018-04-18T20:27:26", "url": "https://files.pythonhosted.org/packages/5f/bc/35fe823620d0d81d27352612810c05fdaad0b9b75549bc3d4a3439c49259/remedian-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "d96a9af5fd3e3b75bf5c66084d5c7cc4", "sha256": "1bfb3c445f91d156fc609be5ec682623122a2f1e41a70702e1efddc6462cff02" }, "downloads": -1, "filename": "remedian-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d96a9af5fd3e3b75bf5c66084d5c7cc4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7", "size": 7996, "upload_time": "2018-04-18T20:36:48", "url": "https://files.pythonhosted.org/packages/8d/2c/121cb54cfedea339561b86951f229c1351a6846e701f3693241b2b7b58c3/remedian-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ad61a2d7361ddead0e2b66c9756ecedb", "sha256": "92817b182838ebecaebc43229bd2adc452ba4c9e0116b171ae454df07d6f39e6" }, "downloads": -1, "filename": "remedian-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ad61a2d7361ddead0e2b66c9756ecedb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 5313, "upload_time": "2018-04-18T20:36:49", "url": "https://files.pythonhosted.org/packages/fe/be/d9686fc562b230244a388b079922c1051241103c9d3852d4b57d40486630/remedian-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "f176ef6f83ed3a45a0a3cac1f7256d0a", "sha256": "081ef1cfaebaf5c52144c3f2942fe933c569a4ae130fce97035a2e3c8f480e0c" }, "downloads": -1, "filename": "remedian-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f176ef6f83ed3a45a0a3cac1f7256d0a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7", "size": 6030, "upload_time": "2019-03-08T09:53:33", "url": "https://files.pythonhosted.org/packages/7f/14/0c30fecae429b73dea8fb4e78c9c188872396f085c23d79ff159ecb9869e/remedian-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c7d3c039a98a1288094365bee869edf", "sha256": "da143daf593f2b0cc8a92520af2a8627cd761ed23e467b5bfe32a1db22d61da7" }, "downloads": -1, "filename": "remedian-0.1.2.tar.gz", "has_sig": false, "md5_digest": "6c7d3c039a98a1288094365bee869edf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 5309, "upload_time": "2019-03-08T09:53:34", "url": "https://files.pythonhosted.org/packages/72/fc/c21c34e837e85d166e4f42e09fb582956649b66b1ac024e1c28b4418aeaf/remedian-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f176ef6f83ed3a45a0a3cac1f7256d0a", "sha256": "081ef1cfaebaf5c52144c3f2942fe933c569a4ae130fce97035a2e3c8f480e0c" }, "downloads": -1, "filename": "remedian-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f176ef6f83ed3a45a0a3cac1f7256d0a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7", "size": 6030, "upload_time": "2019-03-08T09:53:33", "url": "https://files.pythonhosted.org/packages/7f/14/0c30fecae429b73dea8fb4e78c9c188872396f085c23d79ff159ecb9869e/remedian-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c7d3c039a98a1288094365bee869edf", "sha256": "da143daf593f2b0cc8a92520af2a8627cd761ed23e467b5bfe32a1db22d61da7" }, "downloads": -1, "filename": "remedian-0.1.2.tar.gz", "has_sig": false, "md5_digest": "6c7d3c039a98a1288094365bee869edf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 5309, "upload_time": "2019-03-08T09:53:34", "url": "https://files.pythonhosted.org/packages/72/fc/c21c34e837e85d166e4f42e09fb582956649b66b1ac024e1c28b4418aeaf/remedian-0.1.2.tar.gz" } ] }