deepr.prepros.Repeat

class deepr.prepros.Repeat(count=None, modes=None)[source]

Repeats a dataset so each original value is seen count times.

count

Number of dataset repeat, if None or -1, repeat forever.

Type:

int

modes

Active modes for the map (will skip modes not in modes). Default is None (all modes are considered active modes).

Type:

Iterable[str], Optional

__init__(count=None, modes=None)[source]

Methods

__init__([count, modes])

apply(dataset[, mode])

Pre-process a dataset