MaskByTarget#

class sdm.prior.tabular.transform.MaskByTarget(*, rows: tuple[float, float] = (0.1, 0.3), num_columns: tuple[int, int] = (1, 3))#

Bases: PriorTransform

Mask feature rows selected by a target class or numerical tail.

Parameters:
  • rows (tuple[float, float]) – Range for the fraction selected from a numerical target tail.

  • num_columns (tuple[int, int]) – Inclusive range for the number of columns to mask.