Skip to content

Glossary Machine learning

What Is Machine Learning?

Definition

Machine learning is a branch of artificial intelligence in which a program learns from data instead of having every rule written by hand. The result is a model that makes predictions or generates content.

On this page 5
  1. What machine learning means
  2. How it works
  3. Why it matters
  4. Best practices
  5. Common mistakes
In brief

Machine learning means a program learns from data instead of fixed rules: the three types of learning, how it relates to AI, and examples in marketing.

What machine learning means

In 1959, Arthur Samuel published a study in the IBM Journal of Research and Development about a program that played checkers. It learned to play better than the person who wrote it, after eight to ten hours of machine-playing time. Samuel wrote: "Programming computers to learn from experience should eventually eliminate the need for much of this detailed programming effort."

Tom Mitchell defined it in his 1997 textbook: a program learns from experience E with respect to a class of tasks T and a performance measure P if its performance at the tasks in T, as measured by P, improves with experience E. His example is checkers again: the task is playing, the measure is the percentage of games won, and the experience is games played against itself.

Machine learning is one part of artificial intelligence, not all of it. Recital 12 of the EU AI Act names two kinds of technique for AI systems: machine learning approaches that learn from data how to achieve certain objectives, and logic- and knowledge-based approaches that infer from encoded knowledge. Deep learning, in turn, is one part of machine learning. According to LeCun, Bengio and Hinton (2015), models made of multiple processing layers learn representations of data at multiple levels of abstraction. An LLM is one such deep model, trained on large volumes of text.

How it works

During training, an algorithm adjusts a model's parameters so that its outputs fit the training data. The model is then applied to new data. Google's introduction names four types: supervised, unsupervised and reinforcement learning, plus generative AI, which creates content.

Supervised learning: the model sees many examples where the correct answer is known and discovers the connections that lead to that answer. It can then predict the answer for new cases. One example is emails labelled as spam or not spam, from which a filter learns to sort incoming mail.

Unsupervised learning: the data comes without answers. The model looks for patterns on its own, for instance groups of customers who behave alike. What those groups mean is something the model does not say.

Reinforcement learning: Sutton and Barto describe it as learning which action to take in which situation so as to maximize a numerical reward signal. Nobody tells the learner what to do. It finds out by trying which actions pay off, and the reward often comes later. One example from personalization: in 2010, Yahoo researchers tested a contextual bandit for selecting the articles on the Yahoo front page, a method Sutton and Barto cover in chapter 2 of their textbook. The reward was the click. In the offline evaluation on more than 33 million logged events, the method achieved 12.5% more clicks than a bandit algorithm without user data.

In all three cases the model learns only what is in the data. It inherits the data's errors, gaps and biases.

A known answer, no answer or a reward: that is what sets the three apart.

Why it matters

In marketing, machine learning sits inside tools people use every day. In Smart Bidding, according to Google Ads Help, machine learning algorithms train on data at a vast scale to predict how different bid amounts might affect conversions or conversion value. The system optimizes for the conversions the account reports. Anyone counting the wrong thing there trains the system towards the wrong goal.

Recommendations are the second big field. In 2016, Google researchers described YouTube's as "one of the largest scale and most sophisticated industrial recommendation systems in existence" and reported major performance gains from deep learning.

Search uses it too. Google describes RankBrain as an AI system that helps it understand how words relate to concepts, and neural matching as an AI system that understands representations of concepts in queries and pages and matches them to one another. For SEO, this means Google assesses what a page means, not only which words are on it.

Best practices

  • Check first whether a fixed rule is enough; machine learning pays off where patterns are too complex for hand-written rules.
  • Define the task and the performance measure before training a model, like Mitchell's T and P.
  • Review training data for gaps, errors and biases before trusting a model with it.
  • Test a model on data it did not see during training.
  • In Google Ads, report as goals only the conversions that matter to the business.
  • Compare results with business figures regularly, because data changes over time.

