Instance-Based Learning

What are some real-life examples of machine learning?

Machine learning powers everyday tools such as spam filters, recommendations, voice assistants and fraud alerts. Here are common examples and how they work.

On this page
  1. Short answer
  2. Everyday apps
  3. Money and business
  4. Health and science
  5. Travel and transport
  6. Examples that use nearest-neighbor ideas
  7. How to spot machine learning in a product
  8. Quick summary

Short answer

Machine learning is already part of many everyday tools. Common examples include spam filters, product and video recommendations, voice assistants, photo tagging, travel-time estimates in maps, fraud alerts on card payments and predictive text.

Everyday apps

  • Spam filters. A model learns from messages marked as spam or not spam, then flags new messages that look similar to the spam ones.
  • Recommendations. Shopping, music and video apps predict what you might like from what you and similar users have watched, bought or played.
  • Predictive text. Keyboards suggest the next word based on patterns learned from large amounts of text.
  • Photo tagging. Photo apps can group pictures by person or suggest labels for objects and places.
  • Voice assistants. Speech recognition models turn spoken words into text, and other models interpret what the request means.
  • Chat assistants. Chatbots run on large language models trained on text. For how that counts as machine learning, see Is ChatGPT machine learning?

Money and business

  • Fraud alerts. Banks and card companies use models to flag transactions that differ from a customer’s usual spending pattern.
  • Demand forecasting. Retailers estimate how much stock they will sell, using past sales, seasons and promotions.
  • Churn prediction. Subscription businesses estimate which customers are likely to cancel, so they can respond.
  • Credit decisions. Lenders use models to estimate repayment risk, usually alongside other rules and human review.

Health and science

  • Medical imaging support. Models can highlight areas of a scan for a clinician to review. They support a diagnosis rather than replacing one.
  • Protein structure prediction. Systems such as AlphaFold predict the three-dimensional shape of a protein from its sequence of amino acids, which helps researchers.
  • Weather forecasting. Some forecasting groups use machine learning alongside traditional physics-based models.

Travel and transport

  • Travel time estimates. Navigation apps predict arrival times using traffic patterns learned from past trips.
  • Driver assistance. Features such as lane keeping can use machine learning to recognize lanes, vehicles and pedestrians.

Examples that use nearest-neighbor ideas

Some of these uses rely on nearest-neighbor methods. A recommender may find users with similar tastes, and an image search may return the stored pictures closest to your query. Both are forms of instance-based learning. For how those methods work, read instance-based learning in machine learning examples.

How to spot machine learning in a product

Ask whether the system improves from data rather than following fixed rules. Not every automated feature is machine learning. A thermostat that switches on heat below a set temperature, for example, follows a fixed rule.

Machine learning systems can also make mistakes, especially in unusual cases, and their behavior may change when the models are retrained or updated.

Quick summary

Machine learning appears in spam filtering, recommendations, fraud detection, forecasting, navigation and medical imaging support. In each case, the system learns patterns from data and uses them to make predictions.

The complete guide to instance-based learning

Instance-Based Learning in Machine Learning With Examples
Read the guide

Keep exploring

Guides from other topics

All topics →