The first model an operator ships is a project. By the fifth, the team is running a platform: shared data, shared tests, shared control groups, and an unwritten rule for what happens when models disagree. This piece is about that second phase. It is where most gambling machine-learning programmes either keep growing or stall.
One player, six scores, and no agreement between them
After two years of machine learning, an online gambling operator usually attaches half a dozen numbers to each account. There is a churn probability, a predicted value, a fraud score, a bonus-abuse score, a responsible-gambling risk flag and a game ranking.
Each score was built by a different person for a different team. Each uses its own definition of a player, its own time window and its own idea of a good outcome. Six teams end up with six definitions of the same person.
The interesting failures in this industry are almost never inside a single model. They happen where the models meet.
Take one player. Their predicted value is in the top 10%. They are flagged as likely to churn. They have a moderate fraud score because they paid in an unusual way. And they show two signs of harm.
The CRM system wants to send a comeback bonus. The risk system wants to hold the next withdrawal. The responsible-gambling system wants to stop all marketing. Nothing decides which one wins, so the winner is whichever job ran last.
Once you treat machine learning as one portfolio, and stop treating it as a sequence of separate projects, you build different things.
The shared parts are dull, and they are where the value is: one way to recognise the same player, one store of player data that can be read as of any past date, one testing setup, one rulebook for conflicts and one register of models. The individual models are easier to build and easier to replace.
The shared player data is the real product
Every model above uses the same basic facts: sessions, bets, deposits, withdrawals, bonuses, devices, payment methods and support contacts. If each project builds its own totals, the churn model will count an active day differently from the fraud model. Neither will match the finance report.
Two things make this shared data good enough for models, and not only for reports.
The first is history as it was. For any past date, you must be able to see exactly what the system knew on that day.
Without this, training data quietly includes information from the future. Every model then looks better in testing than it will in real use, and the gap only shows up after launch.
Getting this right is mostly discipline. Record two times for every event: when it happened and when it arrived. Build totals that look back from a given date. And never build a feature from a status field that can be overwritten later.
The second is knowing who the player really is. One account is not always one person. People run several accounts, families share a computer, one person has separate casino and sportsbook wallets, and one card can appear on several profiles. So "the player" is a web of links between accounts.
How you link accounts changes the answer. A fraud model needs aggressive linking that joins accounts through shared devices and cards. A churn model needs cautious linking, so a whole family is not counted as one churner. A value model needs to know which version it is using.
A common mistake is to build one official way of linking and force every model to use it. A better setup keeps several named versions, and each model states which one it uses.
Speed is one more constraint, and it belongs in the agreement about the shared data. If a feature takes eleven minutes to compute, it cannot help with any decision at registration. Teams often find this out after training the model. The project tests well and never goes live.
Each problem needs its own definition of success
The most useful document in a gambling machine-learning programme is a table that says what each model predicts. Most arguments between teams disappear once these definitions sit side by side.
| Model | What is scored | What it predicts | Time window | Wait for the answer | Typical rate | Usual method | When it runs |
|---|---|---|---|---|---|---|---|
| Deposit fraud | Deposit attempt | Chargeback or confirmed fraud | One event | 30-120 days | Well under 1% | Decision-tree models plus links between accounts | Instantly, in milliseconds |
| Bonus abuse | Bonus claim | Abuse confirmed after review | Days to weeks | 3-20 days | Low single digits | Decision-tree models, grouping similar players | Daily, plus near-instant checks |
| Churn | Active player | Goes inactive by the agreed rule | 30-90 days | As long as the rule | 5-15% | Week-by-week risk of leaving | Daily |
| Campaign response | Eligible player | Extra conversions caused by the campaign | 7-30 days | Days | A few points of lift | Lift models trained on random test groups | Daily |
| Predicted value | Player | Margin over the window | 90-365 days | The whole window | Uneven, a few players bring most of it | Two-step model, value ranges | Weekly |
| Recommendation | Session | Plays a game, or plays longer | Immediate | Minutes | Depends on what is shown | Ranking models | Instantly |
| Harm indicators | Player | Sign confirmed by a reviewer | Ongoing | Weeks, often never | Rare and poorly labelled | Rules backed by a model | Daily, checked by people |
The "wait for the answer" column explains most of the difficulty. Recommendations learn whether they worked within seconds, so they can be retrained all the time. Fraud models learn the truth months later, so the most recent data has to be held back.
Value models learn the truth only after the period they predict. A 12-month value model can only be checked fairly on players who joined more than a year ago. By then, the mix of new players has changed.
The "typical rate" column explains the arguments about metrics. A team used to recommendations will check overall accuracy. A fraud team will insist on measures that focus on the rare cases. When fraud is under 1%, a model that never flags anyone is 99% accurate and useless. Both teams are right for their own problem.
Every model in the table can be built. Building them in the wrong order is how programmes stall. The second project inherits nothing from the first, and trust runs out before the benefits start to add up.
Three questions rank the candidates better than enthusiasm does. Does a known outcome already exist, or do you have to create it? Is there a decision waiting that will change if the score changes? And is that decision made often enough for a small improvement to matter?
Here is an illustrative comparison for a mid-sized operator. The numbers show the shape of the problem and are not meant to be quoted:
| Candidate | Decisions per month | Value per better decision | Realistic improvement | Value per year | Data ready? |
|---|---|---|---|---|---|
| Withdrawal risk checks | 400,000 | 35 | 2% of decisions better | ~3.4m | Outcomes exist, but arrive late |
| Comeback campaign targeting | 100,000 | 12 | 8% of decisions better | ~1.2m | Needs random test groups first |
| Game recommendation | 3,000,000 sessions | 0.20 | 3% of sessions better | ~0.2m | Outcomes arrive instantly |
| 12-month value prediction | 40,000 new players | 25 | 5% of decisions better | ~0.6m | Needs a year of history |
The order that comes out is rarely the one in the strategy deck. Recommendation ranks high even though it is not the most valuable decision. It ranks high because feedback is instant and each new try is cheap.
Value prediction ranks low at first. It matters, but nobody can check it for a year.
Comeback targeting has a precondition: random control groups running on live traffic. They cost nothing technically but take about three months to collect enough data. So it makes sense to start them early, even though the payoff comes late.
Shared testing, or a shared argument
Once several models are live, the hard part moves from building models to measuring them. Three problems show up at the same time.
First, test scores stop predicting real results. A recommendation model with better test scores can lower revenue because it favours games with lower margin. A churn model with better test scores can lower retention because it points the team at players nobody can save.
The only reliable fix: every model change goes live as an experiment against the model it replaces. The business metric decides the winner. Test scores only decide what is worth trying.
Second, experiments get in each other's way. A CRM test and a recommendation test on overlapping players will distort each other, and not by the same amount.
You have three options. Split players between the tests. Accept the overlap and randomise at a level that covers both. Or run the tests one after another and lose time. The worst option is to choose without saying so, because then two teams report wins that cannot both be true.
Third, control groups get eaten. Every team wants one. After responsible-gambling blocks, fraud blocks, eligibility rules and three experiments take their share, the untouched group is neither random nor large.
One small control group, run centrally and never touched by any model, is worth the revenue it costs. It measures the whole programme at once, and it is the only number that answers "is any of this working?"
Measurement is half of the shared layer. The other half is a rulebook for the moment when two models want opposite things. This rulebook is a set of policies, written in code that a compliance officer can read.
The shape that works is a strict order of vetoes, with the money-making choice at the bottom.
Legal and player-protection rules sit at the top and always win. A self-excluded player gets no promotions and cannot play; required account and service messages follow the applicable policy. A player on a cooling-off break receives nothing promotional. A market with marketing restrictions is filtered out before any list is built.
Below that come risk holds. They can block an action such as releasing a withdrawal, but on their own they should not change marketing. At the bottom sits commercial optimisation, where predicted value, campaign lift and cost are weighed within a budget.
Without this order, models start using each other's outputs and become tangled. Change one, and the others shift in ways nobody planned. The model code ends up being the small part of the system. The data, the rules and the checks around it are the large part.
Two design rules save a lot of trouble. Scores from one area should not become inputs in another without an explicit review. A harm flag must never feed a targeting model, because the model will learn to exploit it. A fraud score should not feed a value model, because a temporary hold says nothing about what a player is worth.
And every rulebook decision must be logged with the inputs behind it. Then the question "why did this player get this offer?" has an answer, and nobody has to rerun six models on data that has since changed.
A wrong decision can cost cents or a licence
A recommendation that misses costs a few cents of margin. A wrongly frozen withdrawal costs a review, a complaint and a real chance of losing the player. A missed sign of harm can do real damage to a person, and can cost the operator its licence.
This spread has a practical consequence. You cannot use one standard cut-off for all models. "We use 0.5" means nobody worked out what a mistake costs. Each model needs its own cost table. Cheap decisions can be fully automated. Expensive ones should go to people.
Compare three cases. For game recommendations, a poor suggestion costs perhaps 0.20 in lost margin, and a good one gains about the same. With three million sessions a month, full automation with a low bar is clearly right. The goal is the average value per session.
For withdrawal holds, take a missed fraud case at 180 and a wrongly held honest player at 35. Holding pays off once the fraud probability p satisfies p × 180 > (1 minus p) × 35, which means p above 35 / 215, about 0.16. In practice the cut-off sits higher, because the model is not very good at telling cases apart in that range.
For harm indicators, no cut-off should make the decision at all. The model builds a ranked list, and a trained reviewer decides. The two kinds of mistake here cannot be priced in the same money as in the other cases.
Putting these three side by side also ends the recurring argument about which model is "best". They cannot be compared. Judge the portfolio by whether each decision has a price, and ignore whose test score is higher.
Models go stale at different speeds
How often you retrain should follow how fast each problem changes. A shared schedule picked for convenience does not work.
Recommendation models go stale fastest. The catalogue changes weekly, and player taste reacts to yesterday's promotions. Daily or near-daily updates are normal.
Fraud models face people who adapt on purpose. They need frequent retraining and, above all, monitoring of the incoming data. Because the truth about fraud arrives months later, a drop in quality can stay invisible for a long time.
Churn and value models change as the player base changes. That happens at the pace of marketing campaigns and market launches. Monthly retraining, with a quarterly check of the definitions, is usually enough.
Three causes of change are specific to this industry. Treat them as triggers for a review instead of waiting to spot the damage.
A new market launch changes every statistic at once. Models trained on the old mix will be confidently wrong about the new players.
A rule change, such as stake caps, mandatory affordability checks, advertising limits or new bonus rules, breaks old patterns outright. History stops being a guide overnight. Adding or removing a payment provider changes both the fraud mix and deposit success rates in the same week.
Whatever the schedule, the process should be the same. Train the new model. Compare it with the current one on past data. Run it silently alongside the live model and compare scores and decisions. Then switch through an experiment. Automatic retraining that skips these steps will one day launch a model trained on broken data, and the commercial team will be the first to notice.
Speed should also follow the problem. The push to make everything real time is mostly misplaced. Giving in to it produces a fragile system that is hard to understand.
Real time is needed only for decisions taken while the player is acting: registration risk, deposit approval, the games being shown right now, a trigger during a session. These need answers within milliseconds, data prepared in advance, and a plan for when a data service is slow. The plan should be to fall back to a simple rule and log it. Never score with silently filled-in default values.
Everything else can run in batches, and it is better that way. Campaign targeting, value prediction, bonus-abuse checks and reporting all use data that changes over days. Running them nightly makes them repeatable, checkable and cheap. For any decision someone may later have to justify, being able to repeat it matters more than freshness.
The danger zone is in the middle: a model trained on nightly data but used in real time, with the data calculated by different code.
This mismatch is the most common reason a model that tested well performs no better than chance after launch. Only one thing prevents it. Write each calculation once and use it in both places. Then regularly score the same past players both ways and compare the results.
Explainability that survives an audit
Regulated markets do not require simple models. They require decisions that can be justified, traced and reversed by a person. Those are engineering tasks.
What holds up under examination is a record. It shows the model version, the data as it was at the moment of the decision, the score, the cut-off in force, the rule that applied, the action taken and the name of anyone who reviewed or overrode it.
Keep these records as long as the licence requires. An explanation produced later, from a model that has since been retrained, is not evidence of what happened. Presenting it as evidence is worse than admitting the record was not kept.
Two areas need more than records. Some decisions seriously affect a person: closing an account for good, confiscating a balance, refusing a withdrawal after more than a routine check. Many countries and data-protection laws expect a human review here; Article 22 of the GDPR is the EU baseline. The review has to be real. A person clicking through a queue at four seconds per case does not count.
And in player protection, a model may advise but should not decide. Signs of harm produce a ranked list, trained staff take the action, and the reason goes into the player's file.
There is also a modelling duty that is easy to miss. Check whether models treat groups differently where that difference could not be defended. Review who ends up in targeting lists from time to time. Nobody tells a model to discriminate. But if it chases revenue in a base that includes vulnerable players, it will find them unless something stops it.
Signs the organisation is not ready for a model
Volume is the first test. A brand with a few thousand monthly active players cannot support a set of models. The uncertainty in every estimate will be bigger than the effects you are chasing. Good rules, clean reports and an experienced team will do better there. The honest advice is to wait.
Data collection is the second. Sessions and bets may not be recorded reliably with correct times. Bonus money and cash may be mixed. The same player may be impossible to follow across products. In any of these cases, every model on top will learn the measurement errors.
Fixing the data pipeline is boring, and it pays back more than anything else.
Readiness to act is the third test, and the one most often missed. A score with no owner, no budget and no agreed action changes nothing. Before building, someone should be able to answer by name: who will do what differently, and what are they allowed to do?
A surprising number of models work technically and change nothing in practice for exactly this reason.
Some problems here are not prediction problems at all. Slow withdrawals, a confusing ID check, too few games in one market, or bonus terms that can be gamed are product and process faults. A model can show who is affected, which is useful once. Building a system to work around a fault means paying forever to avoid fixing it.
Questions from the first model governance meeting
Should we build one general player model or several specific ones? Several. The models predict different things, over different time windows, with different delays and different costs of error. One model forced to do all of it will be tuned to whichever use case dominates the data. Share the data and the platform. Keep the models separate.
Our fraud model and our value model disagree about the same player. Which is right? Both, about different questions. One estimates the chance of a loss. The other estimates margin over a period. A player can score high on both. The mistake is expecting the models to settle it. The rulebook settles it, and it should say clearly whether a risk hold pauses commercial offers or runs alongside them.
How do we know the programme as a whole is producing value, not just individual models? Keep a small group of players that no model ever touches, and measure it over several quarters. Single model experiments show whether a change beat the old version. Only this programme-level group shows whether all the changes together beat doing nothing.
How much history do we need before starting? It depends on how long the outcome takes to arrive. Recommendation work can start with a few weeks of data. A 12-month value model cannot be checked until 12-month results exist for players similar to today's. That usually takes longer than the data has been reliable.
Can we buy this instead of building it? The models, sometimes. The shared player data, the account linking and the conflict rulebook, no. They reflect decisions specific to your products, licences and appetite for risk. Operators who buy models without owning these parts usually end up with scores they can neither explain nor improve.
What should we stop doing first? Setting cut-offs by habit. Almost every portfolio has at least one model running at a cut-off nobody worked out from the cost of being wrong. Recalculating it is usually the cheapest improvement available.