skqulacs.dataloader module#

class skqulacs.dataloader.DataLoader(x: ndarray[Any, dtype[float64]], y: ndarray[Any, dtype[float64]], batch_size: int = 1, shuffle: bool = False, seed: Optional[int] = None)[source]#

Bases: object

Data loader. This class is an iterator that yields mini-batches. Their size is specified by batch_size argument. You can specify whether to shuffle the data or not by shuffle argument.

batch_size: int = 1#
seed: Optional[int] = None#
shuffle: bool = False#
x: ndarray[Any, dtype[float64]]#
y: ndarray[Any, dtype[float64]]#