Skip to content

Predict: predict with AI

The Predict tab of a data app helps you anticipate something from your data: which customers will leave, how much an order will reach, which leads will sign. You describe your need in a few words, and an AI agent runs the project: it reads your data, builds a model, evaluates it, then asks you whether it can put it in service. You do not need to know machine learning: the agent asks its questions in plain language.

WordWhat it means
TargetThe column you want to predict, for example “does the customer leave within 60 days?”.
ModelThe program the agent builds from your past data to guess the target on new cases.
MetricThe number that measures how often the model is wrong; it is what lets you compare two models.
Data leakageA column that contains the answer “ahead of time” (for example a cancellation date to predict cancellation): the model looks excellent on the past but will not work on new cases, where that information does not exist yet.

Use Predict when your question is about the future or about an unknown case: “who will…”, “how much will…”, “which group does … belong to”. To look at what happened, use Report instead.

You need at least one dataset linked to the app, with a history where the answer is known (for example your customers from past years, knowing which ones left).

When the project has not started yet, the tab shows a home page.

Predict home page with the input field, the Auto pill, the suggestions and Available data

  1. Read the Available data section: these are the datasets and live sources the agent can use.
  2. In the field under What problem do we want to work on?, describe your need in one or two sentences. Say what you want to anticipate and why.
  3. Press Enter or click the arrow.

You can also start from an idea under Or start with a suggestion. These ideas are generated from your data when the app is created (while they are being generated, you see “Looking for ideas in your data…”).

After sending, a Problem framing block appears marked “in progress”, and the Project progress panel opens on the right. If the start fails, a message asks you to try again in a moment.

If your organization has turned on the data app assistant (a single chat across the four tabs), Predict has neither a home page nor a chat of its own:

  • describe your need in the app chat, opened with Ask a question (the same chat as on Report, Prepare and Workflow); the assistant starts the framing and a Problem framing block appears under its answer;
  • the framing’s questions show in that block, with their options: answer them there, or open the ticket page;
  • the Project progress panel fills the tab, with the Auto pill at its foot;
  • the end of the framing is announced in the chat: that is where you ask for a first training.

The screen has two columns: the chat on the left, the Project progress panel on the right. You can drag the divider to change the width, or click the ‹ handle to hide the chat; the Chat button brings it back.

The project goes through three phases:

  1. Framing. The agent reads your data, rephrases your need, picks the target, decides which columns to keep and how to evaluate the model.
  2. The agent’s steps. The agent builds and compares models. Each task it launches is a “step”.
  3. The decision. When a model holds up, the agent asks you whether the prediction is acceptable and whether you want to use it.

The chat only shows the dialogue: what the agent says, its questions and your answers. The technical detail (charts, calculations, code) is on the page of each step.

The thread is a series of expandable blocks, one per step, in chronological order. Each block has a title, a time and a status: “to do”, “in progress”, “your turn”, “done”, “failed” or “cancelled”. A finished block is collapsed; a block in progress or waiting for your answer is open, with an orange border when the agent is waiting for something from you. Questions asked during a step are stored in its block. At the bottom of each block, Open the ticket page leads to the detail.

If you send a message while the agent is working, it is put on hold (“Queued”); you can Cancel it before it goes.

Predict chat with collapsed step blocks and one open block

When the agent needs you, the question appears in the step’s block and the right panel says “Paused: the agent is waiting for your answer”. Nothing moves forward until you answer. Depending on the question, the answer takes one of these forms:

FormWhat you do
Options (“Choose an option”)Click the card that suits you (one is marked “Recommended”), then Submit. The Technical detail fold-out gives the agent’s reasoning.
Yes / noClick Yes or No.
FormPick an option or a quick answer, then submit.
Free answerType your answer in the chat input area at the bottom (“Your answer to the agent…”). It is sent to that question.

Once answered, the question shows your answer (“Your answer”).

When the agent has a satisfactory model, it asks the question Do you have an acceptable prediction of ”…”?. You see the prediction summary (see The prediction card) and an Agent’s advice.

  • Use it: the model is put in service. The block shows “The prediction is in service.”.
  • Try to improve: the agent goes back to look for a better model.

To the left of the input field, the Auto pill is on by default. It lets the agent move forward on its own by keeping the recommended option.

Concretely, during framing, the three validation points (“Problem statement”, “Column configuration”, “ML-ready recap”) are validated automatically. If you turn Auto off, the agent stops at each of these points and waits for your approval. A change made along the way counts from the next validation point.

To automate only some of these points, open the framing ticket page (see The page of a step).

The right panel sums up the project without jargon. It updates by itself. You can close the page: the agent keeps working.

Project progress panel with the status, the Prediction card and Steps

At the top, a card says where the project stands:

MessageWhat it means
Framing is startingThe agent reads your data and rephrases your need.
The agent is working in the backgroundA step is running, with its duration and name. This can take from a few minutes to several hours.
The agent is preparing the next stepThe agent is thinking about the next step.
Paused: the agent is waiting for your answerA question is waiting for you in the chat.
Nothing is running right nowNo step in progress. Ask the agent for the next step in the chat.
A model is in productionThe prediction is in service.

