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.Regression
For each row, the model returns a full predicted distribution of the answer. You choose what to read from it.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.Group answers
When a table has a group answer, such as an account’s total recovery, each row also carriesgroup. This is the prediction of the group’s answer as of that row’s time. It has the same form as any other prediction.
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.filled_from_popular, and they have no probability.
File formats
The file endpoints return JSON by default. Passformat=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.
The report
Every response has areport. 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.