inferpy.data package¶
Submodules¶
inferpy.data.loaders module¶
-
class
inferpy.data.loaders.CsvLoader(path, var_dict=None, has_header=None, force_eager=False)[source]¶ Bases:
inferpy.data.loaders.DataLoaderThis class implements a data loader for datasets in CSV format
-
class
inferpy.data.loaders.DataLoader[source]¶ Bases:
objectThis class defines the basic functionality of any DataLoader
-
property
map_batch_fn¶ Returns a function that transforms each tensor batch
-
property
shuffle_buffer_size¶ Size of the shuffle size where 1 means no shuffle
-
property
size¶ Total number of instances in the data
-
property
variables¶ List of variables over which is the dataset defined
-
property
-
class
inferpy.data.loaders.SampleDictLoader(sample_dict)[source]¶ Bases:
inferpy.data.loaders.DataLoaderThis class implements a data loader for datasets in memory stored as dictionaries