kurkutesa / bias_correction

python library for bias correction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

python library for bias correction

License:MIT License


Languages

Language:Jupyter Notebook 93.2%Language:Python 6.8%