{ "info": { "author": "Shay Palachy", "author_email": "shay.palachy@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "imbutil\n#######\n|PyPI-Status| |PyPI-Versions| |Build-Status| |Codecov| |LICENCE|\n\nAdditions to the ``imbalanced-learn`` package.\n\n.. code-block:: python\n\n from imbutil.combine import MinMaxRandomSampler; from imblearn import pipeline;\n # oversampling minority classes to 100 and undersampling majority classes to 800\n sampler = MinMaxRandomSampler(min_freq=100, max_freq=800)\n sampling_clf = pipeline.make_pipeline(sampler, inner_clf)\n\n\n.. contents::\n\n.. section-numbering::\n\n\nInstallation\n============\n\n.. code-block:: bash\n\n pip install imbutil\n\n\nAdditionally, the ``MinMaxRandomSampler``, in addition to ``RandomUnderSampler`` and ``RandomOverSampler`` from ``imbalanced-learn``, can technically be used with non-numeric data. However, the current implementation of ``imbalanced-learn`` forces a check for numeric data for all samplers. If you want to bypass this limitation, I have a fork of the project which does not force data to be numeric. You can install it with:\n\n.. code-block:: bash\n\n pip install git+https://github.com/shaypal5/imbalanced-learn.git@f6adc562fafdc2198931873799e725e5abdd65a1\n\n\nBasic Use\n=========\n\n``imbutil`` additions addhere to the structure of the ``imblearn`` package:\n\ncombine\n-------\n\nContaines samplers that both under-sample and over-sample:\n\n``MinMaxRandomSampler`` - Random samples data to bring all class frequencies into a range.\n\n\nContributing\n============\n\nPackage author and current maintainer is Shay Palachy (shay.palachy@gmail.com); You are more than welcome to approach him for help. Contributions are very welcomed.\n\nInstalling for development\n----------------------------\n\nClone:\n\n.. code-block:: bash\n\n git clone git@github.com:shaypal5/imbutil.git\n\n\nInstall in development mode, and with test dependencies:\n\n.. code-block:: bash\n\n cd imbutil\n pip install -e \".[test]\"\n\n\nRunning the tests\n-----------------\n\nTo run the tests use:\n\n.. code-block:: bash\n\n cd imbutil\n pytest\n\n\nAdding documentation\n--------------------\n\nThe project is documented using the `numpy docstring conventions`_, which were chosen as they are perhaps the most widely-spread conventions that are both supported by common tools such as Sphinx and result in human-readable docstrings. When documenting code you add to this project, follow `these conventions`_.\n\n.. _`numpy docstring conventions`: https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt\n.. _`these conventions`: https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt\n\nAdditionally, if you update this ``README.rst`` file, use ``python setup.py checkdocs`` to validate it compiles.\n\n\nCredits\n=======\n\nCreated by Shay Palachy (shay.palachy@gmail.com).\n\n\n.. |PyPI-Status| image:: https://img.shields.io/pypi/v/imbutil.svg\n :target: https://pypi.org/project/imbutil\n\n.. |PyPI-Versions| image:: https://img.shields.io/pypi/pyversions/imbutil.svg\n :target: https://pypi.org/project/imbutil\n\n.. |Build-Status| image:: https://travis-ci.org/shaypal5/imbutil.svg?branch=master\n :target: https://travis-ci.org/shaypal5/imbutil\n\n.. |LICENCE| image:: https://img.shields.io/github/license/shaypal5/imbutil.svg\n :target: https://github.com/shaypal5/imbutil/blob/master/LICENSE\n\n.. |Codecov| image:: https://codecov.io/github/shaypal5/imbutil/coverage.svg?branch=master\n :target: https://codecov.io/github/shaypal5/imbutil?branch=master\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/shaypal5/imbutil", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "imbutil", "package_url": "https://pypi.org/project/imbutil/", "platform": "", "project_url": "https://pypi.org/project/imbutil/", "project_urls": { "Homepage": "https://github.com/shaypal5/imbutil" }, "release_url": "https://pypi.org/project/imbutil/0.0.8/", "requires_dist": [ "imbalanced-learn (>=0.3.3)", "pytest; extra == 'test'", "coverage; extra == 'test'", "pytest-cov; extra == 'test'", "pandas; extra == 'test'", "pdutil; extra == 'test'", "scikit-learn; extra == 'test'", "collective.checkdocs; extra == 'test'", "pygments; extra == 'test'", "imbalanced-learn (>=0.3.3); extra == 'test'" ], "requires_python": "", "summary": "Additions to the imblearn package", "version": "0.0.8" }, "last_serial": 5526569, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "e73be02364f5483a40fec9f4249fc838", "sha256": "09bcdcb02538b2741f9dd4e862c5faa8c87008a8ec5b8cf944ed087dba469b4c" }, "downloads": -1, "filename": "imbutil-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e73be02364f5483a40fec9f4249fc838", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 7002, "upload_time": "2018-04-16T08:41:56", "url": "https://files.pythonhosted.org/packages/f9/31/233dbacff9fa4d31968cc9534d24d669d036a8d29c58baf8b966a694cce6/imbutil-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "356ce4f6417a461a45d6dde973c87bc2", "sha256": "a6285b940ec5c645636c6599d84186b08cf04322066f4de67d33d1ca0e3a8150" }, "downloads": -1, "filename": "imbutil-0.0.3.tar.gz", "has_sig": false, "md5_digest": "356ce4f6417a461a45d6dde973c87bc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20188, "upload_time": "2018-04-16T08:41:54", "url": "https://files.pythonhosted.org/packages/43/b1/ea8356077c88a5aeb377f2fd55a7b260c51e7137616d3b2b0b89710d132e/imbutil-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "993eda1ec716b5ab5c9618f6b3370828", "sha256": "c0838c955d2fa4a16789d714ea6e51d713940df69328d5691cd6325b7326e43e" }, "downloads": -1, "filename": "imbutil-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "993eda1ec716b5ab5c9618f6b3370828", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 7172, "upload_time": "2018-04-16T08:53:53", "url": "https://files.pythonhosted.org/packages/84/f1/a06947a52d633ab67242ada4790cf6996f1724f01e47d86dce1a0e4ce615/imbutil-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9053c6dd61e8886d6e31b4d5314f47ec", "sha256": "52862168dee137acb34f065b055a37d14ea02070ea03da9007d4b89b074f0a3a" }, "downloads": -1, "filename": "imbutil-0.0.4.tar.gz", "has_sig": false, "md5_digest": "9053c6dd61e8886d6e31b4d5314f47ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20329, "upload_time": "2018-04-16T08:53:47", "url": "https://files.pythonhosted.org/packages/dc/88/42b86fe3a4e9fd867c6d8c389252d8a6dec10ff5309f3bb6e88c72d87f92/imbutil-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "3029032f7a1e779969af2c8830e7b007", "sha256": "8668d19920a873580bc7cf696f1bbdc2591e0a3e5c7975eae24e8fd862a5f1a2" }, "downloads": -1, "filename": "imbutil-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "3029032f7a1e779969af2c8830e7b007", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5227, "upload_time": "2018-04-16T10:00:05", "url": "https://files.pythonhosted.org/packages/21/b1/85781c0c1f4d5b0238f15f40525f5e38bd70be4b2c5c36370f02a570d843/imbutil-0.0.5-py3-none-any.whl" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "fdb7c7dd392b2fafd359f24c3c5033dd", "sha256": "e9d633e600ced04ef7e50798ae7ec5cee87f5cefb9c14a9caffb94dab634ad96" }, "downloads": -1, "filename": "imbutil-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "fdb7c7dd392b2fafd359f24c3c5033dd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5871, "upload_time": "2018-04-16T11:28:00", "url": "https://files.pythonhosted.org/packages/3e/74/f80a23a468ee6c2032085198708997a924b57e766ec3db40b120cc4fa705/imbutil-0.0.6-py3-none-any.whl" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "a30e35ccd8ea592e972b3c4478606f80", "sha256": "5a26de7570e8c38857bfe3726f5826df32df5b858d5b9f71bd061fd2778553f1" }, "downloads": -1, "filename": "imbutil-0.0.8-py3-none-any.whl", "has_sig": false, "md5_digest": "a30e35ccd8ea592e972b3c4478606f80", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5982, "upload_time": "2019-07-13T10:09:33", "url": "https://files.pythonhosted.org/packages/6f/bb/ee119860e6b22fa6299cbe22815921d536111f15434e7d3d7824a18f1333/imbutil-0.0.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2bac4745943cf889d8291a06fe9a9602", "sha256": "6de5209f5029cce145d0bb729c995e2ba5543230387fc1114890b444e71f0a08" }, "downloads": -1, "filename": "imbutil-0.0.8.tar.gz", "has_sig": false, "md5_digest": "2bac4745943cf889d8291a06fe9a9602", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20932, "upload_time": "2019-07-13T10:09:35", "url": "https://files.pythonhosted.org/packages/1e/6e/3089538d8a69e20f40bb7f7a09a8569173901ad403af39e793450e3a8847/imbutil-0.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a30e35ccd8ea592e972b3c4478606f80", "sha256": "5a26de7570e8c38857bfe3726f5826df32df5b858d5b9f71bd061fd2778553f1" }, "downloads": -1, "filename": "imbutil-0.0.8-py3-none-any.whl", "has_sig": false, "md5_digest": "a30e35ccd8ea592e972b3c4478606f80", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5982, "upload_time": "2019-07-13T10:09:33", "url": "https://files.pythonhosted.org/packages/6f/bb/ee119860e6b22fa6299cbe22815921d536111f15434e7d3d7824a18f1333/imbutil-0.0.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2bac4745943cf889d8291a06fe9a9602", "sha256": "6de5209f5029cce145d0bb729c995e2ba5543230387fc1114890b444e71f0a08" }, "downloads": -1, "filename": "imbutil-0.0.8.tar.gz", "has_sig": false, "md5_digest": "2bac4745943cf889d8291a06fe9a9602", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20932, "upload_time": "2019-07-13T10:09:35", "url": "https://files.pythonhosted.org/packages/1e/6e/3089538d8a69e20f40bb7f7a09a8569173901ad403af39e793450e3a8847/imbutil-0.0.8.tar.gz" } ] }