end_time
end_time: <integer | str>
(Optional)
Description
Defines the timestamp for the ending of the training data or numerical offset from the most recent entry to not use to generate training data labels. Unless a custom time unit is specified in the aggregation, this value is in days
. This can be used to make sure the query only generates labels on data from the last end_time
days. Regardless of this value, all data is used as an input to the model, but this value can help limit what labels are generated.
end_time
needs to be <= 0 or the string format of a timestamp, i.e. ‘2024-04-01’- If used at the same time as
start_time
,end_time
should be strictly larger.
Supported Task Types
- Temporal
Example
For example, you may want to only use training examples for customers that churned in the last year, but those customers may have 10 years of data that we will use for training the model.
This only applies to temporal queries (queries that include a temporal aggregation such as SUM(TRANSACTIONS.AMOUNT, 0, 2, days)
) The unit of this step is the same as the unit in the aggregation.
Default Values
run_mode | Default Value |
---|---|
FAST | None |
NORMAL | None |
BEST | None |