> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tabsutra.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Outputs

> Probabilities, predicted distributions, intervals and reports.

## Classification

For each row, the model returns a probability for each class. The probabilities of a row add up to one. The label is the class with the highest probability.

```json theme={null}
{"id": "A2001", "label": "no", "probabilities": {"no": 0.91, "yes": 0.09}}
```

The classes are the classes seen in the context. A class that never appears in the context cannot be predicted. A table may have up to 32 classes.

If you will use the probabilities directly, for example as a probability of default in pricing or provisioning, check their calibration on held-out rows first. Compare the mean predicted probability with the observed rate in bands of the score.

## Regression

For each row, the model returns a full predicted distribution of the answer. You choose what to read from it.

| Output | Meaning |
| - | - |
| `mean` | The mean of the predicted distribution. Use it when errors are measured as squared errors. |
| `median` | The middle of the distribution. Use it when errors are measured as absolute errors. |
| `quantiles` | The answer at any level you ask for, such as 0.1, 0.5 and 0.9. |
| `interval` | The central interval that holds a given share of the distribution, 80% by default. |

```json theme={null}
{
  "id": "AC104233",
  "mean": 18.4,
  "median": 16.9,
  "quantiles": {"0.1": 4.2, "0.5": 16.9, "0.9": 35.0},
  "interval": {"coverage": 0.8, "low": 4.2, "high": 35.0}
}
```

Choose the outputs with `outputs`, the levels with `quantiles`, and the interval's coverage with `coverage`.

When the answer cannot leave a range, such as a share between 0 and 100 or an amount that cannot be negative, pass `target_range`. Every quantile is then clipped to the range, and the report gives the share of quantiles that were clipped. A large share means the model's distribution often runs past the range, and the clipped mean then sits slightly off the unclipped one.

## Forecasts

A forecast gives one prediction for each future step of each series. Each has the same form as a regression prediction, with the series, the time and the step number.

```json theme={null}
{"series": "store_12/sku_4471", "time": "2026-12-02", "step": 2,
 "mean": 14.6, "median": 13.0, "quantiles": {"0.1": 6.0, "0.5": 13.0, "0.9": 25.0}}
```

The quantiles of each step are the predicted distribution of that step on its own. The quantiles of a sum over several steps, such as a weekly total, are not the sums of the daily quantiles. The mean of a sum is the sum of the means, so use the means when you add steps or series together.

## Group answers

When a table has a group answer, such as an account's total recovery, each row also carries `group`. This is the prediction of the group's answer as of that row's time. It has the same form as any other prediction.

```json theme={null}
{
  "id": "AC1042-2026-10",
  "median": 3.1,
  "group": {"median": 41.0, "interval": {"coverage": 0.8, "low": 22.5, "high": 63.0}}
}
```

## Recommendation lists

A recommendation gives, for each row, a list of items with the best first. Each item has its rank and the model's probability that the link will happen in the window.

```json theme={null}
{
  "id": "C0079",
  "items": [
    {"item": 104, "rank": 1, "probability": 0.31, "filled_from_popular": false},
    {"item": 101, "rank": 2, "probability": 0.22, "filled_from_popular": false}
  ]
}
```

When the model finds fewer suitable items than the length of the list you asked for, the rest of the list is filled with the items most often picked in the window before. Those items are marked with `filled_from_popular`, and they have no probability.

## File formats

The file endpoints return JSON by default. Pass `format=csv` or `format=parquet` to get a table instead. A regression table has the columns `mean`, `median`, one column per quantile, `interval_low` and `interval_high`. Group answers add the same columns with the prefix `group_`.

A forecast table has one row per series and step, with the columns `series`, `time` and `step` in front.

## Explanations

Any prediction request can ask for explanations with `"explain": true`. Each prediction then carries the contribution of each input to it. See [Explanations](https://docs.tabsutra.com/concepts/explainability.md).

## The report

Every response has a `report`. It records what the model did, so that you can check it. It includes:

* the model version, which changes whenever the model file changes;
* the type of each column and the reason for it;
* the rows left out and why, such as rows without an answer or without a date;
* the time taken and the device used;
* warnings, each with a count, the ids of up to 20 rows, and a note in words.

Keep the model version with your predictions. Together with your input, it fully determines the output.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.