numpy_dataset
NumpyDataset
ΒΆ
Bases: InMemoryDataset
A dataset constructed from a dictionary of Numpy data or list of data.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
data |
Dict[str, Union[np.ndarray, List]]
|
A dictionary of data like {"key1": |
required |
Raises:
Type | Description |
---|---|
AssertionError
|
If any of the Numpy arrays or lists have differing numbers of elements. |
ValueError
|
If any dictionary value is not instance of Numpy array or list. |