whylogs.io.local_dataset¶
Module Contents¶
Classes¶
Helper class that provides a standard way to create an ABC using |
|
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.ABCHelper 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:
DatasetHelper 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)¶