Glossary

Cortexa AI Glossary · The basics

What is machine learning?

From Cortexa Learn, by Cortexa Consulting. Last checked .

Your bank texts about a purchase seconds after you make it. Who decided to ask?


The text from the bank

You tap your card at a coffee shop in a town you've never visited. A minute later your phone buzzes. Did you make this purchase? Nobody at the bank was watching your account. Software flagged it in seconds, and very often that software is built a particular way, called machine learning. It's one of the main ways people build artificial intelligence (AI), and once you see how it works, a lot of AI starts to make sense.3

Rules written by hand

For a long time, a system like that ran on rules a person wrote. Flag any purchase over a certain amount. Flag any purchase in another country. Rules like those are easy to read, but they're also easy to learn. A fraudster can keep each purchase small and local and slip under every line. And every new trick means someone has to spot it first, then write another rule.3

Show it examples instead

Machine learning turns that around. Instead of writing the rules, people give the computer examples: millions of past purchases, each one marked as fraud or fine. The computer works through them and finds the patterns that tend to separate the two. Then, when a new purchase comes in, it uses those patterns to make a guess. Put plainly, machine learning is software that learns its rules from examples, instead of having every rule written by hand.12

A rule nobody wrote

The rule it finds may be one no person could list. It might weigh the time of day, the kind of shop, how far you are from your last purchase, and how much you usually spend, all at once, in ways that would take pages to write out. Nobody typed that rule in. It came out of the examples. That's the part people find surprising, and it's the heart of the idea: the people who build these systems choose the examples and check the results, and the computer finds the rule.12

New tricks, new examples

Fraud keeps changing, so the examples change too. When new tricks show up in the records, the system can be trained again on fresher examples, and it can pick up patterns that weren't there before. Nobody has to guess the next trick in advance. People still decide when to retrain it, and they check that the new version does better than the old one before it goes to work.3

Only as good as its examples

There's a catch, and it explains a lot about AI. A system that learns from examples is only as good as those examples. If most of what it learned about you happened close to home, a coffee in a new town can look odd, even when it's you. That's why a trip can set off a false alarm. Nothing broke inside it. It did what it learned, from the examples it was shown. And it's one reason a text like that asks you to confirm, so the person who knows where they are gets the last word.1

Where you'll see the term

You'll find the term on product pages, in news stories, and in job ads. Now you can read it plainly: somewhere, a computer learned a rule from a pile of examples. And when a tool tells you it uses machine learning, you can ask the most useful question there is about it: what examples did it learn from?

Works cited

  1. IBM, "What is machine learning?" (checked )
  2. Google for Developers, "Machine Learning Glossary: ML Fundamentals." (checked )
  3. IBM, "AI fraud detection in banking." (checked )