Skip to main content
Contact

11 Data Mining Examples: Tactics That Delivered (2026)

Eleven data mining examples, from Amazon and UPS to client projects, with what each team did, what it reported and how you can copy it.

Key Takeaways

  • The best examples start with a question that has a price tag, not with a pile of data.
  • Public results range from 35% of Amazon purchases from recommendations to 100 million miles a year at UPS.
  • Several public figures are expectations or preliminary results, so check them against your own baseline.
  • Pick the example that matches your biggest pain and can show a result within 90 days.

Data mining sounds abstract until you see what a company did with it. In this guide I walk through eleven examples, six public and five from client projects, with the action each team took, the result and how you can copy the idea. If you want help choosing your own first question, my data mining consulting service starts with the same ranking exercise.

Public numbers come from company statements and consulting reports, and some are projections, so I label them. Client numbers are from my own project work and show typical ranges, not promises. Use all of them as hypotheses and measure your own baseline first.

Eleven Data Mining Examples You Can Learn From

The table lists each organization, the mining method and the result it reported. Each section below explains the idea and gives you steps to copy it.

OrganizationMining methodReported result
1. AmazonProduct recommendations35% of purchases from recommendations (McKinsey)
2. NetflixViewing suggestions75% of viewing from recommendations (McKinsey)
3. TargetLife-event scoringPregnancy score from about 25 products (Forbes)
4. WalmartEvent-based stockingStocked for Hurricane Frances (NYT, 2004)
5. UPSRoute optimizationAbout 100 million miles a year expected
6. MastercardFraud scoring20% average detection gain, preliminary
7. Subscription software companyChurn scoring3.9% to 3.2% monthly churn
8. Regional retailerBasket analysisAbout 3% larger baskets
9. Packaging manufacturerPredictive maintenanceAbout 17% fewer unplanned stops
10. Outpatient clinic groupNo-show prediction11% to about 9% no-shows
11. B2B services firmLead scoring2.3 times the win rate on top leads

Amazon

McKinsey reports that 35 percent of what consumers purchase on Amazon comes from algorithm-generated recommendations. The company mines past orders, browsing and cart activity to predict what each shopper will want next, and it shows the result on product pages and in emails.

The lesson for you is that recommendations do not need Amazon's scale. The core method is association mining: which items appear in the same orders, and which customers behave like each other. A retailer with a few thousand orders can run a basic version and show it on product pages. In my client work, the first version usually beats a hand-picked list within a few weeks.

How to Copy This Setup

  1. Export two years of order lines with customer and product IDs.
  2. Find the item pairs that appear together more often than chance.
  3. Check the pairs by hand and remove obvious accessories.
  4. Show the top three pairs on each product page.
  5. Compare basket size for shoppers who saw them and those who did not.
  6. Refresh the pairs every month.

Tools Behind Recommendations

Amazon built its own systems. For your shop, KNIME and Orange both include association rule nodes, and many ecommerce platforms offer recommendation apps.

Netflix

McKinsey puts the share of Netflix viewing that comes from recommendations at 75 percent. Netflix mines what members watch, skip and finish, and groups titles and viewers by taste, so each home screen differs.

What matters for your business is the feedback loop. Every click becomes new training data, which makes the next suggestion better. If you sell subscriptions or content, capture the signals you already have, such as plays, saves and cancellations, before you plan any model. The data you do not record today cannot be mined next year.

A four step cycle showing how every viewer click feeds the next round of suggestions in a recommendation system.
Each interaction becomes training data, so recommendations improve without extra collection work.

Steps to Build Your Own Version

  1. List every user action your product already records.
  2. Add the missing signals, such as skips or saves.
  3. Group users by similar behavior with clustering.
  4. Test one change per group, such as a different first screen.
  5. Measure repeat use after two weeks.
  6. Retrain the groups each quarter.

Tools for Customer Grouping

Netflix runs custom systems. A smaller team can start with clustering in Orange or KNIME and test the groups with simple email variations.

Target

Target analyst Andrew Pole studied the purchase histories of women who had joined baby registries. According to Forbes, about 25 products together produced a pregnancy prediction score, which let Target time baby coupons to a stage of pregnancy. Target also mixed in unrelated ads so the mailer did not feel invasive.

