Bitzu

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

Single choice

Which statement describes how AI, machine learning and deep learning relate?

  1. Machine learning is a subset of deep learning, which is a subset of AI
  2. Deep learning is a subset of machine learning, which is a subset of AI
  3. AI, ML and deep learning are three unrelated fields
  4. 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.

Select all that apply

Which statements about training an ML model are correct?

  1. It adjusts model parameters using data
  2. It produces the model that is later used for inferencing
  3. It is the step that returns predictions to end users in production
  4. It can only be done with neural networks
  5. 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

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.

Download on the App StoreGet it on Google Play

More AIF-C01 topics in this module