Johan Kristensson
← Back to all articles
Foundations

What Is Machine Learning? How It Differs From AI

· Updated · 5 min read

Machine learning is the part of AI where a computer learns from examples instead of following rules someone wrote. You show the system thousands of examples of inputs and the right answers, and it works out the pattern itself. It is the technology behind most of the AI businesses use today.

Short answer: what is machine learning?

Ordinary software is programmed. You write the rules and the computer follows them. Machine learning turns that around. You give it examples, and the system works out the rules.

An example. You want to know which customers are likely to leave. With ordinary software you write a rule: flag customers who have not logged in for 30 days. With machine learning you give the system the history of thousands of customers: how they behaved and whether they left. The system then finds the combinations that actually predicted it, often patterns nobody thought to look for.

The difference between AI and machine learning

AI is the broad term: computers doing things we used to think needed human judgement, such as understanding text, recognising images or making decisions. Machine learning is the most common way to build AI today. So all machine learning is AI, but not all AI is machine learning. A system built on fixed rules can also be called AI.

Think of it as three layers:

Three types of machine learning

Supervised learning is the most common. You give it labelled examples, such as "this email is spam, this one is not", and it learns to sort new ones. Most business machine learning works this way.

Unsupervised learning finds patterns without being told what to look for. It suits customer segmentation: grouping customers by behaviour without deciding the groups in advance.

Reinforcement learning learns by trial and error with feedback. It is used in robotics, games and some recommendation systems.

Examples of machine learning in business

Does your company need to build its own machine learning?

Usually not at first. Many common needs are now met by ready-made AI tools such as ChatGPT, Claude or Copilot, which are built on machine learning already. Building your own pays off when you have plenty of historical data and a clear question, such as which customers are likely to leave.

Start with the question, not the technology. Which decision or task takes the most time today, and what data do you already have? From there you can decide whether a ready-made tool is enough or whether it is worth building something.

Want to know where AI would make a real difference in your business? Book a free 30-minute call or read about the AI Readiness Audit.

Want to put this into practice?

Book a 30-min call
Free 30-min callBook a call