1. Home
  2. Explore
  3. Computer Science
  4. Machine Learning Models Overview

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Machine Learning Models Overview

  • 60Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: ML Fundamentals
Machine learning is giving computers a bunch of
and letting them figure things out instead of hard-coding every instruction.

60 questions

  1. 1
    Machine learning is giving computers a bunch of
    _____
    and letting them figure things out instead of hard-coding every instruction.
    Hint

    Think about what you feed into a model to learn from.

    Answer

    data

  2. 2
    All machine learning can be split into two categories: supervised learning and
    _____
    .
    Hint

    One uses labeled data, the other uses unlabeled data.

    Answer

    unsupervised learning

  3. 3
    Supervised learning is when the model is trained on
    _____
    data, meaning for every input there's already a correct answer.
    Hint

    The data comes with tags or categories.

    Answer

    labeled

  4. 4
    In supervised learning, the model learns by comparing its predictions to correct answers and adjusting itself until it gets better. This is like studying with an
    _____
    .
    Hint

    You check your work against something that tells you the right answer.

    Answer

    answer key

  5. 5
    The two main types of supervised learning tasks are regression and
    _____
    .
    Hint

    One predicts numbers, the other predicts categories.

    Answer

    classification

  6. 6
    Regression predicts a
    _____
    numerical value, meaning the output can be any number along a range.
    Hint

    Not a fixed set of options; think of a spectrum.

    Answer

    continuous

  7. 7
    Classification predicts a
    _____
    category, meaning the output is one of a fixed set of options.
    Hint

    There are distinct classes with no in-between.

    Answer

    discrete

  8. 8
    Unsupervised learning looks at data that has
    _____
    labels and figures out patterns on its own.
    Hint

    The opposite of labeled data.

    Answer

    no

  9. 9
    Linear Regression draws the best-fitting
    _____
    through a scatter plot of data points.
    Hint

    A straight line that minimizes the distance to all points.

    Answer

    line

  10. 10
    In Linear Regression, the predicted output is denoted by
    _____
    .
    Hint

    It is Y with a hat on top.

    Answer

    Y^\hat{Y}Y^

  11. 11
    Multiple Linear Regression has multiple independent variables, each with a corresponding
    _____
    coefficient.
    Hint

    Greek letter that indicates the weight or contribution of each variable.

    Answer

    β\betaβ

  12. 12
    Logistic Regression is used for
    _____
    tasks, despite its name.
    Hint

    It predicts categories, not continuous numbers.

    Answer

    classification

  13. 13
    Logistic Regression passes the linear equation through a
    _____
    function to produce a probability between 0 and 1.
    Hint

    The function produces an S-shaped curve.

    Answer

    sigmoid

  14. 14
    In Logistic Regression, if the output is above 0.5, the prediction is a
    _____
    .
    Hint

    The default threshold for binary classification.

    Answer

    yes

  15. 15
    Naive Bayes is based on
    _____
    Theorem, which updates beliefs based on new evidence.
    Hint

    Named after the mathematician.

    Answer

    Bayes'

  16. 16
    The "naive" part of Naive Bayes comes from the assumption that all input features are
    _____
    of each other.
    Hint

    They don't influence each other according to the model.

    Answer

    independent

  17. 17
    Naive Bayes is best used on
    _____
    data where a fast, lightweight classifier is needed.
    Hint

    Common applications include spam detection and sentiment analysis.

    Answer

    text

  18. 18
    K-Nearest Neighbors classifies a new data point by looking at the K closest points and taking a
    _____
    vote.
    Hint

    The most common class among neighbors wins.

    Answer

    majority

  19. 19
    The distance metric typically used in KNN is
    _____
    distance, which is the straight-line distance between points.
    Hint

    Named after the Greek mathematician.

    Answer

    Euclidean

  20. 20
    In KNN, if the task is regression, the prediction is the
    _____
    of the neighbors' values.
    Hint

    Instead of voting, you compute a central tendency.

    Answer

    average

  21. 21
    Support Vector Machines find the best boundary called a
    _____
    that separates classes with maximum margin.
    Hint

    In 2D it is a line, in higher dimensions it is a plane.

    Answer

    hyperplane

  22. 22
    The data points closest to the hyperplane are called
    _____
    .
    Hint

    They 'support' the boundary.

    Answer

    support vectors

  23. 23
    When data is not linearly separable, SVM uses the
    _____
    Trick to transform data into a higher dimension.
    Hint

    A function that performs a mapping without explicit computation.

    Answer

    kernel

  24. 24
    SVM is best used when working with
    _____
    data, such as text classification or image recognition.
    Hint

    Where the number of features is large.

    Answer

    high-dimensional

  25. 25
    In a Decision Tree, each point where the tree makes a decision is called a
    _____
    .
    Hint

    The branching points of the tree.

    Answer

    node

  26. 26
    The very first node at the top of a Decision Tree is called the
    _____
    node.
    Hint

    The starting point of the tree.

    Answer

    root

  27. 27
    The final nodes at the bottom of a Decision Tree, where predictions live, are called
    _____
    .
    Hint

    The terminal nodes of the tree.

    Answer

    leaf

  28. 28
    Decision Trees are best used when you need a model that is
    _____
    and easy to explain.
    Hint

    You can follow the branches to see how decisions are made.

    Answer

    interpretable

  29. 29
    Random Forest builds multiple Decision Trees and combines their predictions through
    _____
    learning.
    Hint

    Combining multiple models to improve performance.

    Answer

    ensemble

  30. 30
    In Random Forest, each tree is trained on a
    _____
    subset of the training data.
    Hint

    The data is resampled with replacement.

    Answer

    random

  31. 31
    In Random Forest, at each split, only a random subset of
    _____
    is considered.
    Hint

    The variables used for splitting.

    Answer

    features

  32. 32
    XGBoost stands for Extreme
    _____
    Boosting.
    Hint

    The technique that uses gradients to correct errors.

    Answer

    Gradient

  33. 33
    XGBoost builds trees
    _____
    so that each tree learns from the mistakes of the previous one.
    Hint

    One after another, not in parallel.

    Answer

    sequentially

  34. 34
    XGBoost uses gradient descent to minimize a
    _____
    function, which measures how wrong the model's predictions are.
    Hint

    Also known as a cost function.

    Answer

    loss

  35. 35
    A Neural Network is made up of layers of interconnected nodes, inspired by the
    _____
    .
    Hint

    The organ that has neurons.

    Answer

    brain

  36. 36
    The three types of layers in a neural network are input layer, hidden layers, and
    _____
    layer.
    Hint

    Where the final prediction comes out.

    Answer

    output

  37. 37
    The connections between neurons in a neural network each have a
    _____
    that determines the influence of one node on the next.
    Hint

    A numeric parameter that is adjusted during training.

    Answer

    weight

  38. 38
    Neural Networks are best used when the data is complex and
    _____
    , such as images, audio, or text.
    Hint

    Having many features or dimensions.

    Answer

    high-dimensional

  39. 39
    Convolutional Neural Networks (CNNs) are designed for data that has a
    _____
    structure, like images.
    Hint

    Think of pixels arranged in a grid.

    Answer

    grid-like

  40. 40
    The core operation in a CNN is the
    _____
    operation, where a small filter slides across the image to detect patterns.
    Hint

    A mathematical operation that combines two functions.

    Answer

    convolution

  41. 41
    In CNNs, early layers detect simple patterns like edges, while deeper layers detect complex structures like
    _____
    .
    Hint

    Eventually, the network recognizes specific objects.

    Answer

    faces

  42. 42
    Transformers process an entire sequence at once using a mechanism called
    _____
    .
    Hint

    It allows the model to weigh the importance of words in a sequence.

    Answer

    self-attention

  43. 43
    The key advantage of Transformers is their ability to understand
    _____
    across an entire sequence.
    Hint

    The meaning of words depends on surrounding words.

    Answer

    context

  44. 44
    Generative Adversarial Networks (GANs) consist of a generator and a
    _____
    .
    Hint

    The network that tries to distinguish real from fake.

    Answer

    discriminator

  45. 45
    In a GAN, the generator is trained to create
    _____
    data that looks realistic.
    Hint

    Not real, but intended to fool the discriminator.

    Answer

    fake

  46. 46
    GANs are best used for generating new,
    _____
    data, such as photorealistic images.
    Hint

    The goal is to create data that is indistinguishable from real data.

    Answer

    realistic

  47. 47
    K-Means Clustering is an
    _____
    learning algorithm that finds natural groups in data.
    Hint

    No labels are provided to the algorithm.

    Answer

    unsupervised

  48. 48
    In K-Means, each group is defined by a
    _____
    which is the center point of the cluster.
    Hint

    The mean of all points in the cluster.

    Answer

    centroid

  49. 49
    The user must specify the number of clusters in K-Means, which is denoted by
    _____
    .
    Hint

    The 'K' in K-Means.

    Answer

    K

  50. 50
    K-Means assigns each data point to the nearest centroid and then
    _____
    the centroids based on the new assignments.
    Hint

    The algorithm iteratively improves the cluster centers.

    Answer

    recalculates

  51. 51
    K-Means is widely used in
    _____
    segmentation to group similar customers.
    Hint

    Marketing applications often use this.

    Answer

    customer

  52. 52
    Principal Component Analysis (PCA) is a
    _____
    reduction technique.
    Hint

    It reduces the number of features.

    Answer

    dimensionality

  53. 53
    PCA computes the
    _____
    matrix to find directions of maximum variation.
    Hint

    A matrix that measures how variables vary together.

    Answer

    covariance

  54. 54
    The directions in the data with the most variation are called
    _____
    components.
    Hint

    The main axes of the data.

    Answer

    principal

  55. 55
    PCA is often used to
    _____
    high-dimensional data in 2D or 3D.
    Hint

    To plot data in a human-readable form.

    Answer

    visualize

  56. 56
    In reinforcement learning, the learner is called the
    _____
    .
    Hint

    The entity that takes actions.

    Answer

    agent

  57. 57
    The feedback signal in reinforcement learning is called the
    _____
    .
    Hint

    A score that tells the agent if the action was good or bad.

    Answer

    reward

  58. 58
    The agent's goal in reinforcement learning is to maximize its total
    _____
    over time.
    Hint

    The sum of all rewards received.

    Answer

    reward

  59. 59
    Reinforcement learning is about learning through
    _____
    and error.
    Hint

    The agent tries actions and learns from outcomes.

    Answer

    trial

  60. 60
    Over time, the agent learns a
    _____
    which is a strategy for deciding actions to maximize reward.
    Hint

    Maps states to actions.

    Answer

    policy

1 of 60
Question 1 of 60

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent