Skip to main content
Predict future values from past ones. The dataset is a single CSV where every row is one time step: a timestamp column, numeric feature columns and a numeric target. Rows must be in chronological order.

Folder layout

Data CSV

Categorical features (region, segment, …) must be encoded as integers before ingest: every non-timestamp column in schema must be numeric.

Ingest with the CLI

Pass the CSV file, or a folder that holds only that CSV. Ingest the training and the test split separately:
--label-policy bucket is the default. Without --schema, the CLI infers a type for every column and types timestamp as DATETIME or DATE, which the ingestor also accepts; pass --schema (quoted) to pin the types, as above. --schema replaces the inferred schema, so list every column you want stored. Including the label column in --schema is fine: the ingestor drops it from the stored schema.

ingest.yaml

What the ingestor checks

Plus the checks every ingest runs. There is no label-diversity check.

Sample dataset

The template ships 31 daily rows starting 2023-10-01 with calendar features (day_of_week, month, day_of_month, week_of_year, is_weekend as INT), lag and moving-average features (lag_1, moving_avg_7 as FLOAT, blank until enough history exists) and the target value — the rows shown above are from it. The ingest.yaml above ingests it as is; only csv: changes to wherever you staged the file.

Model settings for this dataset

When you link a model, the platform checks num_feature_points against the dataset (see model parameters by task). It must equal the number of stored columns minus the target and timestamp. For the sample, that is 7. The model-zoo templates default to 9 (1 for TimesFM), so edit it. Feature columns reach the model sorted by column name, whatever order the CSV or schema uses. The test split must hold at least sequence_length + forecast_horizon rows, or evaluation fails with Not enough data to create sequences. Training shortens sequence_length with a warning when the training split is too short, but evaluation does not. The model-zoo templates default to a sequence_length of 60 or 96 (512 for TimesFM), so lower it for a short series: with the 31-row sample as the test split, sequence_length + forecast_horizon must be 31 or less. By default, when the data has feature columns besides timestamp and the target, the target is scaled to the 0–1 range (MinMaxScaler) before training, so error metrics such as MAE, RMSE and MAPE are in scaled units, not in your data’s units. The accuracy value that a forecasting run reports has no meaning for this task.

Next steps