deepr.prepros.Take

class deepr.prepros.Take(count=None)[source]

Creates a dataset with at most count elements.

count

Cap the number of elements of a dataset to this number. Using None means no capping (will not apply the take transformation).

Type:

int

__init__(count=None)[source]

Methods

__init__([count])

apply(dataset[, mode])

Pre-process a dataset