whylogs.io.local_dataset

Module Contents

Classes

Dataset

Helper class that provides a standard way to create an ABC using

LocalDataset

Helper class that provides a standard way to create an ABC using

class whylogs.io.local_dataset.Dataset(root_folder: str = '', feature_transforms: Optional[List[Callable]] = None)

Bases: abc.ABC

Helper class that provides a standard way to create an ABC using inheritance.

abstract __getitem__(self, index: int)Any
abstract __len__(self)int
__repr__(self)str

Return repr(self).

class whylogs.io.local_dataset.LocalDataset(root_folder, loader: Callable[[str], Any] = file_loader, extensions: List[str] = EXTENSIONS, feature_transforms: Optional[List[Callable]] = None, valid_file: Optional[Callable[[str], bool]] = valid_file)

Bases: Dataset

Helper class that provides a standard way to create an ABC using inheritance.

_find_folder_feature(self)None
_init_dataset(self)List[Tuple[str, int]]
__getitem__(self, index: int)Tuple[Any, Any]
__len__(self)