Skip to content

Predict who will churn, and use the prediction

You have the history of what happened (who left, who stayed) and you want to know who is likely to leave next. In Matr, you describe the need in plain English; an agent prepares the data, trains models and asks for your opinion at the moments that matter.

First a prediction that is already trained, to see what the result looks like. Then your own model, trained on a file of couriers, with its probability of leaving for each profile, tried on a case you make up.

Duration: 10 minutes for the demo, then 20 to 30 minutes for your model, much of it waiting while the agent works.

  • A Matr account on an organization where Machine Learning is enabled (the Churn prediction template is then visible on the Home page).
  • The sample file shoppers.csv: 5,000 couriers of a fictional delivery platform, with their profile (city, age_bracket, vehicle…), their acquisition channel, their first steps (signup_date, identity_verified_days, training_completed, first_delivery_date) and the churned_60d column: 1 if the courier stopped within 60 days, 0 otherwise. It is the same file as the demo’s.

Part 1: see a finished prediction (10 min)

Section titled “Part 1: see a finished prediction (10 min)”
  1. On the Home page, click the Churn prediction card.
  2. Read the scenario and the description of the data, then click Start the project.

Expected result: a data app opens on the Predict tab. The project unfolds in the chat in a few seconds: it is a project that is already finished, replayed for the demo, with real models.

  • On the left, the chat is a series of expandable blocks, one per step: Problem framing, then the model-building steps, then the decision. Expand the framing: the agent rephrases the need, names the target (churned_60d) and says how it will evaluate the model.
  • On the right, the Project progress panel. At the top, the state of the project. Further down, the Prediction card: “You can now predict…”, a business score with its verdict, the metric used and its explanation in plain words.

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

Take the time to read the verdict: it is what says whether the prediction is good enough to be used.

  1. On the Prediction card, click In service (or Use it), then Try on one case.
  2. Fill in an imaginary courier profile: a city, an age bracket, a vehicle, an acquisition channel, the number of days to verify their identity, whether they completed the training.
  3. Read the verdict and the probability.
  4. Change one value, for example Training completed from yes to no, and compare.

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

Expected result: you see how a change of profile moves the probability of leaving. This is what the scheduled prediction will do on real rows.

Part 2: train your own model (20 to 30 min)

Section titled “Part 2: train your own model (20 to 30 min)”

4. Import the file and create the data app

Section titled “4. Import the file and create the data app”
  1. Import shoppers.csv as the dataset “Couriers” and create the data app “Courier churn” on it: it is exactly the flow of the tutorial Create a data app from existing datasets, in five minutes.
  2. Open the Predict tab.

Expected result: the Predict home page, with the What problem do we want to work on? field, the Auto pill, three suggestions generated from your data (including “I want to predict which couriers will stop within 60 days…”) and the Available data section that lists “Couriers”.

Predict home page: the question What problem do we want to work on?, the Auto pill, three suggestions and Available data with Couriers

In the field, type:

Predict which couriers will stop within 60 days after signing up (column churned_60d), so that the team can support them before they leave.

Leave the Auto pill on, to the left of the field: the agent will settle the framing points on its own by taking the recommended option. Press Enter or click the arrow on the right.

Close-up of the field: the Auto pill, the sample text and the send arrow

You can also click one of the suggestions under Or start with a suggestion: the first one repeats this need almost word for word.

Close-up of the three suggestions generated from the Couriers dataset

Expected result: a Problem framing block “in progress” appears, and the Project progress panel opens on the right with the The agent is working in the background banner. You can close the page: the project goes on.

The project just started: Problem framing block in progress, Project progress panel with the banner, Prediction and Steps

The framing takes one to two minutes. Expand its block once it is done: the agent explains what it checked (5,000 unique sign-ups, 44.3% of departures, the period covered) and what it leaves out, like the first delivery date, known only after sign-up. This is the framing you would have confirmed by hand without the Auto pill.

The Problem framing block expanded: checks, excluded information and suggested framing; on the right, the Build a first prediction step in progress

If the agent has a real question (for example a column it hesitates to keep), the block opens with an orange border and the panel says “Paused: the agent is waiting for your answer”.

  • For a multiple-choice question: click the card that suits you (one is Recommended), then Submit.
  • For a yes/no question: Yes or No.
  • For a free answer: type in Your answer to the agent… at the bottom of the chat.

Predict chat with collapsed step blocks and one open block

Expected result: the block shows Your answer and the project resumes. Then the build steps follow one another, each in its block, collapsed once done: “Build a first prediction”, then improvements like “Reduce useless alerts”. As soon as a first model exists, the Prediction card of the panel fills up: What it predicts, How (the information that weighs the most), What it’s worth with a verdict in plain words (“Out of 10 couriers who will really stop, the model detects 9…”).

The panel during the build: the Prediction card being prepared, with what it predicts, how and what it's worth, and three steps including one in progress

Close-up of the Prediction card: What it predicts, How, What it's worth with the Fair verdict

After two or three steps (the first prediction, then an improvement like “Reduce useless alerts”), the agent stops when it no longer makes progress. The panel then says Nothing is running right now and the Prediction card stays on “Best attempt so far, not in service yet”.

The steps done, the Nothing is running right now panel and the card still being prepared

  1. Type in the chat what you want, for example “The prediction works for me: put it in service.”. The agent opens a Promote a model to production? step with the Your call block: the question Is this an acceptable prediction of “churn_within_60d”?, what the prediction predicts, how, what it’s worth, and an Agent’s advice. It may also ask you this question on its own, without you asking for it.

    The Your call block: the question, the summary of the prediction, the agent's advice and the Use it and Try to improve buttons

    Close-up of the Your call block

  2. Read the verdict (Fair, with its translation: “Out of 10 couriers who will really stop, the model identifies 9…”) and the advice, then click Use it. Try to improve would have sent the agent looking for a better model.

Expected result: the agent confirms “Your model is now in service”, and the card switches to Prediction available: “You can now predict “churn_within_60d””, with the Use it button at the top right.

The Prediction available card: You can now predict, and the Use it button

Close-up of the Prediction available card

  1. On the card, click Use it. Three choices: Automate, Connect through the API, Try on one case.

    The Use it menu of the card: Automate, Connect through the API, Try on one case

    Close-up of the Use it menu

  2. Click Try on one case. The window reminds you of what the model predicts and what it’s worth, then asks you for a value for each piece of information it uses: acquisition channel, city, area density, age bracket, vehicle…

  3. Pick a profile, then click Predict this case. Change one value and do it again to see what weighs.

Try on one case window: the reminder of the model, then one field per piece of information used and the Predict this case button

Expected result: a verdict and a probability for this imaginary profile. This is what a scheduled prediction will do on real rows.

What you seeWhat to do
No Churn prediction card on the Home pageMachine Learning is not enabled for your organization. Ask the Matr team.
“Try again in a moment” after sending the needThe start failed. Send the same text again.
The panel says “Paused” and nothing movesThe agent is waiting for your answer: expand the block with the orange border in the chat.
A Failed stepOpen it (Open the ticket page) to read the reason, then tell the agent in the chat what you want to do.
The account switches to read-onlyThe day’s AI request quota is reached. The project resumes when requests become available again.
  • Automate the prediction on fresh data, every week: Use it → Automate. The source must be a table or a query of a connector, with the same columns as the model. See Schedule a prediction.
  • Write the probabilities into your CRM or your database: Send to a source, from the Prediction block of the Automation.
  • Call the model from another tool: Connect through the API.
  • Everything the agent does and how to read its steps: Predict: predict with AI.