Clip#

class sdm.processing.numerical.Clip(min_value: float, max_value: float)#

Bases: Processor

Clamp numerical values to a fixed interval.

Values below min_value are set to min_value, and values above max_value are set to max_value. Values within the interval are unchanged.

Parameters:
  • min_value (float) – Inclusive lower bound for every numerical value.

  • max_value (float) – Inclusive upper bound for every numerical value.

Capabilities#

Handled Semantic Types

numerical

Requires Fitting

❌