Go to content
Contact

Predictive Analytics Framework: Step-by-Step Model (Formula)

Seven steps from business question to monitored model, with a priority formula for picking what to build first.

Rosalind Tierney, Head of Analytics Content at Flume AnalyticsBy Rosalind Tierney
Head of Analytics Content
Reviewed by Samuel Okafor, Lead Analytics Consultant Updated Checked for accuracy

In Short

  • A predictive framework has seven steps, and each one ends with a written output you can check.
  • Pick what to build with a simple formula: frequency times cost of a wrong call times data readiness, divided by effort.
  • Always set a baseline and test on later data. That one habit prevents most disappointing models.
  • Deliver scores where decisions happen and review accuracy every month.

A predictive model is easy to start and hard to finish. The algorithm is the short part. The weeks go into the question, the data and the handoff. A framework gives you the order of work and a way to know when each step is done. I use the one below in predictive analytics consulting projects, trimmed or extended to fit the client.

You will find the seven steps first, then the formula for choosing what to build, a worked example and the traps I see at each step.

The Seven Steps in One Table

StepWhat you doWritten output before moving on
1. Frame the decisionName the choice the model will supportA one-sentence decision, its owner and what a better call is worth
2. Define the targetFix the outcome, horizon and prediction momentThe exact outcome, the time horizon and the moment of prediction
3. Prepare the dataAssemble, clean and document the inputsOne clean table, a data contract and a list of known gaps
4. Set the baselineScore a simple alternative on test dataA simple benchmark scored on the same test period
5. Build and testTrain, test on later data and documentA model that beats the baseline on later data, with a model card
6. Deliver the outputPut results into the daily workflowScores in the tool where the decision happens, with reasons
7. Monitor and improveTrack, retrain and retireA monthly check on accuracy, drift and use

The Formula for Choosing What to Build

Before step one, you usually have a list of things people want predicted. Rank them with a simple score. Rate each candidate from 1 to 5 on three things, then divide by effort.

Here is how it looked for a subscription software client with four candidates. The ratings were rough, and agreeing on them took an hour.

CandidateFrequencyCost of a wrong callData readinessEffort (weeks)Priority
Churn flag544613.3
Lead scoring53367.5
Revenue forecast245410.0
Upsell propensity33282.3

The churn flag won, and the revenue forecast came second. Upsell fell to the bottom because data readiness was weak, which told the team where to invest before touching it again. The formula does not give a precise answer. It gives you a shared language for the argument.

Steps 1 and 2: Decision and Target

State the decision as "who does what with the score". Then define the target with three details: the outcome, the time window and the moment at which you will predict. "Will cancel within 60 days, scored on the first of each month" is a target. "Churn" is a topic.

The prediction moment matters more than most people expect. It decides which data you may use. Anything recorded after that moment is off limits, and ignoring that rule produces leakage, the quiet failure I describe among the predictive analytics risks.

A three point timeline showing that only data from before the prediction moment may feed the model, with the outcome measured afterward.
Any field recorded after the prediction moment is a leak waiting to flatter your score.

Steps 3 and 4: Data and Baseline

Assemble one row per entity at the prediction moment, such as one row per customer per month, with features computed from history up to that point and the outcome from the window after it. Write a short data contract for each source. Note missing values, definition changes and known errors.

Then set the baseline. For a forecast, use last year's same period or a moving average. For a flag, use a plain rule such as "no activity in 30 days". Score it on the same later test period you will use for the model. The baseline is a yardstick, and I ask teams to show it on the first slide of every results meeting.

A ladder of baselines from last period through a simple rule and model, each rung a bar the full model must clear.
Score the cheap options first so the model has a fair yardstick.

Steps 5 and 6: Build, Test and Deliver

Start with a simple model, such as a regression or a small tree-based model, and add complexity only if it beats the previous step on later data. Write a model card covering purpose, data, accuracy against the baseline, weak spots and owner. Choose tools your team can run. My ranking of predictive analytics tools compares ten options with live prices.

Delivery is where many projects quietly fail. Choose the destination before building, show the main reason next to each score and give users a way to mark a score wrong. Then test the placement with three real users. Smaller teams can follow the same steps at lower cost, as I describe in predictive analytics for small business.

Two cards compare a random data split with a time based split, showing why testing on later data gives an honest score.
Splitting by time mimics how the model will actually be used.

Step 7: Track and Refine

Live models decay. Add a monthly check that compares predictions with outcomes, watches inputs for drift and records how often the scores are used. Set a floor, such as "retrain if accuracy falls below the baseline plus a margin", so the decision is made in advance and not in a panic.

Retire models that no longer earn their upkeep. A shorter list of models that people use beats a long list nobody trusts.

A recurring review checklist covering accuracy, input drift, real usage and the choice to retrain or retire a model.
A short named review keeps a launched model honest and cheap to run.

The Seven Steps Applied to a Churn Flag

A short walk through one case shows how the outputs chain together. The subscription software client from the formula table took the churn flag through every step in about ten weeks.

