Artificial intelligence (AI)
The broader goal of creating computer systems that perform tasks associated with human intelligence — such as understanding language, recognizing images, planning, reasoning, or making decisions.
Basic distinction
Two terms that get used almost interchangeably, but describe different things — one is a goal, the other is a technique for reaching it.
The broader goal of creating computer systems that perform tasks associated with human intelligence — such as understanding language, recognizing images, planning, reasoning, or making decisions.
One way to build AI systems. Instead of programming every rule manually, developers train an ML model using data so it can recognize patterns and make predictions.
AI is the overall capability; ML is a technique used to create that capability.
Not every AI system uses machine learning — an AI system could rely entirely on hand-written rules. Most modern AI products use ML heavily, but the two words aren't synonyms.
The same problem, solved two different ways, shows the distinction clearly.
A developer manually defines those rules.
The finished spam filter is an AI application. The pattern-learning process behind it is machine learning.
Cloud AI tools hand you a finished capability. Cloud ML tools hand you the infrastructure to build your own.
Ready-to-use intelligent capabilities — send data, get a result. The provider has usually already trained the underlying model.
Generally used to build, train, evaluate, deploy, and monitor custom models:
A retailer might use ML tools to train a model that predicts:
The same situation, approached as a consumed AI service versus a custom-trained ML model.
| Situation | AI tool | ML tool |
|---|---|---|
| Analyze customer reviews | Use a ready-made service to identify positive or negative sentiment | Train a custom sentiment model using reviews from your industry |
| Detect objects in photos | Use a service that already recognizes cars, people, and buildings | Train a model to recognize a company's specific products |
| Predict fraud | Use a prebuilt fraud-detection service | Train a model using the company's historical transaction data |
| Build a chatbot | Use a conversational AI service | Train or fine-tune a model using company documentation |
| Forecast sales | Use an automated forecasting service | Build and test a custom forecasting model with selected algorithms |
Think of AI as a finished meal and ML as part of the cooking process.
The terms sometimes overlap because an ML platform may also include ready-made AI services. Course material often uses “AI/ML tools” as an umbrella phrase covering both: ready-to-use intelligent services, and tools for developing custom machine-learning models.
See AI, ML, inference, and fine-tuning in the Glossary.