skdownscale.pointwise_models.QuantileMappingReressor¶
- class skdownscale.pointwise_models.QuantileMappingReressor(extrapolate=None, n_endpoints=10)[source]¶
Transform features using quantile mapping.
- Parameters
- extrapolatestr, optional
How to extend the cdfs at the tails. Valid options include {‘min’, ‘max’, ‘both’, ‘1to1’, None}
- n_endpointsint
Number of endpoints to include when extrapolating the tails of the cdf
- Attributes
- _X_cdfCdf
NamedTuple representing the fit’s X cdf
- _y_cdfCdf
NamedTuple representing the fit’s y cdf
Methods
fit
(X, y, **kwargs)Fit the quantile mapping regression model.
get_params
([deep])Get parameters for this estimator.
predict
(X, **kwargs)Predict regression for target X.
score
(X, y[, sample_weight])Return the coefficient of determination of the prediction.
set_params
(**params)Set the parameters of this estimator.
Methods
__init__
([extrapolate, n_endpoints])fit
(X, y, **kwargs)Fit the quantile mapping regression model.
get_params
([deep])Get parameters for this estimator.
predict
(X, **kwargs)Predict regression for target X.
score
(X, y[, sample_weight])Return the coefficient of determination of the prediction.
set_params
(**params)Set the parameters of this estimator.