The method is classification on purchase history, and it works for any life stage that changes buying, such as a new home. It also shows the limit. A model can predict something a customer has not told you, so decide up front which predictions you will not use. I advise clients to write that list before the first model runs.

A flow from purchase history through labeled known cases and a score to a tailored offer, the classification method behind life event scoring.
Classification needs labeled past cases first, and the score only matters once it triggers an offer.

Steps to Score Your Customers

  1. Pick a life event that changes what your customers buy.
  2. Collect purchase histories of customers who told you about it.
  3. Train a classifier and test it on customers it has not seen.
  4. Write down which predictions you will not act on.
  5. Use the score to time offers, not to reveal what you know.
  6. Review complaints and opt-outs every month.

Tools for Classification

Target built this in-house. A classification node in KNIME, RapidMiner or SPSS Modeler can reproduce the approach on your own data.

Walmart

The New York Times reported in 2004 that Walmart mined sales records from earlier hurricanes and found that certain items, including strawberry Pop-Tarts, sold much faster before a storm. Stores in the path of Hurricane Frances were stocked accordingly. I could not verify the exact sales multiples, so I leave them out.

The takeaway for you is that unusual events leave a clear mark in your own history. Peak days, weather, promotions and local events all change what sells. If you keep daily sales by store and product, you can compare event days with normal days and find which items move. The pattern is plain to see once someone looks.

How to Find Your Own Event Patterns

  1. Keep daily sales by store and product for at least two years.
  2. Mark event days such as storms, holidays and promotions.
  3. Compare each product's sales on event days with its normal average.
  4. List the items that rise most.
  5. Stock those items before the next event.
  6. Check sell-through after the event and adjust.

What You Will Need

Walmart used its own warehouse. A spreadsheet or Orange can run this comparison, and a BI tool can show it to store managers.

UPS

UPS built ORION to choose delivery routes from data on stops, traffic and vehicles. According to an overview published by InformIT, drivers on ORION routes cut six to eight miles per route per day, and UPS expects about 100 million miles saved per year, with $300 million to $400 million in annual savings once fully deployed. These are expected figures, and the same source says building it cost about $250 million.

Do not miss the timeline. The algorithm was developed from 2003 to 2009, prototyped in 2010 and 2011 and fully deployed in the U.S. by fall 2016. Most of your projects are smaller, but the pattern holds: results come after data collection, testing and rollout, not before. Start with one depot or one route type.

Steps to Test Better Routes

  1. Record stops, times and distances for every route.
  2. Build a baseline for miles and minutes per stop.
  3. Test a changed route on one depot.
  4. Compare it with the baseline for four weeks.
  5. Roll out to the next depot only after drivers review it.
  6. Track miles, fuel and late deliveries every month.

Tools for Routing Work

UPS built ORION itself. Smaller fleets can use routing features in their dispatch software and analyze the output in KNIME or a BI tool.

Mastercard

Mastercard announced Decision Intelligence Pro in February 2024 and said its modeling showed AI enhancements raise fraud detection rates by 20 percent on average, and by up to 300 percent in some cases. The company called the results preliminary. It also said false positives could fall by more than 85 percent.

Fraud detection is anomaly detection plus classification: learn what normal looks like, flag what does not fit and rank the flags by risk. The trade-off is false alarms. A model that blocks good customers costs real revenue, so measure both missed fraud and wrongly blocked orders. In my client work, I set the alert threshold with the finance team, not alone.

Two cards contrasting a normal card payment pattern with the signals that get a payment flagged by fraud scoring.
Fraud scoring learns normal behavior first, so anything far from it stands out for review.

How to Set Up a Fraud Score

  1. Collect transactions labeled as fraud or not fraud.
  2. Build a simple rules baseline first.
  3. Train an anomaly or classification model and compare with the baseline.
  4. Count missed fraud and false alarms separately.
  5. Set the alert threshold with finance.
  6. Review flagged cases weekly and feed outcomes back.

Tools for Fraud Models

Mastercard uses its own platform. Mid-size firms can test the idea in RapidMiner, Alteryx or SAS Viya, or with fraud tools built into their payment processor.

A subscription software company

A software client with 14,000 customers came to me with monthly churn near 3.9 percent and no early warning. We joined billing, login and support data, built a churn score and gave the success team the top 150 accounts each week. Churn fell to 3.2 percent over two quarters in that project.

The score was not the clever part. The weekly list was, because it gave people a specific action. Bain research cited in HBR says a 5 percent rise in retention can lift profits by 25 to 95 percent, which is why churn is a good first target. One caveat from the project: calls to the top accounts worked, but offers to low-risk accounts only gave away margin.

A funnel narrowing from all customers to a weekly at risk list, then contacted customers and finally retained ones.
A short weekly list turns a churn score into action that a team can finish.

Steps to Build a Churn List

  1. Define churn in one sentence everyone agrees on.
  2. Join billing, usage and support records per account.
  3. Train a model on accounts that left and accounts that stayed.
  4. Test it on the most recent months.
  5. Send a weekly top list to the success team.
  6. Track saves and wasted discounts.

Tools I Used

I built this in KNIME, then moved scoring into the client's warehouse. Orange or RapidMiner would also work.

A regional retailer

A retailer with 22 stores gave me three years of receipts. Association rules showed that a few categories sold together far more often than the layout suggested. We moved two of them next to each other in six stores and ran a coupon on the pair in the other six.

Basket size rose by about 3 percent in the moved stores over eight weeks, and the coupon stores showed a smaller lift. It was a modest result that paid for itself. The main surprise was how much time went into cleaning product codes, which differed between stores.

How to Run Your Own Basket Test

  1. Clean product codes so each item has one ID.
  2. Run association rules on receipts.
  3. Keep only pairs with enough volume to matter.
  4. Test a layout change in half the stores.
  5. Compare basket size with matched stores.
  6. Roll out what works.

Tooling Notes

We used KNIME for the rules and a BI tool to share the results with store managers.

A packaging manufacturer

A plant manager asked me to reduce unplanned stops on three filling lines. We joined sensor readings with repair logs and trained a model to flag lines about to drift out of range. McKinsey reports that predictive maintenance typically cuts downtime by roughly 30 to 50 percent, and our first quarter landed lower, at about 17 percent fewer unplanned stops.

The gap is normal. The first model missed faults that were never logged, so we spent two weeks fixing the repair log with the maintenance crew. After that, alerts became useful. If your records are thin, start by improving what you record.

Steps to Predict Machine Faults

  1. Pick the line with the costliest stops.
  2. Join sensor data with repair history by machine and time.
  3. Fix gaps in the repair log with the crew.
  4. Train a model to flag drift before a stop.
  5. Send alerts to the maintenance planner, not a dashboard.
  6. Compare unplanned stops before and after.

Where This Ran

The plant already had a data historian, so we mined it in Python and KNIME and showed alerts in its maintenance system.

A multi-site outpatient clinic

A clinic group with nine sites had a no-show rate near 11 percent. We used appointment history, lead time and reminder status to score each booking, then let staff overbook the highest-risk slots and call those patients first. The no-show rate fell to about 9 percent over a quarter, and idle clinician time dropped.

Health data needs extra care. We used only fields staff already handled for scheduling, left out diagnoses and had the clinic's privacy lead review the design. If you work with patient data, confirm the rules that apply to you with your legal advisor before you start.

How to Score Bookings Safely

  1. Limit the data to fields needed for scheduling.
  2. Have your privacy lead review the design.
  3. Score each booking for no-show risk.
  4. Call the highest-risk patients first.
  5. Overbook only where the score is high.
  6. Track no-shows, waits and complaints.

What We Used

We worked in the clinic's reporting environment with SPSS Modeler, which the analysts already knew.

A B2B services firm

A firm with 40 salespeople followed up every lead the same way. We mined three years of CRM records and found that company size, source and the pages a lead viewed predicted wins far better than job title. The new score ranked leads from 1 to 100 and went into the CRM.

Win rate on the top-scored quarter of leads was about 2.3 times that of the bottom half. Salespeople trusted it only after we showed them the reasons behind each score, so explainability mattered more than accuracy. Where a model cannot explain itself, people ignore it.

