MaskRows#

class sdm.prior.tabular.transform.MaskRows(*, rows: tuple[float, float] = (0.05, 0.2), columns: tuple[float, float] = (0.5, 0.9))#

Bases: PriorTransform

Mask the same random rows in a fraction of feature columns.

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

  • columns (tuple[float, float]) – Range for the fraction of feature columns to mask.