This is the Prediction section of the panel.

This card shows one model only: the one in service if there is one, otherwise the best attempt so far (according to the metric chosen during framing). The other models are on the Models page.

  • Prediction in the making (white card): the agent is still searching, here is its best attempt. No Use it button yet.
  • Prediction available (green card): ‘You are able to predict ”…”’, with the Use it button at the top right.

The card sums up the prediction in three parts:

PartContent
What it predictsThe target, in one sentence.
HowFrom which information, known at prediction time. The Every piece of information used fold-out lists them.
How good it isThe reliability in plain words (for example “Out of 10 cases searched for, the prediction spots 7…”) and a badge: Good, Fair or Needs improvement.

The See all attempts link opens the Models page on this model.

One line per task given to the agent, in order: in progress (with the duration), done (with a short summary), did not succeed, cancelled, paused or queued. Questions asked during a step are listed below it, with their status (“Waiting for your answer”, “Answered”, “Dropped”). Clicking a line opens the page of the step.

At the bottom of the panel, Documentation and Project detail open the pages of the same name.

The Use it button appears when a model is in production. It opens three choices.

The button becomes In service (green) when the prediction is really used: a scheduled prediction or an API token uses it. A model in production that nothing uses stays on Use it.

Menu of the Prediction card with Automate, Connect through the API and Try on one case

Computes the predictions at regular intervals on fresh data. The window has three sections: Model, Source, Schedule. It is detailed in Automation, where you also find it.

Once the prediction has run at least once, the window also shows the summary of its last run: rows read, predicted, written, and the breakdown of the result as a sentence and as a chart (see Automation).

To write the results into one of your tools, then add a delivery from the Automation tab: panel of the Prediction block → Send the predictions to a source.

To call the prediction from your own tools (a website, a script, business software). The API Access window gives:

  • the Endpoint, the address to call, with a button to copy it;
  • ready-to-copy examples in cURL, Python and Node.js;
  • the Body of the request (data accepts several rows to predict in batch) and an example Response;
  • a Threshold field for the example, which only applies to yes/no predictions.

Each call must present a prediction token (a secret key). To create one:

  1. Click Manage tokens.
  2. Give a Token name, then click Create.
  3. Copy the token right away.

The number of calls per token is visible in the Automation tab, on the prediction block.

To try the prediction on an example you make up.

  1. Fill in one field per piece of information requested (a list for known values, a number with its minimum and maximum, a date…). Identifiers are not requested.
  2. Click Predict this case.
  3. Read the result under Prediction for this case, with its Confidence as a percentage.

Try another case lets you try another one; Close leaves the window.

For every trained model, in production or not, Matr automatically prepares a Report tab that explains it: there is nothing to launch. In the Prediction card, the button to the left of Use it shows Preparing the exploration… while it calculates, then Explore the model, which opens the tab in Report. The tab has a short name that says what it explains, for example “Churn risk” or “Customer segmentation”.

For a prediction (yes/no, category, or number), Matr submits to the model the cases set aside at the start: it has never seen them, and you know their true answer. The tab compares its answers to reality:

BlockContent
ExplanationWhat the model predicts, how Matr checked it, what matters most to it.
CountersCases tested and Correct answers. For yes/no, the share of true “Yes” it spots and the share of “Yes” it announced correctly. For a number, the Mean error and Predictions within 10%.
Correct answers and errorsFor each true answer, how many times the model was right or wrong. For a number, each case with its true value and its prediction, and the mean error by true value.
What matters most to the modelThe weight of each piece of information in its answers, as a percentage.
What the model teaches usA chart for each variable, for the 4 pieces of information that carry the most weight among those in the submitted cases. Values are grouped by range (by quantiles for a number with many different values, by exact value if there are few, by main category otherwise). For yes/no, the share of “Yes” according to the model vs the real share. For a number, the average value predicted vs the real average. For a category, the model’s answers stacked.
Cases testedEach case with its true answer and the model’s answer, errors first.

For segmentation, Matr puts all rows of its data into the segments. The tab describes each segment: its name and description, its size, its portrait (averages and most frequent values), and the list of rows with their segment.

In the Report’s tab bar, the model exploration tab is named after what the model predicts (“Explore the model” by default) and stands out from the others with a raspberry pink color (Predict’s color), whether active or inactive, so you can recognize it at a glance.

Model exploration tab in the Report: the raspberry pink tab, the summary and the first figures

The tab’s widgets can be edited like any other Report widget. An app keeps only a single model exploration tab. If the Prediction card then shows another model (because it moved to production, or it became the best according to the metric chosen during framing), clicking Explore the model reuses this same tab and replaces its content with the new model, without creating a second one. If you come back to the model already displayed in this tab, it reopens as is, without recalculation. If the preparation of the new exploration fails, the previous exploration remains displayed in the tab so you don’t end up with nothing; the button then offers Restart the exploration.

A project can last hours. Rather than keeping the page open, ask to be notified. The Notify me button (a bell) is to the right of the status banner; it becomes Notifications on as soon as one channel works.

