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
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.2.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for bias_correction-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f31c46350abe28481a5b958937355ea0068d3d3b38eec6a15a134209a87f4c20 |
|
MD5 | a9af5e47b4eba6db7050d796a585f09a |
|
BLAKE2b-256 | cf945bccbf7ad16121999fe3dadacd8f74aed6fd82961f47a087a774db9af347 |