AI vs Machine Learning vs Deep Learning
Three nested circles: artificial intelligence contains machine learning, and machine learning contains deep learning.
Three nested circles
- Artificial intelligence (AI): the broadest field; it includes search, planning, logical reasoning, expert systems and machine learning.
- Machine learning: systems that learn from data. Instead of writing a rule for each case, we give the model examples and it infers the pattern.
- Deep learning: a type of machine learning that uses deep neural networks that learn features automatically from raw data such as images and text.
Example: classifying emails
| Approach | How does it work? |
|---|---|
| Rules (traditional AI) | If the message contains the word “prize”, it is spam |
| Traditional machine learning | We extract features (the number of links, certain words), then train a classifier such as naive Bayes |
| Deep learning | We feed the text to a neural network that learns the representation and the classification together |
When do we use each?
Deep learning usually excels with large unstructured data (images, audio, text), while traditional machine learning is sufficient and easier to interpret with small and medium tabular data.
Lesson terms
- Deep Learning
- A branch of machine learning based on multi-layer artificial neural networks that learn representations of the data automatically.
- Machine Learning
- A branch of artificial intelligence in which systems learn patterns from data to improve their performance on a task without explicit programming of every rule.
Abstract
Artificial intelligence is the broadest field for building intelligent systems. Machine learning is a branch of it in which systems learn from data instead of explicitly programmed rules. Deep learning is a branch of machine learning that uses multilayer neural networks that learn representations automatically.
Review questions
-
Order the three concepts from the broadest to the narrowest.
AI, then ML, then DL.
-
What distinguishes deep learning from traditional machine learning?
It learns features (representations) automatically through multiple layers instead of engineering them by hand.
Sources and references
Complete the lesson
You have completed all the lessons in the track! You can now request the track completion certificate.
Request the certificate