Skip to content

No shuffle

NoShuffle #

NoShuffle(value: bool = True)

Bases: RapidataSetting

Only for classify tasks. If true, the order of the categories will be the same.

If this is not added to the order, it shuffling will be active.

Parameters:

Name Type Description Default
value bool

Whether to disable shuffling. Defaults to True for function call.

True
Source code in src/rapidata/rapidata_client/settings/no_shuffle.py
def __init__(self, value: bool = True):
    if not isinstance(value, bool):
        raise ValueError("The value must be a boolean.")

    super().__init__(key="no_shuffle", value=value)