ClipQuantiles#

class sdm.processing.numerical.ClipQuantiles(*, q_low: float = 0.0, q_high: float = 1.0)#

Bases: Processor

Clamp feature columns to fitted quantile bounds.

Values outside the fitted bounds are discarded, so this processor is not invertible. Quantile transform bounds are fitted independently for each feature column.

Parameters:
  • q_low (float) – Lower quantile in [0, 1] used as the per-column lower bound.

  • q_high (float) – Upper quantile in [0, 1] used as the per-column upper bound. Must satisfy 0 <= q_low <= q_high <= 1.

Capabilities#

Handled Semantic Types

numerical

Requires Fitting

✅