skqulacs.dataloader module#
- class skqulacs.dataloader.DataLoader(x: numpy.ndarray[Any, numpy.dtype[numpy.float64]], y: numpy.ndarray[Any, numpy.dtype[numpy.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: numpy.ndarray[Any, numpy.dtype[numpy.float64]]#
- y: numpy.ndarray[Any, numpy.dtype[numpy.float64]]#