Email

  1. Turn on the Email switch.
  2. Type an address and click Add, or click Add me for your own address.

The addresses belong to the app, not to you: everyone on the list receives the same emails. An email goes out:

  • when the agent needs your answer (with a Reply button);
  • when a step finishes or does not succeed, but only if the project stops there. Matr waits about two minutes: if another step starts or a question arrives in the meantime, no email.

The link in the email requires a Matr account that has access to the app.

Slack

The Slack switch can only be turned on once a channel is linked to the app: click Link a Slack channel, which takes you to Settings. On Slack, Matr sends the agent’s questions that are waiting for your answer, with a link to answer in the app. The end of a step is not announced on Slack: use email for that.

Teams

The Teams switch can only be turned on once a channel is linked to the app: click Link a Teams channel, which takes you to Settings. On Teams, Matr sends the agent’s questions that are waiting for your answer, with a link to answer in the app. Like on Slack, the end of a step is not announced on Teams: use email for that.

These pages open from the progress panel. A Back arrow brings you back to the chat.

Opened by the Documentation button. It shows:

  • the prediction task, with its name and description;
  • the Project memory: the documents the agent keeps up to date over the project, such as ML explorations (what was tried and what it gave) and Project brief, with the author and date of the last update. The View in Knowledge link opens the same information in read-only mode, from the App context window, alongside everything Matr knows about the app (see Report › The + menu of the input field) ;
  • the Data leakage verdicts: the columns excluded because they reveal the answer, or kept despite a suspicion, with who decided (the agent, the automatic check or a team member) and when;
  • the configuration chosen during framing (target, data split for evaluation, main metric). These labels are shown in English.

The page is read-only.

Opened by the Project detail button. The top of the page is a recap: project status (“In production”, “In development”, “Framing in progress”…), phase (Framing → Exploration → Operation), what is done and what is coming, the last action. Detailed view ↓ scrolls down to:

  • the Action budget: how many more steps the agent can launch over 24 hours (see Limits);
  • All actions: the log of all steps and questions, filterable (Active, Questions, Done, All);
  • the Resources: the data, documents and models of the project.

Opened by See all attempts, or from the resources of the project detail. On the right, the list of models, with a star and the “prod” badge for the one in service. In the center, the detail of the selected model:

  • the Performance: the value of the metric and what it means in plain words;
  • the training and evaluation data: one part of the data is used to build the model, another, set aside, is used to check that it works;
  • the Evaluation metrics, each explained in one sentence;
  • the Feature importance: the information that weighs most in the prediction;
  • the Confusion matrix for a yes/no prediction: how many times the model was right or wrong, for each answer;
  • Detailed features: all the information used, sorted by where it comes from (Main dataset columns, From auxiliary tables, Built by the pipeline), with its importance.

Models page with the detail of the production model and the list of models

The actions available on a model:

ActionEffect
Click on the nameRename the model.
Promote to productionReplaces the model in service for this app.
Apply to datasetComputes the predictions on a whole dataset and creates a new dataset with the prediction column.
Trash canDeletes the model. Not possible for the production model.
ComparePuts two models side by side (from two models), with their metrics and a recommendation.

Each step of the project (and each question) has its page, opened from Open the ticket page, a line of “Steps”, the log, or the link in an email.

  • Framing: what the agent established (the problem, the business choices, charts on your data, the construction of the training table), and the dialogue with the agent. The Auto menu lets you choose which of the three validation points are automatic.
  • A modeling step: its goal, what the agent did, the model built or rejected, and the code written. Relaunch starts a new attempt, with instructions if you want (for example “use a random forest”). This is the only way to steer the method: there are no training settings to tick.
  • A question: the question, your options and your answer.

During framing, the agent proposes a Column Configuration: for each column, whether it keeps it and which role it plays (Target, Feature for a piece of information used, Ignored, Primary key, Datetime Index).

A column set aside carries the Excluded chip; hover over it to read the reason given by the agent. The Alert column flags columns at risk:

AlertWhat it means
Leakage confirmedThe column reveals the answer: it must be excluded.
Leakage suspectThe column looks a lot like the answer: check that it is known before prediction time.
WatchA doubt, worth a look.
Missing dataMany empty values.
ConstantAlways the same value: it teaches the model nothing.
Free textUnstructured text.

Keep one rule in mind: a column should only be used if its value is known at the time you will make the prediction. With Auto on, the agent applies its proposal; turn it off to review this table yourself before validating (Validate configuration).

  • Number of steps per day. Each app can launch a limited number of agent steps over a rolling 24 hours (5 by default, set by the Matr team). Beyond that, the step waits as “Waiting for credits” and starts on its own as soon as a credit is freed. Answering a question does not use a credit.
  • One step at a time. If a step is already running, the next one waits as “Queued”.
  • One conversation per project. There is no conversation history and no button to open a new one.
  • Read-only. If you are not allowed to write in the conversation, the field shows “Read-only conversation” and the Auto pill is greyed out. See Permissions.
  • The agent can be wrong: always check important results before relying on them.