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')