skdownscale.pointwise_models.QuantileMapper

class skdownscale.pointwise_models.QuantileMapper(detrend=False, lt_kwargs=None, qt_kwargs=None)[source]

Transform features using quantile mapping.

Parameters
detrendboolean, optional

If True, detrend the data before quantile mapping and add the trend back after transforming. Default is False.

lt_kwargsdict, optional

Dictionary of keyword arguments to pass to the LinearTrendTransformer

qm_kwargsdict, optional

Dictionary of keyword arguments to pass to the QuantileMapper

Attributes
x_cdf_fit_QuantileTransformer

QuantileTranform for fit(X)

Methods

fit(X[, y])

Fit the quantile mapping model.

fit_transform(X[, y])

Fit to data, then transform it.

get_params([deep])

Get parameters for this estimator.

set_params(**params)

Set the parameters of this estimator.

transform(X)

Perform the quantile mapping.

__init__(detrend=False, lt_kwargs=None, qt_kwargs=None)[source]

Methods

__init__([detrend, lt_kwargs, qt_kwargs])

fit(X[, y])

Fit the quantile mapping model.

fit_transform(X[, y])

Fit to data, then transform it.

get_params([deep])

Get parameters for this estimator.

set_params(**params)

Set the parameters of this estimator.

transform(X)

Perform the quantile mapping.