Skip to content

banknote

Bases: tabular_dataloader

A dataloader class for the Banknote Authentication dataset.

This class extends the tabular_dataloader class to load and process the Banknote Authentication dataset. The dataset contains features extracted from images of real and forged banknotes.

Attributes:

Name Type Description
name str, default = 'banknote_dataset'

The name of the dataset.

data_contents (list or tuple, optional)

The contents of the Banknote Authentication dataset, typically provided as a list of data entries.

Methods:

Name Description
__init__

Initializes the Banknote Authentication dataset dataloader.

Source code in tinybig/data/tabular_dataloader.py
class banknote(tabular_dataloader):
    """
    A dataloader class for the Banknote Authentication dataset.

    This class extends the `tabular_dataloader` class to load and process the Banknote Authentication dataset.
    The dataset contains features extracted from images of real and forged banknotes.

    Attributes
    ----------
    name : str, default = 'banknote_dataset'
        The name of the dataset.
    data_contents : list or tuple, optional
        The contents of the Banknote Authentication dataset, typically provided as a list of data entries.

    Methods
    ----------
    __init__(name, data_contents, ...)
        Initializes the Banknote Authentication dataset dataloader.
    """
    def __init__(self, name='banknote_dataset', data_contents=Banknote_Dataset, *args, **kwargs):
        """
        Initializes the Banknote Authentication dataset dataloader.

        Parameters
        ----------
        name : str, default = 'banknote_dataset'
            The name of the dataset.
        data_contents : list or tuple, optional
            The contents of the Banknote Authentication dataset.

        Returns
        -------
        None
        """
        super().__init__(name=name, data_contents=data_contents, *args, **kwargs)

__init__(name='banknote_dataset', data_contents=Banknote_Dataset, *args, **kwargs)

Initializes the Banknote Authentication dataset dataloader.

Parameters:

Name Type Description Default
name str

The name of the dataset.

= 'banknote_dataset'
data_contents list or tuple

The contents of the Banknote Authentication dataset.

Banknote_Dataset

Returns:

Type Description
None
Source code in tinybig/data/tabular_dataloader.py
def __init__(self, name='banknote_dataset', data_contents=Banknote_Dataset, *args, **kwargs):
    """
    Initializes the Banknote Authentication dataset dataloader.

    Parameters
    ----------
    name : str, default = 'banknote_dataset'
        The name of the dataset.
    data_contents : list or tuple, optional
        The contents of the Banknote Authentication dataset.

    Returns
    -------
    None
    """
    super().__init__(name=name, data_contents=data_contents, *args, **kwargs)