MaskBlock#

class sdm.prior.tabular.transform.MaskBlock(*, rows: tuple[float, float] = (0.1, 0.3), num_columns: tuple[int, int] = (2, 5))#

Bases: PriorTransform

Mask the same random rows in a fixed number of feature columns.

Parameters:
  • rows (tuple[float, float]) – Range for the fraction of rows to mask.

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