API, HEADERS and records set up in the Quickstart.
Fit and predict
/v1/fit are:
The rows you predict need the same columns as the context, apart from the target. Extra columns are allowed. They are not read, and the report lists them.
Large contexts
The model reads every context row. With a very large table you may want to limit the context, for speed. Withmax_context, the same table always keeps the same rows, whatever order its rows arrive in. The report says how many rows were left out.
Fill
When the rows to predict are in the same table as the context, leave their target empty and call/v1/fill. The rows with a target are the context, and the rows with an empty target are predicted.
Evaluate
/v1/evaluate holds out a share of the rows, predicts them from the rest, and scores the predictions.
time_column, the latest rows are held out instead. See Sequences.
The scores are:
The share of rows inside the 80% interval should be close to 0.8. If it is much lower, the intervals are too narrow for your data.
Files
Each call has a-file variant, such as /v1/fit-file and /v1/predict-file, that takes a CSV or Parquet file and the settings as form fields. A predict call can return JSON, CSV or Parquet, as you choose with format.