tempor.data.settings module

Settings for TemporAI data handling.

class tempor.data.settings.DataSettings(sample_index_name: str = 'sample_idx', time_index_name: str = 'time_idx', default_padding_indicator: float = 999.0)[source]

Bases: object

Dataclass containing TemporAI data settings, such as configuration for data validation.

static_value_dtypes : ClassVar[list[type | Literal[category] | Literal[datetime]]] = [<class 'bool'>, <class 'int'>, <class 'float'>, 'category']
time_series_value_dtypes : ClassVar[list[type | Literal[category] | Literal[datetime]]] = [<class 'bool'>, <class 'int'>, <class 'float'>, 'category']
event_value_dtypes : ClassVar[list[type | Literal[category] | Literal[datetime]]] = [<class 'bool'>]
sample_index_dtypes : ClassVar[list[type | Literal[category] | Literal[datetime]]] = [<class 'int'>, <class 'str'>]
time_index_dtypes : ClassVar[list[type | Literal[category] | Literal[datetime]]] = ['datetime', <class 'int'>, <class 'float'>]
feature_index_dtypes : ClassVar[list[type | Literal[category] | Literal[datetime]]] = [<class 'str'>]
sample_index_unique : ClassVar[bool] = True
sample_timestep_index_unique : ClassVar[bool] = True
sample_index_nullable : ClassVar[bool] = False
time_index_nullable : ClassVar[bool] = False
feature_index_nullable : ClassVar[bool] = False
static_values_nullable : ClassVar[bool] = True
time_series_values_nullable : ClassVar[bool] = True
event_values_nullable : ClassVar[bool] = False
sample_index_name : str = 'sample_idx'
time_index_name : str = 'time_idx'
default_padding_indicator : float = 999.0
tempor.data.settings.DATA_SETTINGS = DataSettings(sample_index_name='sample_idx', time_index_name='time_idx', default_padding_indicator=999.0)

TemporAI data settings.