QuantileTransform#
- class sdm.processing.numerical.QuantileTransform(*, n_quantiles: int = 1000, subsample: int | None = 10000, output_distribution: Literal['uniform', 'normal'] = 'uniform')#
Bases:
Processor,InvertibleMixinMap numerical columns through their empirical quantiles.
QuantileTransform grids are capped by the number of fitted rows and, when
subsampleis set, by20%of the subsample size to keep dense grids tractable.The subsample rows are drawn from the
generatorpassed tofit(); without one, they are drawn from the data device’s global generator.
Capabilities#
Handled Semantic Types |
|
Requires Fitting |
✅ |