MAG OptiAI

Operational AI Input Specs

Forecasting Input Specs

Use this guide to prepare the CSV accepted by the Forecasting workspace. Every upload needs a timestamp column plus a numeric target column, and the workspace supports both single-variate uploads and multivariate uploads with additional numeric driver columns.

Where to start

  1. Step 1

    Prepare historical observations

    Choose the series to forecast. Use one row per observation with a timestamp and the numeric value you want to predict.

  2. Step 2

    Choose the model workflow

    Upload the data for training. A forecast using an existing trained version uses that version’s expected series and driver names.

Prepare your input

Use Download templates or Download samples in the Forecasting workspace. Choose the single-series example for date and target, or the version with numeric drivers when those inputs belong in your model.

Single-variate Forecast CSV

Use this shape when the scenario is driven only by the historical target series. The CSV needs one timestamp column and one numeric target column.

Required file

forecast-series.csv

Single time-series dataset used for Forecasting lifecycle training and forecast runs.

Requirements

Required / alternative columns

  • date or ds
  • y

Optional columns

  • numeric driver columns such as ad_spend, promo_index, price_index

Approved aliases

  • date: ds

Format limitations

  • Timestamp values currently use YYYY-MM-DD or ISO datetime formats.

Unsupported currently

  • Nonnumeric driver columns are not used as model features; they are warned and ignored.

Value rules and examples

  • Include either a date column or a ds column plus a numeric y column.
  • Current timestamp policy accepts YYYY-MM-DD or ISO datetime values; broader date parsing is not part of this contract.
  • Nonnumeric driver columns are surfaced as warnings and ignored rather than used as model features.
  • Any extra columns should be numeric when you want driver-aware runs to use them.

Example rows

dateyad_spendpromo_index
2024-01-0141018.21.04
2024-01-0241818.61.03
  • Every Forecasting upload needs either date or ds together with y.
  • Single-variate uploads should stop at the timestamp and target columns.
  • Use clean ISO-style timestamps when possible so the workspace can infer frequency reliably.

Multivariate Forecast CSV

Use this shape when you want Forecasting to score the target together with additional numeric driver columns such as spend, price, or demand drivers.

Required file

forecast-series.csv

Single time-series dataset used for Forecasting lifecycle training and forecast runs.

Requirements

Required / alternative columns

  • date or ds
  • y

Optional columns

  • numeric driver columns such as ad_spend, promo_index, price_index

Approved aliases

  • date: ds

Format limitations

  • Timestamp values currently use YYYY-MM-DD or ISO datetime formats.

Unsupported currently

  • Nonnumeric driver columns are not used as model features; they are warned and ignored.

Value rules and examples

  • Include either a date column or a ds column plus a numeric y column.
  • Current timestamp policy accepts YYYY-MM-DD or ISO datetime values; broader date parsing is not part of this contract.
  • Nonnumeric driver columns are surfaced as warnings and ignored rather than used as model features.
  • Any extra columns should be numeric when you want driver-aware runs to use them.

Example rows

dateyad_spendpromo_index
2024-01-0141018.21.04
2024-01-0241818.61.03
  • Multivariate uploads still need the same base timestamp and y columns as every Forecasting run.
  • Additional driver columns should stay numeric so the workspace can treat them as valid multivariate inputs.
  • Classical univariate methods and driver-aware runs do not rely on the same shape, so keep the driver columns only when you need them.

Check your inputs

  1. Use a date or ds column and numeric y. Review the detected date range, target, and any numeric driver columns before training.
  2. Future drivers are optional execution assumptions where the saved version supports them. If you provide them, match the saved driver names and the requested forecast dates.