ClipQuantiles#

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

Bases: Processor

Clamp each numerical column to its fitted quantile bounds.

Values outside the fitted bounds are discarded, so this processor is not invertible. Bounds are fitted independently for each 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

✅