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:
objectDataclass 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'>]¶
-
static_value_dtypes : ClassVar[list[type | Literal[category] | Literal[datetime]]] =
-
tempor.data.settings.DATA_SETTINGS =
DataSettings(sample_index_name='sample_idx', time_index_name='time_idx', default_padding_indicator=999.0)¶ TemporAI data settings.