Steps to Build a Lead Score

  1. Export closed deals with lead source and activity.
  2. Find which fields separate wins from losses.
  3. Train a simple, explainable model.
  4. Show the top reasons next to each score.
  5. Put the score in the CRM.
  6. Review wins by score band every quarter.

Tools You Can Use

We used Alteryx, since the client already owned it. KNIME or RapidMiner would have worked as well.

What the Strongest Examples Have in Common

Look across the eleven and the pattern is plain. Every team started with a decision, gathered the records that bear on it and tested the result before acting. The savings at UPS and the lift in basket size both came after months of preparation, which is why the unglamorous work of cleaning data is worth planning for.

A second pattern is that results reach people as a short list. The success team got 150 accounts, the planner got an alert and the salesperson got a ranked lead. If you are unsure which tool to use for your version, my ranking of data mining tools compares the options. A model that ends as a chart rarely changes anything.

A checklist of four traits shared by the strongest data mining examples, from a clear question to a small test.
Copy these four habits before you copy any model.

How to Choose Which Example to Copy First

Pick the example that matches your biggest pain today. If customers leave without warning, copy the churn list. If shelves or offers feel like guesswork, copy the basket test. If one team drowns in manual pulls, start with a simple report that a model refreshes. A short checklist helps:

  • You can write the business question in one sentence.
  • You can measure the baseline today, such as churn rate or basket size.
  • The data lives in two or three systems, not twenty.
  • The work can show a result within about 90 days.

If you run a smaller company, my guide to data mining for small business shows the cheapest wins. To see further scenarios beyond these companies, browse the data mining use cases I rank by return, and for the numbers behind the field, see my collection of data mining statistics.

Questions About Data Mining Examples

What Is a Good Example of Data Mining?

A good example is a retailer that groups its customers by buying behavior and sends each group offers that fit. Amazon and Netflix show this at scale, since McKinsey reports that 35 percent of Amazon purchases and 75 percent of Netflix viewing come from recommendations. Smaller firms can run the same idea on a few thousand orders.

Which Data Mining Technique Is Used Most?

Classification and clustering come up most in business work, followed by association rules and anomaly detection. Classification predicts a yes or no outcome such as churn. Clustering finds natural customer groups. Association rules find items bought together, and anomaly detection flags odd transactions.

Are the Results in These Examples Reliable?

Public figures come from company statements, press releases and consulting reports, and several are projections or preliminary results. Treat them as ranges worth testing against your own baseline. I mark where a number is an expectation and where it is a reported result.

How Much Data Do I Need for a First Project?

A few thousand clean records with a clear outcome column are often enough for churn scoring or basket analysis. More data helps, but clean and relevant data helps more. A short readiness check before you start tells you whether your records can answer the question.

Which Example Is Easiest to Copy First?

Basket analysis and lead scoring are the easiest, because the data already sits in your shop or CRM and the output is a simple list or score. Churn prediction comes next. Fraud detection and route optimization need more engineering and a larger data history.

How Quickly Do Results Appear?

A simple model can show a first result in four to eight weeks, including data preparation. Results at the scale of UPS took more than a decade from algorithm development to full deployment. Plan for a first visible result inside 90 days, then expand.

Do I Need a Data Scientist to Do This?

Not always. Visual tools such as KNIME or Orange let an analyst build a first model, and a consultant can review the result. You do need someone who owns the business question and checks that the pattern makes sense before anyone acts on it.

Sources

Note: This article is general information, not legal, financial or tax advice. Figures and examples are estimates based on typical projects, so check current details with your providers and advisers before you decide.

Was this article helpful?

Camille Hartwell, Head of Data Content at Trevio Data

Camille Hartwell

Head of Data Content, Trevio Data

Camille leads the Trevio editorial team and works with our consultants to turn real client projects into practical guides on data strategy, engineering and governance. Before joining Trevio, she spent 11 years in data engineering and analytics roles. She has since edited more than 300 articles on data management and reviewed pipelines and platforms from over 100 client projects. She is based in Denver, Colorado.

Book a Free Strategy Call

Arrange Your Free Consultation

Please fill in your name.
Please check your email address.
Add a brief subject.
Briefly describe what you want to change.