AI, ML and deep learning basics: AIF-C01 study notes and practice questions
What to know about AI, ML and deep learning basics for the AIF-C01 exam, from the Fundamentals of AI and ML domain (20% of the exam guide), then 3 free questions to test it. Part of the AIF-C01 study guide.
This topic is the vocabulary everything else builds on. Questions give a description and ask for the term, or describe data and ask what kind it is.
How the terms fit together
Artificial intelligence (AI): machines doing tasks that normally need human intelligence.
Machine learning (ML): a way to build AI by learning patterns from data instead of writing rules by hand.
Deep learning: ML with neural networks of many layers; it powers image recognition, speech and language models.
Generative AI: deep learning models that create new content (text, images, code) rather than only classifying or predicting.
Key terms
Term
Meaning
Model
What training produces: a function that turns inputs into predictions
Algorithm
The method used to train a model
Training
Feeding data to an algorithm so the model learns patterns
Inference
Using a trained model to make predictions on new data; can be real-time or batch
Feature
An input variable, such as age or price
Label
The known answer in training data
Fit
How well a model matches the data: overfitting learns training data too closely, underfitting misses the pattern
Bias
A systematic error, from skewed data or assumptions
Large language model (LLM)
A very large model trained on text to understand and generate language
Types of learning
Type
Data
Example
Supervised
Labeled examples
Predict whether a transaction is fraud from past labeled transactions
Unsupervised
No labels
Group customers by similar behavior (clustering)
Reinforcement
Rewards for actions
Train a robot or game agent by trial and error
Types of data
Labeled vs unlabeled; structured (tables) vs unstructured (text, images, audio); tabular, time-series (ordered measurements over time), image and text data.
Common traps
Deep learning vs ML. All deep learning is ML, but not all ML is deep learning.
Supervised vs unsupervised. If the data has the answer you want to predict, it’s supervised.
Training vs inference. Inference is using the model, not building it.
A retail company's planning team keeps mixing up AI terms in strategy meetings. An analyst explains that a fraud model uses many stacked layers of artificial neurons to learn patterns from millions of transactions.
Which statement correctly places deep learning among the other terms?
Choose one answer.
AA. Deep learning is a broader field than AI, and AI is one of its narrower techniques for finding patterns.
BB. Deep learning is a subset of machine learning that uses neural networks with many layers.
CC. Deep learning is a rule-based approach that needs no training data and is written as fixed if-then logic.
DD. Deep learning is another name for generative AI, used only to write text, images and code for users.
Show the answer and explanation
Answer: B
A. Wrong: Reversed. AI is the umbrella term, machine learning sits inside it, and deep learning sits inside machine learning.
B. Right: Correct. Deep learning is a part of machine learning built on artificial neural networks with many layers of neurons. Those layers learn patterns directly from large amounts of data. Learn more: What is deep learning? (opens in a new tab)
C. Wrong: Rule-based systems follow hand-written logic. Deep learning learns its behavior from training data, so it is not a rule-based approach that works without data.
D. Wrong: Generative AI is built on deep learning, but deep learning also powers image recognition, speech recognition and forecasting. It is not limited to one use.
Explanation
AI is the broad goal of machines performing tasks that normally need human intelligence. Machine learning is one way to reach it, by learning patterns from data. Deep learning is a subset of machine learning that uses many-layered neural networks, and generative AI is built on top of it. This question tests how the terms nest inside one another.
Clustering is unsupervised learning, so it works on data with no labels and no target to predict. It groups records by how similar they are. This question tests choosing clustering when the business needs segments rather than a prediction.
Time-series data is a sequence of measurements recorded at regular or irregular points in time, and the ordering carries the information a forecast needs. The question tests recognizing the data type from how it is recorded and what it will be used for.
Want more on AI, ML and deep learning basics? The 5 full-length practice sets have 15 more AI, ML and deep learning basics questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →