Prepstellar

AIF-C01 · AI and ML Foundations

20 cards

AI and ML Core Terminology and Paradigms

Swipe, scroll or use ← →
  1. Sort the family before you learn the services

    Every later decision (which service, which data, which deployment option) rests on a handful of words that are often used as if they meant the same thing. They do not, and questions are written precisely to separate them.

    Artificial intelligence (AI) is the broad field of creating or imitating machines that perform tasks traditionally requiring human intelligence, including understanding language, visual perception, decision-making, and problem-solving.

    Machine learning (ML) is a branch of AI in which techniques enable computers to learn from data and make decisions instead of relying on explicit programming for every rule. The system generalizes from examples rather than following rules written by hand.

    Deep learning is a specialized subset of ML that uses neural networks with multiple layers to analyze complex factors in data.

    1 / 20
  2. Sort the family before you learn the services

    The three terms nest in one direction only, and that direction is the point: AI is the umbrella, ML is a branch within AI, and deep learning is a subset within ML.

    Term Position What identifies it
    AI The umbrella term The whole field of human-like tasks: language, vision, decisions, problem-solving
    ML A branch of AI Learning from data instead of explicitly programmed rules
    Deep learning A subset of ML Neural networks with multiple layers

    Neural networks are the technique used in deep learning. A neural network is made of interconnected nodes, also called artificial neurons, arranged in layers: information enters through an input layer, each hidden layer processes what the previous layer passed it, and an output layer gives the final result. A number called a weight represents the connection between one node and another, and nodes with higher weight values have more influence on the nodes they feed. Deep learning networks are the ones with several hidden layers, and they are especially good at unstructured content such as images and text.

    Information crosses a neural network in one direction, from the input layer through the hidden layers to the output layer, along weighted connections.weightsweightsInput layerHidden layersOutput layer
    Deep learning networks are the ones that stack several hidden layers between the input and the output.

    Reversing the nesting is the classic trap. Deep learning never contains AI, and ML never contains AI.

    2 / 20
  3. Quick check

    How do AI, machine learning, and deep learning relate to one another?

    1. ADeep learning is the umbrella term, and both AI and ML are subsets nested inside it

      This inverts the nesting. Deep learning is the innermost term, not the field that contains the other two.

    2. BAI is the umbrella, ML is a branch of AI, and deep learning is a subset of ML

      Right. The nesting runs one way only: AI contains ML, and ML contains deep learning, which is defined by neural networks with several hidden layers of connected nodes.

    3. CML is the umbrella and contains AI, whose deep-learning branch avoids neural networks entirely

      AI is the umbrella rather than something ML contains, and deep learning is defined by multilayer neural networks rather than by avoiding them.

    3 / 20

  4. Seeing and reading: two applied fields

    Two ML fields come up constantly because they are named after the kind of input they handle, not after the algorithm inside them.

    Computer vision uses ML to see and understand images, such as finding defects or anomalies in visual representations. A manufacturer can point it at production-line photographs to spot a missing component or a tiny surface flaw at a scale that manual inspection cannot match.

    Natural language processing (NLP) refers to ML algorithms that help computers understand human language, for tasks such as translation, intelligent search, and text analysis. Support tickets, medical notes, and call transcripts are its natural material.

    Input Field Typical task
    Photographs, video frames, scans Computer vision Detect defects, anomalies, objects
    Documents, messages, transcripts NLP Translate, search intelligently, analyze text

    When a scenario mixes both, images and written reports, it needs both fields, each on its own modality.

    4 / 20
  5. Quick check

    A factory must detect tiny defects in camera images and, separately, analyze the meaning of technicians' written reports. What fits both needs?

    1. ANLP reads the camera images, while computer vision interprets the written reports

      The two fields are swapped: NLP works on human language, not on visual content.

    2. BModel fit handles the images, while inference handles the written reports

      Fit describes how well a model captures a relationship, and inference is a stage of use; neither names a modality.

    3. CComputer vision handles the camera images, and NLP handles the written reports

      Right. Computer vision sees and understands images, including defects and anomalies, while NLP helps computers understand human language.

    5 / 20

  6. Algorithm, training, model, inference

    These four words describe one pipeline, and each names a different thing in it. Mixing them up is the single most common terminology error.

    An algorithm is a recipe for addressing a machine learning problem.

    Training provides a learning algorithm with example data so that it can discover patterns. In supervised training, the examples include known targets and the algorithm learns a mapping from inputs to those targets. Other learning paradigms use different feedback: unsupervised learning has no targets, and reinforcement learning uses rewards from interaction.

    A model is an artifact produced by training. A trained model can be used for inference, and a pre-trained base model can also be an input to further training or fine-tuning.

    6 / 20
  7. Algorithm, training, model, inference

    Inference applies the trained model to data to generate a prediction. In production the answer is not yet known; during evaluation, known answers let you measure the predictions.

    The trained model is the boundary between the two stages: training creates the model from examples, whereas inference uses that model after training.

    Stage Input Output
    Training Algorithm or pre-trained base model + example data (known targets in supervised learning) A model
    Inference The trained model + new data A prediction

    A spam filter makes the sequence concrete. You supply emails already marked spam or not spam, training produces a model from them, and inference then judges a new message whose label nobody has written yet.

    7 / 20
  8. Quick check

    Which statement correctly separates the algorithm, the model, training, and inference?

    1. AThe algorithm is the recipe, training finds the patterns, the model stores them, and inference applies it

      Right. Each word names a distinct part: recipe, process, resulting artifact, and later use on new data.

    2. BThe model is the recipe supplied before training, and the algorithm is the artifact that inference produces at the end

      The roles are reversed. The algorithm is supplied to training, and the model is the artifact that training produces.

    3. CTraining applies an existing prediction to new records, and inference converts that result back into a learning algorithm

      Training starts from example data rather than from a prediction, and inference produces predictions rather than algorithms.

    8 / 20

  9. Keep your progress in the app

    That’s 3 of 8 quick checks. In the app they stay answered, and every lesson remembers where you left off.

    Opens in your browser. Nothing to install.

    Start studying

    On your phone, with the same account

    Get it on Google Play Download on the App Store
    Keep reading here
  10. Bias and fairness are different questions

    Both words concern groups of people, which is why they get confused, but they sit at different points of the work.

    Bias is an imbalance in the training data or in the prediction behavior of the model across different groups, such as age or income bracket. It can result from the data or from the algorithm used to train the model. A model trained mostly on data from middle-aged people may simply be less accurate for younger and older people.

    Fairness considers the effects of an AI system on different stakeholder groups. It is one of the responsible-AI dimensions, and it asks about impact rather than about a single statistic.

    Bias can be measured before training, measured again after training, and monitored against a baseline once a model is serving predictions.

    9 / 20
  11. Quick check

    How do bias and fairness differ?

    1. ABias reports how fast a model evaluates, and fairness reports how many rows the training set holds

      Runtime and dataset size are operational measurements and do not define either term.

    2. BBias means a network has several layers, and fairness means every layer shares one algorithm

      Multiple layers describe deep learning architecture, which is unrelated to either definition.

    3. CBias is an imbalance across groups in data or predictions; fairness considers the effects on stakeholder groups

      Right. Bias names the imbalance, which can come from the data or the algorithm, while fairness asks about impact on groups of people.

    10 / 20

  12. Model fit: underfitting and overfitting

    Model fit describes how well a predictive model captures the relationship between inputs and targets. You diagnose it by comparing the prediction error on the training data with the error on the evaluation data. Poor training performance alone already suggests underfitting, but only the comparison separates overfitting from a good fit.

    An underfitting model performs poorly on its training data, because it cannot capture the relationship between inputs and targets at all. It is often too simple for the problem.

    An overfitting model performs well on training data but poorly on evaluation data, because it memorizes the examples it has seen and cannot generalize to unseen ones.

    11 / 20
  13. Model fit: underfitting and overfitting

    Training performance Evaluation performance Diagnosis
    Poor Poor Underfitting: the model cannot capture the relationship
    Good Poor Overfitting: the model memorized what it saw
    Good Good A balanced fit

    The corrective step follows the diagnosis. Underfitting calls for more model flexibility, such as richer features or less regularization. Overfitting calls for less flexibility, such as fewer feature combinations or more regularization. When both numbers are poor, the algorithm may simply not have had enough data to learn from.

    The good-training/poor-evaluation split diagnoses overfitting. Evaluation still runs inference; unlike production prediction, it compares those predictions with known labels to measure model performance.

    12 / 20
  14. Quick check

    A model scores well on its training examples but badly on the evaluation examples. What is happening?

    1. AIt is underfitting, because strong training scores mean the relationship was captured too well

      Underfitting shows up as poor performance on the training data itself, so strong training scores rule it out.

    2. BIt is overfitting: it memorized the data it saw and does not generalize to unseen examples

      Right. Good training performance combined with weak evaluation performance is the defining pattern of overfitting.

    3. CIt is performing inference, because evaluation data always hides the target answers

      Evaluation data carries known answers, so the stated reason is false; the gap between the two scores is what diagnoses the fit.

    13 / 20

  15. Language models and generated content

    A large language model (LLM) is a deep learning AI model pretrained on a vast amount of data. One LLM can perform many language tasks: answering questions, summarizing documents, translating text into other languages, and completing sentences.

    Generative AI (GenAI) refers to AI systems capable of creating new content (text, images, or code) from input data or prompts. GenAI names a behavior, not a particular file: the behavior of producing something that was not in the input.

    The two words describe different layers of the same product. The LLM is the pretrained artifact an application calls; creating new prompted text is what the application does with it.

    14 / 20
  16. Quick check

    A team needs a very large language model, pretrained on vast amounts of data, that can summarize and translate, while the application around it uses prompts to create new text. Which reading is precise?

    1. AThe pretrained language model is an LLM, and creating new prompted text is generative AI behavior

      Right. An LLM is the pretrained deep learning model that performs language tasks, and generating new content from prompts is what makes the behavior generative.

    2. BThe pretrained language model is an algorithm, and creating new text is model-fit behavior

      An algorithm is the learning recipe rather than a pretrained model, and fit describes training versus evaluation performance rather than content creation.

    3. CThe pretrained language model is a computer vision system, and creating new text is a fairness measure

      Computer vision works on images, and fairness concerns impact on stakeholder groups; neither describes a language model or generated text.

    15 / 20

  17. Agents that pursue goals

    Agentic AI consists of systems whose autonomous software agents can perceive context, reason over goals, make decisions, and take purposeful actions on behalf of users or systems. Such agents use AI models, integrate with tools and resources, and pursue delegated objectives with memory and intent.

    The step beyond generation is action. A generative system asked for a refund email writes the email. An agentic system given the goal "resolve this ticket" decides which approved tool to call and calls it.

    16 / 20
  18. Agents that pursue goals

    These paradigms overlap, but they are not interchangeable.

    Term What it is What identifies it
    ML A branch of AI Learns patterns from data
    Deep learning A subset of ML Multilayer neural networks
    LLM A pretrained deep learning model Performs language tasks such as summarizing and translating
    GenAI A system behavior Creates new content from input or prompts
    Agentic AI A system design Perceives, reasons over goals, decides, and acts

    An LLM can supply the language capability inside a generative or agentic product, but the LLM is a model rather than the whole workflow built around it.

    17 / 20
  19. Quick check

    A support tool first drafts new response text from a prompt; later it reasons over a resolution goal, picks an approved tool, and calls it. How is each phase classified?

    1. AThe drafting phase is deep learning, and the decision phase measures model fit

      Deep learning names a technique rather than the drafting behavior, and fit compares training with evaluation performance.

    2. BThe drafting phase is inference, and the decision phase is simply training data

      Inference is the general act of applying a model, and training data is an input to learning, so neither separates the two phases.

    3. CDrafting new text is generative AI; deciding and acting is agentic AI

      Right. Creating new content is the defining generative behavior, while perceiving context, reasoning over a goal, deciding, and acting through a tool is what agentic systems add.

    18 / 20

  20. Key takeaways

    • The nesting runs one way: AI is the umbrella, ML is a branch of AI, and deep learning is the subset of ML built on neural networks with multiple layers.
    • Name the pipeline correctly: the algorithm is the recipe, training discovers patterns from example data, the model is the artifact that stores them, and inference applies that model to data to produce predictions.
    • Match the field to the input: computer vision sees and understands images, while NLP helps computers understand human language.
    • Keep the quality words apart: bias is imbalance across groups arising from data or algorithm, fairness weighs effects on stakeholder groups, and fit is judged by comparing training and evaluation performance.
    • Generation is not agency: GenAI creates new content, while agentic AI reasons over goals and takes purposeful action, often using an LLM as its language engine.
    19 / 20
  21. Quick check

    Which summary states all four relationships correctly?

    1. ADeep learning contains AI, training never produces a model, fairness measures dataset size, and agentic AI only writes text

      The nesting is inverted, training does produce the model, fairness concerns impact rather than size, and agentic systems act as well as generate.

    2. BAI contains ML, which contains deep learning; training produces the model that inference later applies; NLP handles language; agentic AI decides and acts

      Right. Each clause matches the definitions: the nesting order, the training-to-inference boundary, the language field, and the goal-directed behavior.

    3. CML contains AI, inference produces the model, computer vision handles written reports, and GenAI is defined by acting on goals

      AI is the umbrella, training produces the model, computer vision works on images, and generation is content creation rather than goal-directed action.

    20 / 20

  22. 8 quick checks · then the test

    In the app, finishing the quick checks opens this lesson’s 10-question test, and the ones you miss come back exactly when you’re about to forget them.

    Take this lesson’s test → Next lesson: Inference Modes

    Opens in your browser. Nothing to install.

    Start studying

    On your phone, with the same account

    Get it on Google Play Download on the App Store

The whole course, on your computer and your phone

Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.

Opens in your browser. Nothing to install.

Start studying

On your phone, with the same account

Get it on Google Play Download on the App Store

“This app is the ‘One Lake’ for preparing the certification exams. Really worth it.”

Abdelhak Y. Google Play review