vak.datasets.parametric_umap.parametric_umap.ParametricUMAPInferenceDataset#

class vak.datasets.parametric_umap.parametric_umap.ParametricUMAPInferenceDataset(data: ndarray[Any, dtype[_ScalarType_co]], dataset_df: DataFrame, transform: Callable | None = None)[source]#

Bases: Dataset

__init__(data: ndarray[Any, dtype[_ScalarType_co]], dataset_df: DataFrame, transform: Callable | None = None)[source]#

Methods

__init__(data, dataset_df[, transform])

from_dataset_path(dataset_path, split[, ...])

param dataset_path:

Path to a directory that represents a dataset.

Attributes

duration

shape

classmethod from_dataset_path(dataset_path: str | Path, split: str, n_neighbors: int = 10, metric: str = 'euclidean', random_state: int | None = None, n_epochs: int = 200, transform: Callable | None = None)[source]#
Parameters:
  • dataset_path (str, pathlib.Path) – Path to a directory that represents a dataset.

  • split –

  • n_neighbors –

  • metric –

  • random_state –

  • n_epochs –

  • transform –