Closed eonu closed 2 years ago
Implements #141 and partially #194 by adding sequentia.datasets.
sequentia.datasets
sequentia.datasets.load_digits
lib/sequentia/datasets/data/digits.npz
sequentia.datasets.base.Dataset
sequentia.datasets.base.TorchDataset
torch
_Validator.is_observation_sequences()
dtype
numpy.ndarray
numpy.float32
numpy.float64
KNNClassifier
check_package
lib/sequentia/internals/versions.py
is_torch_installed()
torchaudio
torchvision
torchfsdd
README.md
notebooks/nbutils.py
play_audio
Implements #141 and partially #194 by adding
sequentia.datasets
.Major changes
sequentia.datasets
module:sequentia.datasets.load_digits
for loading the Free Spoken Digit Dataset (stored inlib/sequentia/datasets/data/digits.npz
).sequentia.datasets.base.Dataset
for representing generic dataset objects.sequentia.datasets.base.TorchDataset
for representingtorch
-compatible datasets.sequentia.datasets
._Validator.is_observation_sequences()
to accept a specificdtype
fornumpy.ndarray
objects (defaults tonumpy.float32
).numpy.float64
forKNNClassifier
.check_package
intolib/sequentia/internals/versions.py
and also addis_torch_installed()
for checkingtorch
versions.torchaudio
,torchvision
andtorchfsdd
dependencies.Minor changes
README.md
.torch
compatibilty.notebooks/nbutils.py
with a helper functionplay_audio
for playing audio samples fromnumpy.ndarray
objects.