__call__#

OfflinePreLearner.__call__(batch: Dict[str, ndarray]) Dict[str, ndarray][source]#

Maps raw ingested data to episodes and runs the Learner pipeline.

Parameters:

batch (Dict[str, ndarray]) – A dictionary of numpy arrays where each numpy array represents a column of the dataset.

Returns:

A flattened dict representing a batch that can be passed to Learner.update methods.

Return type:

Dict[str, ndarray]