Additions to the imblearn package
Project description
Additions to the imblearn package.
from imbutil.combine import MinMaxRandomSampler
1 Installation
pip install imbutil
2 Basic Use
imbutil additions addhere to the structure of the imblearn package:
2.1 combine
Containes samplers that both under-sample and over-sample:
MinMaxRandomSampler - Random samples data to bring all class frequencies into a range.
3 Contributing
Package 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.
3.1 Installing for development
Clone:
git clone git@github.com:shaypal5/imbutil.git
Install in development mode, and with test dependencies:
cd imbutil
pip install -e ".[test]"
3.2 Running the tests
To run the tests use:
cd imbutil
pytest
3.3 Adding documentation
The 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.
Additionally, if you update this README.rst file, use python setup.py checkdocs to validate it compiles.
4 Credits
Created by Shay Palachy (shay.palachy@gmail.com).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for imbutil-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0838c955d2fa4a16789d714ea6e51d713940df69328d5691cd6325b7326e43e |
|
MD5 | 993eda1ec716b5ab5c9618f6b3370828 |
|
BLAKE2b-256 | 84f1a06947a52d633ab67242ada4790cf6996f1724f01e47d86dce1a0e4ce615 |