storage.batch_storage#

This module contains the batch storage.

Classes

BatchStorage([store_targets])

A Batch Storage storing all seen samples.

class storage.batch_storage.BatchStorage(store_targets=True)[source]#

Bases: BaseStorage

A Batch Storage storing all seen samples.

update(x, y=None)[source]#

Given a data point, it updates the storage. :type x: dict :param x: Features as List of Dicts :type y: Optional[Any] :param y: Target as float or integer

Returns:

None