vkML 0.1.0

ArrayDataset

A dataset over one or more equal-length NumPy arrays.

class ArrayDataset : Datasetpython/vkml/data.py:96

Indexing yields a tuple with one element per array, so features and labels stay aligned by construction rather than by convention.

Construction

__init__

def __init__self, *arrays: _np.ndarraypython/vkml/data.py:104

Access

__len__

def __len__self -> intpython/vkml/data.py:114

__getitem__

def __getitem__self, indices: _np.ndarray -> tuple[_np.ndarray, ...]python/vkml/data.py:117

See also DataLoader

vkML — Vulkan-first machine learning in C++20. Apache-2.0. Signatures on this page are generated from the installed module.