Common mistakes

  • Treating machine learning, AI and LLMs as the same thing.
  • Assuming a model understands causes when what it finds are relationships in data.
  • Training on too little or one-sided data and generalizing the result.
  • Optimizing for a metric that does not match the business goal.
  • Evaluating a model only on the data it was trained on.
  • Changing automated bid strategies constantly and so restarting the learning again and again.
Manuel Riveiro Rodriguez CEO & Digital Strategist

A technical audit covers this and everything else in one pass.

Request an audit

Frequently asked

What is machine learning?

Machine learning is a branch of artificial intelligence in which a program learns from data instead of having every rule written by hand. In Tom Mitchell's definition, a program learns when it gets better at a task as it gains experience, as measured by a performance measure set in advance. The result is a model that makes predictions or generates content.

What is the difference between AI, machine learning and deep learning?

Artificial intelligence is the umbrella term. Machine learning is one part of it: systems that learn from data. Alongside them are systems that infer from encoded knowledge. Deep learning is in turn one part of machine learning and uses models with many layers. The large language models behind today's chatbots are deep learning.

What types of machine learning are there?

Google's introduction names four. In supervised learning the model learns from examples with known answers. In unsupervised learning it looks for patterns in data without answers. In reinforcement learning it tries actions and learns from rewards. The fourth is generative AI, which creates new content from an input.

Is an LLM machine learning?

Yes. A large language model is a deep learning model trained on huge volumes of text, from which it has learned which continuation of a text is likely. That makes it a special case of machine learning. The reverse does not hold: not all machine learning is a language model, and a spam filter works with a much smaller model.

Where is machine learning used in marketing?

Smart Bidding in Google Ads uses machine learning to predict how a bid affects conversions. Recommendation systems suggest videos or products, YouTube for instance with deep learning. Google uses AI systems such as RankBrain and neural matching to understand queries and pages. Spam filters, segmentation and forecasting come on top of that.

Sources

  1. Arthur L. Samuel, "Some Studies in Machine Learning Using the Game of Checkers", IBM Journal of Research and Development 3(3), 210–229, July 1959, DOI 10.1147/rd.33.0210, reprint from "Computers and Thought". Source for the learning checkers program and learning from experience.
  2. Tom M. Mitchell, "Machine Learning", McGraw-Hill 1997, the author's book page at Carnegie Mellon University with a link to the book. Source for the definition with E, T and P and the checkers example in chapter 1.
  3. Regulation (EU) 2024/1689 on artificial intelligence, version published in the Official Journal on 12 July 2024. Source for recital 12 on machine learning approaches and logic- and knowledge-based approaches.
  4. Yann LeCun, Yoshua Bengio and Geoffrey Hinton, "Deep learning", Nature 521, 436–444, published online 27 May 2015. Source for the definition of deep learning.
  5. Google for Developers, "What is Machine Learning?", last updated 27 January 2026. Source for the supervised, unsupervised, reinforcement and generative types.
  6. Richard S. Sutton and Andrew G. Barto, "Reinforcement Learning: An Introduction", 2nd edition, MIT Press 2018, the authors' book page. Source for the definition of reinforcement learning in chapter 1.1.
  7. Lihong Li, Wei Chu, John Langford and Robert E. Schapire, "A Contextual-Bandit Approach to Personalized News Article Recommendation", arXiv, 28 February 2010. Source for the test of article selection for the Yahoo front page, the offline evaluation on more than 33 million events and the 12.5% click lift.
  8. Google Ads Help, "About Smart Bidding", no update date shown. Source for Smart Bidding running on machine learning algorithms.
  9. Paul Covington, Jay Adams and Emre Sargin, "Deep Neural Networks for YouTube Recommendations", Proceedings of the 10th ACM Conference on Recommender Systems, 2016. Source for YouTube's recommendation system and its use of deep learning.
  10. Google Search Central, "A guide to Google Search ranking systems", last updated 10 December 2025. Source for RankBrain and neural matching as AI systems.