1. Home
  2. Explore
  3. Computer Science
  4. Machine Learning Foundations

Study methods

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

Machine Learning Foundations

  • 105Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: ML Foundations
Machine learning is a branch of
that enables algorithms to find patterns and make predictions without explicit programming.

105 questions

  1. 1
    Machine learning is a branch of
    _____
    that enables algorithms to find patterns and make predictions without explicit programming.
    Hint

    Think of the broader field concerned with making computers intelligent.

    Answer

    artificial intelligence

    Explanation

    Machine learning is a branch of artificial intelligence that learns patterns from data rather than relying on rules explicitly programmed for every situation.

  2. 2
    In the experience-task-performance definition, a program learns when its performance on tasks in T, measured by P, improves with
    _____
    .
    Hint

    This is the information or practice the system learns from.

    Answer

    experience E

    Explanation

    A program is said to learn when its performance on a class of tasks improves as it gains experience.

  3. 3
    In the robot-driving example, driving on highways using vision sensors is the
    _____
    .
    Hint

    It is the activity the system is expected to perform.

    Answer

    task T

    Explanation

    The task T is driving on highways using vision sensors; performance and experience are evaluated in relation to this task.

  4. 4
    In the robot-driving example, average distance traveled before a mistake or lane departure is the
    _____
    .
    Hint

    It measures how well the robot carries out its task.

    Answer

    performance measure P

    Explanation

    The performance measure P could be the average distance the robot travels before making an error or swerving out of its lane.

  5. 5
    In the robot-driving example, recorded images and steering commands from observing a human driver provide the
    _____
    .
    Hint

    This is the data accumulated through practice or observation.

    Answer

    experience E

    Explanation

    The experience E consists of sequences of images and steering commands recorded while observing a human driver.

  6. 6
    Traditional programming combines data with explicitly supplied rules to produce an
    _____
    .
    Hint

    It is the result produced by executing the program.

    Answer

    output

    Explanation

    In the traditional programming analogy, the computer receives data and a recipe or program, then executes it to produce an output.

  7. 7
    In the machine-learning version of the cake analogy, the system uses examples and desired outputs to infer the underlying
    _____
    .
    Hint

    It is the set of rules the computer learns instead of receiving directly.

    Answer

    program

    Explanation

    Machine learning uses data and desired outputs to produce a program, meaning the underlying rules inferred from examples.

  8. 8
    A spam filter learns to recognize spam by analyzing labeled emails and identifying changing text
    _____
    .
    Hint

    These recurring structures help distinguish spam from other messages.

    Answer

    patterns

    Explanation

    Learning from data lets a spam filter recognize complex, shifting patterns rather than depending only on a human-written list of bad words.

  9. 9
    A recommendation system that updates suggestions as a user's viewing history changes demonstrates adaptability and
    _____
    .
    Hint

    The system refines its results over time as it receives new information.

    Answer

    self-improvement

    Explanation

    Machine-learning models can adapt to ongoing behavior and improve their recommendations as more experience becomes available.

  10. 10
    Bank fraud-detection systems use machine learning to process vast numbers of transactions in
    _____
    .
    Hint

    They analyze transactions as they happen, rather than only later in batches.

    Answer

    real time

    Explanation

    Machine learning can handle large data volumes, allowing banks to identify suspicious activity across transactions in real time.

  11. 11
    Chatbots automate repetitive customer-service inquiries, freeing human agents to handle more
    _____
    issues.
    Hint

    These issues require judgment and attention to context.

    Answer

    nuanced

    Explanation

    Automating tasks such as order tracking and returns allows human agents to focus on nuanced problems that need human attention.

  12. 12
    A music service that uses individual behavior to create a tailored playlist demonstrates
    _____
    .
    Hint

    The experience is adapted to a particular user's preferences.

    Answer

    personalization

    Explanation

    Personalization uses an individual's behavior to provide a customized experience, such as a tailored music playlist.

  13. 13
    Artificial intelligence is the broad field; machine learning is a data-based approach within it; deep learning is a specialized form of machine learning using layered
    _____
    .
    Hint

    These structures are inspired by the human brain.

    Answer

    neural networks

    Explanation

    Deep learning uses large, layered neural networks and forms an inner specialized area within machine learning, which itself sits within artificial intelligence.

  14. 14
    Learning from labeled examples, discovering structure in unlabeled data, and learning through rewards are respectively supervised, unsupervised, and
    _____
    learning.
    Hint

    This approach uses interaction with an environment and feedback about actions.

    Answer

    reinforcement

    Explanation

    The three primary learning categories are supervised learning, unsupervised learning, and reinforcement learning.

  15. 15
    Supervised learning uses data with known correct answers, which are called
    _____
    .
    Hint

    These answers are attached to the examples before training.

    Answer

    labels

    Explanation

    Supervised learning requires labeled data: each input is paired with a known correct output.

  16. 16
    Unsupervised learning explores patterns in data that has no provided
    _____
    .
    Hint

    There is no answer key telling the algorithm what each example represents.

    Answer

    labels

    Explanation

    Unsupervised learning finds structure and associations in unlabeled data without external supervision.

  17. 17
    Reinforcement learning differs from supervised learning because the learner interacts directly with a live
    _____
    .
    Hint

    It is the world in which the agent takes actions and receives feedback.

    Answer

    environment

    Explanation

    Reinforcement learning has no predefined static dataset; an agent interacts with an environment and learns from the consequences of its actions.

  18. 18
    A reinforcement-learning agent aims to select actions that maximize its
    _____
    .
    Hint

    This feedback signals which actions are beneficial.

    Answer

    rewards

    Explanation

    Reinforcement learning is the problem of getting an agent to act so as to maximize rewards.

  19. 19
    In reinforcement learning, feedback can encourage useful actions or discourage harmful actions through rewards and
    _____
    .
    Hint

    This is negative feedback for an undesirable action.

    Answer

    penalties

    Explanation

    An agent is not told exactly what to do; rewards and penalties help it discover which actions are valuable.

  20. 20
    When an action affects future situations and later payoffs, the learning problem involves
    _____
    .
    Hint

    The benefit of an action may arrive well after the action is taken.

    Answer

    delayed rewards

    Explanation

    In complex reinforcement-learning settings, an action can influence not only its immediate reward but also subsequent situations and rewards.

  21. 21
    A chess move that appears unhelpful now but sets up checkmate later illustrates the need to value
    _____
    .
    Hint

    The value of the move depends on a future result, not just an immediate one.

    Answer

    long-term payoff

    Explanation

    The agent must learn that an apparently unrewarding move can lead to a substantial future reward, such as checkmate several moves later.

  22. 22
    Supervised learning algorithms mentioned for learning from labeled data include linear regression and support vector
    _____
    .
    Hint

    The full name is commonly abbreviated SVMs.

    Answer

    machines

    Explanation

    Linear regression and support vector machines are examples of algorithms used in supervised learning.

  23. 23
    Principal component analysis is an unsupervised technique that reduces complex multidimensional data to its most important
    _____
    .
    Hint

    It retains the most informative structure while simplifying the representation.

    Answer

    parts

    Explanation

    Principal component analysis, or PCA, compresses high-dimensional data into a smaller set of important components.

  24. 24
    Q-learning is used in reinforcement learning to teach systems a series of actions based on a
    _____
    .
    Hint

    Actions are evaluated according to the feedback they earn.

    Answer

    point system

    Explanation

    Q-learning is an example of a reinforcement-learning method that helps systems choose actions based on rewards or points.

  25. 25
    Training a computer to play games such as AlphaGo and teaching bipedal robots to walk are applications of reinforcement learning through
    _____
    .
    Hint

    The agent tries actions, observes their consequences, and adjusts its behavior.

    Answer

    trial and error

    Explanation

    Reinforcement learning uses trial and error to discover effective action strategies in complex environments.

  26. 26
    The lifecycle begins with input data and proceeds through preparation, feature selection, model selection, training, and
    _____
    .
    Hint

    This stage checks the trained model's performance using test data.

    Answer

    evaluation

    Explanation

    Evaluation follows training and helps determine whether the model performs well enough before it is used for prediction.

  27. 27
    Data processing includes cleaning data, handling missing values, and standardizing
    _____
    .
    Hint

    This makes the data consistent and usable by the model.

    Answer

    formats

    Explanation

    Before training, data must be cleaned, missing values handled, and formats standardized.

  28. 28
    Replacing a missing patient age with the average age of other patients is an example of data
    _____
    .
    Hint

    It fills in a missing entry rather than discarding the entire record.

    Answer

    imputation

    Explanation

    Imputation supplies a value for a missing entry, such as filling in an absent age with the average age in the dataset.

  29. 29
    Data cleaning also addresses noisy data and extreme
    _____
    .
    Hint

    These are unusually distant or atypical observations.

    Answer

    outliers

    Explanation

    The cleaning step can smooth noisy data and handle extreme outliers that may otherwise distort analysis.

  30. 30
    A structured dataset is represented for a machine-learning model as a mathematical
    _____
    .
    Hint

    It is a grid of rows and columns.

    Answer

    matrix

    Explanation

    A model treats a structured table as a matrix, a mathematical grid that can be processed systematically.

  31. 31
    In a dataset matrix, a row vector represents one complete data
    _____
    .
    Hint

    In the clinic example, it corresponds to one patient's profile.

    Answer

    instance

    Explanation

    A row vector contains the values for a single instance, such as one patient's age, gender, and health status.

  32. 32
    In a dataset matrix, a column vector represents one feature across all the
    _____
    .
    Hint

    For example, it could contain every patient's age.

    Answer

    instances

    Explanation

    A column vector contains the values of a single feature for all instances in the dataset.

  33. 33
    The preprocessing workflow places data cleaning first, data transformation second, and data
    _____
    third.
    Hint

    This final step compacts the dataset using dimensionality-reduction techniques.

    Answer

    reduction

    Explanation

    The stated preprocessing sequence is data cleaning, data transformation, and data reduction.

  34. 34
    Scaling variables so that large numerical ranges do not unfairly dominate smaller ones is the purpose of
    _____
    .
    Hint

    It places features on a more comparable scale.

    Answer

    standardization

    Explanation

    Standardization prevents a feature such as square footage from dominating another feature, such as bedroom count, just because its raw values are larger.

  35. 35
    A common standardization sets a feature's mean to zero and its standard deviation to
    _____
    .
    Hint

    This is the conventional unit-scale value used in the example.

    Answer

    one

    Explanation

    The content describes standardization as often setting variables to a mean of zero and a standard deviation of one.

  36. 36
    The dimensionality problem can make data sparse, slow training, and confuse models; this challenge is called the curse of
    _____
    .
    Hint

    It arises as the number of features and the mathematical space grow.

    Answer

    dimensionality

    Explanation

    As features are added, the volume of the space grows exponentially, creating sparsity, longer training times, and difficulty for models.

  37. 37
    Feature selection reduces dimensionality by keeping a relevant subset of existing features, whereas feature extraction creates a new set of
    _____
    .
    Hint

    Extraction transforms the original variables into a more compact representation.

    Answer

    features

    Explanation

    Feature selection keeps some original features; feature extraction combines or transforms the originals into new, more informative features.

  38. 38
    In forward selection, the process starts with
    _____
    variables and adds useful ones iteratively.
    Hint

    The method builds up from an empty feature set.

    Answer

    zero

    Explanation

    Forward selection begins with no variables, then repeatedly adds the variable that improves the model most until further additions no longer help.

  39. 39
    In backward selection, the process starts with all features and repeatedly removes the most
    _____
    feature.
    Hint

    This is the variable whose removal is least harmful to performance.

    Answer

    useless

    Explanation

    Backward selection starts with the full feature set and trims features until removing another would hurt model performance.

  40. 40
    PCA maps data to fewer dimensions while choosing components that maximize
    _____
    .
    Hint

    Here it represents the spread or information captured in the data.

    Answer

    variance

    Explanation

    Principal component analysis finds lower-dimensional representations that preserve as much variance as possible.

  41. 41
    The first principal component follows the direction of the data cloud with the greatest
    _____
    .
    Hint

    It captures the largest variation among the observations.

    Answer

    spread

    Explanation

    PCA constructs its first component along the direction of maximum spread, capturing the greatest amount of variation in the data.

  42. 42
    After the first principal component, PCA can find another component that is orthogonal, or at a right angle, to the
    _____
    .
    Hint

    The next axis captures additional variation while being perpendicular to this one.

    Answer

    first component

    Explanation

    Principal components are constructed as orthogonal axes; the second captures the next largest spread at a right angle to the first.

  43. 43
    In PCA, variation is treated as a source of useful
    _____
    .
    Hint

    A feature that changes across observations can help distinguish them.

    Answer

    information

    Explanation

    PCA seeks directions of high variation because variation is treated as information; a feature with no variation provides little predictive value.

  44. 44
    Keeping only the top principal components can compress data and reduce processing time, providing data
    _____
    .
    Hint

    Many original dimensions are represented with fewer components.

    Answer

    compression

    Explanation

    PCA can reduce the number of dimensions substantially, which compresses the data and speeds processing.

  45. 45
    PCA can reduce noise because random noise often lacks much structural
    _____
    .
    Hint

    The weaker-spread directions are less likely to be retained among top components.

    Answer

    variance

    Explanation

    When only high-variance principal components are retained, random noise with little structural variance may be dropped.

  46. 46
    PCA addresses multicollinearity by transforming correlated features into uncorrelated,
    _____
    components.
    Hint

    The components are mathematically at right angles to one another.

    Answer

    orthogonal

    Explanation

    PCA creates orthogonal components, helping resolve confusion caused by highly correlated input features.

  47. 47
    Reducing a dataset to two or three principal components can make high-dimensional data easier to visualize on a 2D or 3D
    _____
    .
    Hint

    It is a standard visual display for plotting points.

    Answer

    graph

    Explanation

    PCA can compress many dimensions to two or three components so the observations and their clusters can be plotted visually.

  48. 48
    A major drawback of PCA is that its synthetic components can be difficult to
    _____
    .
    Hint

    It may be hard to explain what a component means in real-world terms.

    Answer

    interpret

    Explanation

    Because principal components combine original features, a prediction based on one component may not be readily understandable to people such as clinicians.

  49. 49
    PCA is highly sensitive to data scaling, so data should be
    _____
    before applying it.
    Hint

    This prevents features with large raw values from dominating the components.

    Answer

    standardized

    Explanation

    Without standardization, PCA may latch onto the feature with the largest numerical scale rather than capturing useful overall structure.

  50. 50
    PCA assumes relationships are purely
    _____
    and may lose information if too many components are dropped.
    Hint

    The limitation concerns relationships represented by straight-line combinations.

    Answer

    linear

    Explanation

    PCA assumes linear relationships, and discarding too many components risks losing information.

  51. 51
    Supervised learning learns a function mapping inputs to outputs from labeled input-output
    _____
    .
    Hint

    Each example contains an input and its known answer.

    Answer

    pairs

    Explanation

    Supervised learning learns a mapping from input to output using labeled example input-output pairs.

  52. 52
    In supervised learning, the correct answers attached to training examples are also called target
    _____
    .
    Hint

    They are the known results against which predictions are checked.

    Answer

    outputs

    Explanation

    The labels are known correct answers, or target outputs, used to guide the model during training.

  53. 53
    During supervised training, a prediction is compared with the known correct answer, and the model adjusts its internal parameters when it is
    _____
    .
    Hint

    The feedback identifies a prediction error that the learner should correct.

    Answer

    wrong

    Explanation

    Training is an iterative loop: the model makes predictions, compares them with correct labels, and adjusts itself to reduce errors.

  54. 54
    In clinic data, age and gender are input
    _____
    used to predict whether a patient is healthy or sick.
    Hint

    These are the measurable attributes supplied to the model.

    Answer

    features

    Explanation

    Features are the input variables; in the example, age and gender are used to predict the patient's health label.

  55. 55
    A supervised-learning project starts by collecting labeled data and then proceeds through preprocessing, model selection, training, evaluation, and
    _____
    .
    Hint

    This final stage uses the trained model on new cases.

    Answer

    prediction

    Explanation

    The six steps are data collection, preprocessing, model selection, training, evaluation, and prediction.

  56. 56
    Testing a model on unseen houses helps determine whether it learned market trends or merely
    _____
    its training data.
    Hint

    This failure occurs when a model fits training examples without learning patterns that transfer.

    Answer

    memorized

    Explanation

    Evaluation on unseen examples checks generalization and helps distinguish learning true trends from memorizing the training data.

  57. 57
    When the target is a continuous amount, such as a house price, the supervised task is
    _____
    .
    Hint

    This task predicts a numerical quantity rather than a category.

    Answer

    regression

    Explanation

    Regression predicts a continuous numerical output, such as a future price, revenue, or blood pressure.

  58. 58
    When the target is a discrete category, such as spam versus not spam, the supervised task is
    _____
    .
    Hint

    This task assigns an example to one of several categories.

    Answer

    classification

    Explanation

    Classification predicts categorical outputs, such as whether an email is spam or whether a patient is healthy or sick.

  59. 59
    The type of target output determines whether a problem calls for regression or
    _____
    .
    Hint

    This is the alternative used when the output is a category rather than a continuous amount.

    Answer

    classification

    Explanation

    The central distinction is whether the model predicts a continuous amount, which is regression, or assigns a category, which is classification.

  60. 60
    In the housing example, square footage and bedroom count are features, while the actual sale price is the target
    _____
    .
    Hint

    It is the value the model is trained to predict.

    Answer

    output

    Explanation

    Supervised training pairs housing features such as square footage with the known sale price, the target output.

  61. 61
    A supervised algorithm can predict a new patient's health status from age and gender after learning patterns from previously labeled
    _____
    .
    Hint

    These earlier cases provide the training evidence.

    Answer

    examples

    Explanation

    The model learns relationships from labeled patient examples and applies them to a new patient whose label is not yet known.

  62. 62
    Model evaluation in a supervised workflow uses data that the model has not seen during
    _____
    .
    Hint

    The data is held aside to test generalization.

    Answer

    training

    Explanation

    Unseen test examples help assess whether the trained model can make accurate predictions beyond its training data.

  63. 63
    Linear regression fits a linear equation to model a dependent variable using one or more independent
    _____
    .
    Hint

    These are the inputs used to estimate the target value.

    Answer

    features

    Explanation

    Linear regression calculates the relationship between the dependent variable being predicted and one or more independent features.

  64. 64
    Linear regression with one input feature, such as square footage, is called
    _____
    linear regression.
    Hint

    The name reflects that there is only one predictor.

    Answer

    simple

    Explanation

    Simple linear regression uses one feature; adding multiple predictors produces multiple linear regression.

  65. 65
    When linear regression uses several predictors, such as bedrooms, house age, and school district, it is called
    _____
    linear regression.
    Hint

    The name indicates that more than one feature is included.

    Answer

    multiple

    Explanation

    Multiple linear regression models a target using more than one independent feature.

  66. 66
    Despite its name, logistic regression is generally used for
    _____
    .
    Hint

    It predicts category membership rather than a continuous quantity.

    Answer

    classification

    Explanation

    Logistic regression estimates the probability that an instance belongs to a category, so it is used for classification tasks.

  67. 67
    A classification task with two outcomes, such as success or failure, is called binary or
    _____
    classification.
    Hint

    The term refers to a two-category case.

    Answer

    binomial

    Explanation

    Binary or binomial classification handles two possible outcomes, such as success versus failure.

  68. 68
    Classifying an image as a cat, dog, or bird is an example of
    _____
    classification because the categories have no inherent ranking.
    Hint

    This approach handles three or more unordered categories.

    Answer

    multinomial

    Explanation

    Multinomial classification is appropriate for three or more unordered categories, such as cat, dog, and bird.

  69. 69
    Classifying survey responses as poor, good, or excellent is an example of
    _____
    classification.
    Hint

    The categories have a meaningful ranked order.

    Answer

    ordinal

    Explanation

    Ordinal classification handles three or more categories with an order, such as poor, good, and excellent.

  70. 70
    A decision tree represents decisions in a hierarchical structure resembling a
    _____
    .
    Hint

    It branches through questions and tests toward a result.

    Answer

    flowchart

    Explanation

    A decision tree applies a sequence of attribute tests in a hierarchical structure much like a flowchart.

  71. 71
    The first question at the top of a decision tree is represented by the
    _____
    .
    Hint

    It is the starting point from which branches descend.

    Answer

    root node

    Explanation

    A decision tree begins at the root node, which asks an initial defining question.

  72. 72
    The final decision at the end of a decision-tree path is represented by a
    _____
    node.
    Hint

    It is the terminal node reached after following branches.

    Answer

    leaf

    Explanation

    A leaf node provides the final concrete decision, such as whether to take an umbrella.

  73. 73
    Decision trees can be used for both classification and
    _____
    .
    Hint

    They can predict categories as well as numerical amounts.

    Answer

    regression

    Explanation

    Decision trees are versatile and can solve both classification and regression tasks.

  74. 74
    An SVM seeks a separating decision boundary called a
    _____
    .
    Hint

    In two dimensions it is a line; in three dimensions it is a plane.

    Answer

    hyperplane

    Explanation

    A support vector machine places a hyperplane between groups of data points to separate their classes.

  75. 75
    In an SVM, the data points closest to the decision boundary are called support
    _____
    .
    Hint

    Their positions help define the separating boundary and its margin.

    Answer

    vectors

    Explanation

    Support vectors are the data points closest to the hyperplane; their distance from it defines the margin.

  76. 76
    The SVM margin is the distance between the hyperplane and the closest data points, the support
    _____
    .
    Hint

    These points lie nearest to the central decision boundary.

    Answer

    vectors

    Explanation

    The margin measures the separation between the decision boundary and the nearest observations, known as support vectors.

  77. 77
    Maximizing an SVM's margin helps reduce
    _____
    and improve generalization to unseen data.
    Hint

    This problem occurs when a model fits its training data too closely.

    Answer

    overfitting

    Explanation

    A large margin can reduce overfitting, helping an SVM make more reliable predictions on new data.

  78. 78
    A hard-margin SVM requires a strict, perfect separation of the groups, while a
    _____
    margin allows some slack for messy data.
    Hint

    This version tolerates some outliers or minor errors.

    Answer

    soft

    Explanation

    Soft margins allow a few data points to cross the boundary, making the model more robust to real-world data and outliers.

  79. 79
    Unsupervised learning discovers structure in raw data without an answer key or external
    _____
    .
    Hint

    No teacher supplies the correct labels during learning.

    Answer

    supervision

    Explanation

    Unsupervised learning explores patterns and associations in unlabeled data without external supervision.

  80. 80
    In k-means, the human specifies K, the desired number of
    _____
    .
    Hint

    K controls how many groups the algorithm will organize the data into.

    Answer

    clusters

    Explanation

    The user selects K before clustering; it is the number of groups k-means will try to find.

  81. 81
    The initial K points placed by k-means to represent cluster centers are called
    _____
    .
    Hint

    Each is an initial leader or center for a group.

    Answer

    centroids

    Explanation

    K-means begins by placing K random centroids, then repeatedly assigns points and updates those centers.

  82. 82
    During k-means assignment, each data point is assigned to the cluster whose centroid is closest by physical
    _____
    .
    Hint

    The algorithm compares how near each point is to each center.

    Answer

    distance

    Explanation

    K-means assigns every point to its nearest centroid, using distance to form clusters.

  83. 83
    After assigning points, k-means recalculates the mathematical center of each cluster and moves its
    _____
    .
    Hint

    This location is updated to reflect the points assigned to the group.

    Answer

    centroid

    Explanation

    K-means updates each centroid to the true center of its current cluster, then repeats assignment and updating.

  84. 84
    K-means stops when centroids no longer move and data points no longer change
    _____
    .
    Hint

    At convergence, points stop switching groups.

    Answer

    clusters

    Explanation

    The iterative k-means process ends when assignments and centroid locations stabilize.

  85. 85
    An ensemble combines predictions from multiple individual models to improve accuracy and
    _____
    .
    Hint

    The combined system is intended to be more reliable than a single model.

    Answer

    robustness

    Explanation

    Ensemble methods aggregate multiple model predictions to achieve better predictive accuracy and robustness than one model alone.

  86. 86
    Combining several weak learners can reduce errors and minimize
    _____
    .
    Hint

    This is one source of instability that aggregation can lessen.

    Answer

    variance

    Explanation

    Aggregating weak learners can reduce errors and variance while producing a more robust model.

  87. 87
    Boosting builds weak models in sequence so each new model focuses on correcting errors made by the model that came
    _____
    .
    Hint

    The models are chained rather than trained independently all at once.

    Answer

    before it

    Explanation

    Boosting builds learners sequentially, with later models targeted at the mistakes of earlier models.

  88. 88
    After the first boosting model is trained, the algorithm identifies data points it predicted
    _____
    .
    Hint

    These cases receive extra attention from later learners.

    Answer

    incorrectly

    Explanation

    Boosting focuses subsequent models on the examples that the preceding model got wrong.

  89. 89
    In boosting, later models give extra weight and attention to the earlier models'
    _____
    .
    Hint

    These are the difficult training points the ensemble tries to correct.

    Answer

    errors

    Explanation

    Each successive learner focuses on errors made by the preceding model, helping the ensemble improve its predictions.

  90. 90
    Boosting can continue until the training data is predicted correctly or a maximum number of models is
    _____
    .
    Hint

    The number of learners may be limited by a preset stopping condition.

    Answer

    reached

    Explanation

    The sequential process ends when the training set is predicted correctly or the maximum specified number of models is reached.

  91. 91
    Bagging and random forests are other ensemble techniques mentioned alongside
    _____
    .
    Hint

    This is the sequential method that corrects previous learners' errors.

    Answer

    boosting

    Explanation

    Boosting is one ensemble technique; bagging and random forests are also mentioned as ensemble methods.

  92. 92
    Accuracy is the total percentage of predictions that are
    _____
    .
    Hint

    It summarizes the fraction of all predictions that match the truth.

    Answer

    correct

    Explanation

    Accuracy reports the total percentage of predictions classified correctly.

  93. 93
    A confusion matrix tracks false positives and false
    _____
    .
    Hint

    These are the other main type of incorrect classification counted in the matrix.

    Answer

    negatives

    Explanation

    A confusion matrix summarizes classification outcomes, including false positives and false negatives.

  94. 94
    Precision, recall, and F1 score can be derived from the
    _____
    .
    Hint

    This table records correct and incorrect classification outcomes.

    Answer

    confusion matrix

    Explanation

    The confusion matrix provides the information used to calculate precision, recall, and their combined F1 score.

  95. 95
    The F1 score is described as the combined
    _____
    mean of precision and recall.
    Hint

    It is a type of average that combines the two measures.

    Answer

    harmonic

    Explanation

    The F1 score is the harmonic mean of precision and recall.

  96. 96
    The receiver operating characteristic curve is commonly abbreviated
    _____
    .
    Hint

    It is a graphical evaluation tool for model performance.

    Answer

    ROC

    Explanation

    The receiver operating characteristic curve is an evaluation plot known as the ROC curve.

  97. 97
    The area under the receiver operating characteristic curve is abbreviated
    _____
    .
    Hint

    It summarizes the area beneath the ROC curve.

    Answer

    AUC

    Explanation

    AUC stands for area under the curve and is used with the ROC curve to evaluate a model.

  98. 98
    Mean absolute deviation measures the average distance between data points and the
    _____
    .
    Hint

    It is the dataset's average value, denoted by the Greek letter mu.

    Answer

    mean

    Explanation

    Mean absolute deviation is the average absolute distance of each observation from the mean of the data.

  99. 99
    In the MAD expression MAD=āˆ‘āˆ£xāˆ’Ī¼āˆ£NMAD = \frac{\sum |x-\mu|}{N}MAD=Nāˆ‘āˆ£xāˆ’Ī¼āˆ£ā€‹, xxx represents each individual
    _____
    .
    Hint

    It is one data value being compared with the mean.

    Answer

    observation

    Explanation

    In the formula, xxx denotes an individual observation or data point.

  100. 100
    In the MAD expression MAD=āˆ‘āˆ£xāˆ’Ī¼āˆ£NMAD = \frac{\sum |x-\mu|}{N}MAD=Nāˆ‘āˆ£xāˆ’Ī¼āˆ£ā€‹, μ\muμ represents the dataset's
    _____
    .
    Hint

    It is the average value used as the reference point for each distance.

    Answer

    mean

    Explanation

    The Greek letter mu represents the mean, or average, of the dataset.

  101. 101
    The absolute value in MAD makes distances above and below the mean count as positive
    _____
    rather than canceling each other.
    Hint

    MAD measures how far observations are from the mean, regardless of direction.

    Answer

    distances

    Explanation

    Absolute value removes direction, so being above or below the mean contributes a positive distance to the calculation.

  102. 102
    The summation symbol in the MAD formula means to
    _____
    all the individual absolute distances.
    Hint

    It combines the distances before the final averaging step.

    Answer

    add

    Explanation

    The summation adds the absolute distance of every observation from the mean.

  103. 103
    In the MAD formula, NNN is the total number of
    _____
    .
    Hint

    It is the count used to divide the sum and calculate an average.

    Answer

    observations

    Explanation

    After the distances are summed, dividing by N, the total number of observations, gives the mean absolute deviation.

  104. 104
    A high MAD for model errors means the predictions are widely scattered, while a low MAD means errors are more
    _____
    .
    Hint

    Low spread indicates errors cluster closely together.

    Answer

    consistent

    Explanation

    MAD measures spread: a high value indicates scattered errors, while a low value means errors are tightly clustered and more consistent.

  105. 105
    A boosted model that memorizes training data too closely may fail to generalize to new environments; this is called
    _____
    .
    Hint

    It is the danger of fitting the past rather than learning patterns that transfer.

    Answer

    overfitting

    Explanation

    Overfitting occurs when a model fits training examples too closely and performs poorly on unpredictable, unseen data.

1 of 105
Question 1 of 105

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent