AIF-C01 ยท AI and ML basics
AI vs ML vs deep learning
How AI, machine learning, deep learning and neural networks nest inside each other, plus the terms model, algorithm, training and inferencing.
Key points
- AI: machines doing tasks that normally need human intelligence.
- ML: the part of AI where a model learns patterns from data.
- Deep learning: the part of ML that uses neural networks with many layers.
- An algorithm produces the model; training builds it; inferencing uses it on new data.
Practice questions
Which statement describes how AI, machine learning and deep learning relate?
- Machine learning is a subset of deep learning, which is a subset of AI
- Deep learning is a subset of machine learning, which is a subset of AI
- AI, ML and deep learning are three unrelated fields
- AI is a subset of machine learning, which is a subset of deep learning
Show answer
Answer: B. Deep learning is a subset of machine learning, which is a subset of AI
Deep learning is a subset of ML, and ML is a subset of AI. The reverse nesting or treating them as separate fields is wrong.
Which statements about training an ML model are correct?
- It adjusts model parameters using data
- It produces the model that is later used for inferencing
- It is the step that returns predictions to end users in production
- It can only be done with neural networks
- It is driven by a learning algorithm
Show answer
Answer: A. It adjusts model parameters using data, B. It produces the model that is later used for inferencing, E. It is driven by a learning algorithm
Training fits the model to data and produces the artifact later used for inferencing. It is not the same as inferencing, and it does not require a neural network.
True or false: every AI system must use machine learning.
Show answer
Answer: False
False. A hand-coded rule engine is AI in the broad sense but does not learn from data. ML is one approach to AI.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
