A data frame with 'TimeGPT''s cross validation result.
Arguments
df
A data frame with time series data.
h
Forecast horizon.
freq
Frequency of the data.
id_col
Column that identifies each series.
time_col
Column that identifies each timestep.
target_col
Column that contains the target variable.
level
The confidence levels (0-100) for the prediction intervals.
quantiles
Quantiles to forecast. Should be between 0 and 1.
n_windows
Number of windows to evaluate.
step_size
Step size between each cross validation window. If NULL, it will equal the forecast horizon (h).
finetune_steps
Number of steps used to finetune 'TimeGPT' in the new data.
finetune_loss
Loss function to use for finetuning. Options are: "default", "mae", "mse", "rmse", "mape", and "smape".
clean_ex_first
Clean exogenous signal before making the forecasts using 'TimeGPT'.
model
Model to use, either "timegpt-1" or "timegpt-1-long-horizon". Use "timegpt-1-long-horizon" if you want to forecast more than one seasonal period given the frequency of the data.