python library for bias_correction
Project description
About
The module bias_correction
consists of functions to perform bias correction of datasets to remove biases across datasets. Implemented methods include quantile mapping, modified quantile mapping , scaled distribution mapping (Gamma and Normal Corrections).
Installation
pip install bias-correction
Documentation
Latest documentation is available here.
Usage
bias_correction
is easy to use. Just import:
from bias_correction import BiasCorrection
Instantiate the bias correction class as:
bc = BiasCorrection(reference, model, data_to_be_corrected)
Perform correction specifying the method to be used:
corrected = bc.correct(method='gamma_mapping')
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
bias_correction-0.3.1.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for bias_correction-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c99d7fa36709265ea8b88fbc3f24853790b89fb0cd58434aed943ed98145d06a |
|
MD5 | 6c5c0d5c84ef4c488f6e1d07379642b6 |
|
BLAKE2b-256 | 9c613904782a46ed65e48b2fe92c649865091787f60c1650e66215660931dc21 |