PartitioningDTBacktestConfig#
- class datarobotx.PartitioningDTBacktestConfig(index=None, validation_start_date=None, gap_duration=None, validation_duration=None, validation_end_date=None, primary_training_start_date=None, primary_training_end_date=None)#
Date-time backtest configuration.
Parameters that default to ‘None’ (or are omitted by the user) are overridden to server-side defaults at runtime. Consult the DataRobot REST API and GUI documentation for additional information on each parameter.
- Parameters:
index (int) – The index from zero of the backtest specified by this object.
validation_start_date (str) – A datetime string representing the start date of the validation data for this backtest.
gap_duration (str) – A duration string representing the duration of the gap between the training and the validation data for this backtest.
validation_duration (str) – A duration string representing the duration of the validation data for this backtest.
validation_end_date (str) – A datetime string representing the end date of the validation data for this backtest.
primary_training_start_date (str) – A datetime string representing the start date of the primary training data for this backtest.
primary_training_end_date (str) – A datetime string representing the end date of the primary training data for this backtest.
See also
DRConfig
Configuration object for DataRobot project and autopilot settings, also includes detailed examples of usage
Attributes:
A duration string representing the duration of the gap between the training and the validation data for this backtest.
The index from zero of the backtest specified by this object.
A datetime string representing the end date of the primary training data for this backtest.
A datetime string representing the start date of the primary training data for this backtest.
A duration string representing the duration of the validation data for this backtest.
A datetime string representing the end date of the validation data for this backtest.
A datetime string representing the start date of the validation data for this backtest.
Inherited methods:
keys
()- rtype:
to_dict
()Return configuration as a dict.
- property gap_duration: str#
A duration string representing the duration of the gap between the training and the validation data for this backtest.
Notes
gap_duration : str
- property index: int#
The index from zero of the backtest specified by this object.
Notes
index : int
- property primary_training_end_date: str#
A datetime string representing the end date of the primary training data for this backtest.
Notes
primary_training_end_date : str
- property primary_training_start_date: str#
A datetime string representing the start date of the primary training data for this backtest.
Notes
primary_training_start_date : str
- property validation_duration: str#
A duration string representing the duration of the validation data for this backtest.
Notes
validation_duration : str