Step one produced the decision: customer success calls the 50 accounts with the highest risk each Monday. Step two fixed the target as "cancels within 60 days of the first of the month". Step three assembled one row per account per month, with usage, support tickets and billing history up to the prediction date. Step four set a baseline rule, "no login in 30 days", which caught a share of cancellations but also flagged many accounts that stayed.

A two lane diagram of the churn flag: the data team scores and ranks accounts, then customer success calls them and logs results.
Logged call outcomes feed the next round of testing and monitoring.

Step five found that a simple tree-based model beat the baseline on the last three months of held-out data by a clear margin, particularly on accounts whose usage dropped sharply from one month to the next. Step six wrote the top 50 into a CRM list with the two main reasons beside each name. Step seven added a monthly review where customer success marked which calls were useful. That feedback became the next training round.

None of the steps was clever. What made the project work was that each one produced something written, so the next one had firm ground to stand on.

Where Each Step Goes Wrong

StepCommon trapWhat I do
DecisionThe goal is a topic, not a choiceRewrite as who does what with the score
TargetWindow and moment left vagueFix both in one sentence and have the owner sign it
DataFields recorded after the outcomeCheck each field against the prediction moment
BaselineSkipped, so no yardstick existsScore last period or a rule first
BuildRandom split flatters the resultSplit by time
DeliverScores stay in a database tablePut them in the CRM or report people open
MonitorNobody checks after launchCalendar a monthly review with a named owner

When you move from framework to doing, the sequencing and the delays are the next question. I cover them in my guide to predictive analytics implementation, and the pros and cons of predictive analytics help you set expectations with colleagues.

Adapting the Seven Steps to Your Team

A team of two can run all seven steps in a few pages and a spreadsheet. A larger organization needs the same steps with more formal sign-off, shared feature definitions and a central register of live models. The order does not change, and neither does the rule that each step ends with a written output.

Regulated sectors lean harder on steps three, five and seven. Documentation of data sources, explanation of how a model reached a score and records of who reviewed it all matter more when decisions affect people. Check current requirements in your sector with your legal advisers, and build the documentation into the steps from the start rather than adding it at the end.

Fast-moving businesses, such as online retail and subscription software, benefit from shortening steps six and seven. Daily scoring and weekly feedback loops let you improve models faster than quarterly cycles allow. Whichever way you tilt it, keep the baseline and the time-based test. Those two habits are the cheapest protection against a model that looks good and does nothing.

Using the Framework This Week

  • List up to five predictions your team has asked for.
  • Rate each on frequency, cost, data readiness and effort, and calculate the priority.
  • Take the top one through steps one and two on a single page.
  • Name the owner and book the first monthly review before you build anything.

Questions About the Predictive Analytics Framework

What Is a Predictive Analytics Framework?

It is the sequence of steps that takes you from a business question to a monitored model: framing the decision, defining the target, preparing data, setting a baseline, building and testing, delivering and monitoring. Writing the sequence down means each project follows the same path and the second one goes faster than the first.

What Is the Difference Between a Framework and a Process Like CRISP-DM?

CRISP-DM is a well-known general process for data mining projects. A framework for your company adds your own rules on top: who owns each step, what the baseline must be, where scores get delivered and how often models are checked. I use the familiar phases as a skeleton and fill in the parts that decide whether a model gets used.

How Do I Choose Which Prediction to Build First?

Score each candidate with the priority formula in this article: how often the decision is made, what a wrong call costs, how ready the data is, divided by effort. Rank them and build the top one. The numbers can be rough. The value of the formula is that it forces a conversation about frequency, cost and data before you pick.

What Should the Baseline Be?

The simplest honest alternative to your model. For a forecast, use last year's same period or the average of recent months. For a churn flag, use a rule such as no order in 60 days. If the model cannot clearly beat that, it is not worth the upkeep.

How Do I Split Data for Testing?

Split by time, not at random. Train on older records and test on newer ones, as that matches how the model will be used. A random split lets the model peek at the future and flatters its accuracy, which is one of the most common mistakes I see.

How Accurate Does a Model Need to Be?

Accurate enough to change the decision, which depends on what a wrong call costs. A forecast that is off by 15 percent may be fine for staffing and too loose for ordering perishable stock. Agree the threshold with the business owner before you build, not after you see the results.

Who Should Own the Framework?

One person, usually an analytics lead, who keeps the steps current, runs the monthly review and manages the backlog. Each model also needs a business owner for the decision it supports. Without both, the framework becomes a document that nobody opens.

Important: nothing in this article is legal, financial or tax advice. All figures are estimates from typical projects, so verify them with your own providers and advisers.

Was this useful?

Rosalind Tierney, Head of Analytics Content at Flume Analytics

Rosalind Tierney

Head of Analytics Content, Flume Analytics

Rosalind leads the Flume editorial team and works with our consultants to turn real client projects into practical guides on dashboards, tracking, experimentation and machine learning. Before joining Flume, she spent 11 years in analytics and business intelligence roles. She has since edited more than 300 articles on analytics practice and reviewed dashboards, tracking plans and analytics audits from over 100 client projects. She is based in Minneapolis, Minnesota.

Get a Free Consultation

Schedule Your Free First Call

Please add your name.
Add a working email address.
Please add a subject line.
Share your goal in a few words.