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.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for bias_correction-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb658eb3ac8ff690fad86fd60b384f1053ed89a4db80ec77a76d6f9e7e3b6352 |
|
MD5 | ea41b2e6d8db8b64b8850916ab8aa6ee |
|
BLAKE2b-256 | 18eef913f6bfacfb8a1cca14bed79405fcb1b67807859e5e9befe498d0f0d923 |