What is machine learning (ML)?

Machine learning (ML) is the method behind modern AI. A program learns to do a task from many examples, with no person writing the rules by hand.

Key takeaways

  • Machine learning is how AI systems are built. AI is the result you use.
  • The quality of the examples decides the quality of the system.
  • You do not need to know the math to use tools built with it.

How it works

A team collects examples, such as millions of emails marked spam or not spam. The program makes a guess for each example, compares the guess with the correct label, and adjusts itself a little. After many rounds, its guesses are good enough to use on new emails.

Example

Your email service uses machine learning to move spam out of your inbox. Your bank uses it to flag a card payment that does not look like your usual spending.

Why it matters

When a vendor says a product uses machine learning, you can ask two useful questions. What examples did it learn from, and how do you measure its errors?

Common mistake

A system learns the errors and the bias in its examples too. Good results on old data do not promise good results on your data.

Related terms

See all terms in the AI Encyclopedia, the numbers on the AI statistics pages, or build a prompt with the prompt builder.