1. Home
  2. Explore
  3. Mathematics
  4. Linear Regression

Study methods

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

Linear Regression

  • 72Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Learning Foundations
In linear regression, experimental data are used to deduce a
that fits the observations.

72 questions

  1. 1
    In linear regression, experimental data are used to deduce a
    _____
    that fits the observations.
    Hint

    Think of the mathematical description inferred from measured data.

    Answer

    model

  2. 2
    When the form of a model is not known in advance,
    _____
    can be used to explore whether a linear, quadratic, cubic, or higher-order model fits best.
    Hint

    Think of the process used to compare candidate models.

    Answer

    validation

  3. 3
    The broad field that gives computers the ability to improve or infer models from data is called
    _____
    learning.
    Hint

    Complete the name of the field discussed in the lecture.

    Answer

    machine

  4. 4
    Art Samuel defined machine learning as the field that gives computers the ability to learn without being
    _____
    programmed.
    Hint

    The definition contrasts learning with directly writing every rule.

    Answer

    explicitly

  5. 5
    A program that improves its checkers strategy by examining the results of previous games is learning from
    _____
    .
    Hint

    The relevant information comes from what happened in earlier games.

    Answer

    experience

  6. 6
    Traditional programming takes input data and applies a programmer-written process to produce an appropriate
    _____
    .
    Hint

    The traditional relationship is program plus data producing this result.

    Answer

    output

  7. 7
    In a machine learning approach, examples, labels, or characterizations are used to produce a
    _____
    that can infer new information.
    Hint

    The learned result can later be applied to unseen data.

    Answer

    program

  8. 8
    Memorizing statements of truth is an example of
    _____
    knowledge.
    Hint

    This type of knowledge describes facts rather than procedures.

    Answer

    declarative

  9. 9
    Inferring new information from old information is associated with
    _____
    knowledge.
    Hint

    This kind of knowledge concerns ways to deduce or perform new things.

    Answer

    imperative

  10. 10
    A basic machine learning paradigm consists of training data, an inference engine, and the ability to make new
    _____
    .
    Hint

    The final step applies the learned model to previously unseen cases.

    Answer

    predictions

  11. 11
    In the spring example, the learned model could predict new displacements from changes in the applied
    _____
    .
    Hint

    The experiment varied the objects placed on the spring.

    Answer

    masses

  12. 12
    The five essential components of a machine learning method include training data, evaluation, representation, distance measurement, and model
    _____
    .
    Hint

    This component concerns how the model is learned or improved.

    Answer

    optimization

  13. 13
    The subjects that focus on machine learning include natural language processing, computational biology, computer vision, and
    _____
    .
    Hint

    It is another application area listed alongside computer vision.

    Answer

    robotics

  14. 14
    In supervised learning, every training example has an associated
    _____
    .
    Hint

    The system knows what kind of thing each training example is.

    Answer

    label

  15. 15
    Supervised learning seeks a rule that predicts the label associated with
    _____
    input.
    Hint

    The rule is applied to examples that were not part of the training set.

    Answer

    unseen

  16. 16
    Learning from examples with known labels is also called a
    _____
    method.
    Hint

    The method assigns examples to known categories.

    Answer

    classification

  17. 17
    In unsupervised learning, the examples are provided without known
    _____
    .
    Hint

    Unlike supervised learning, the categories are not supplied in advance.

    Answer

    labels

  18. 18
    Unsupervised learning attempts to find natural ways to
    _____
    examples together.
    Hint

    The goal is to discover collections of similar examples.

    Answer

    group

  19. 19
    A standard unsupervised learning method that groups similar examples is called
    _____
    .
    Hint

    It forms groups without using predefined labels.

    Answer

    clustering

  20. 20
    Classification works well with labeled data, whereas
    _____
    works well when labels are unavailable.
    Hint

    The second method discovers groups rather than using known categories.

    Answer

    clustering

  21. 21
    The features of a football player used in the example were height and
    _____
    .
    Hint

    One feature was measured in inches and the other in pounds.

    Answer

    weight

  22. 22
    A feature is a measurable characteristic used to represent an
    _____
    in a machine learning system.
    Hint

    Players and animals were each described using measurable properties.

    Answer

    example

  23. 23
    The collection of feature values used to represent one example is called a feature
    _____
    .
    Hint

    It can contain multiple dimensions, one for each feature.

    Answer

    vector

  24. 24
    Feature engineering involves deciding which features to measure and how to determine their relative
    _____
    .
    Hint

    The lecture corrected the idea of feature weights by emphasizing the size of each dimension.

    Answer

    scale

  25. 25
    Useful features are selected to maximize the
    _____
    to noise ratio.
    Hint

    The goal is to retain information and remove irrelevant variation.

    Answer

    signal

  26. 26
    Including irrelevant features such as birth month or eye color can cause a model to find accidental correlations and lead to
    _____
    .
    Hint

    This occurs when a model captures quirks of the available data rather than meaningful patterns.

    Answer

    overfitting

  27. 27
    In the reptile example, scales and being cold blooded were features that helped distinguish reptiles from
    _____
    .
    Hint

    The contrasting category includes animals such as the dart frog and salmon.

    Answer

    non reptiles

  28. 28
    A design choice that avoids labeling any reptile as non-reptile is described as having no false
    _____
    .
    Hint

    A negative prediction would incorrectly reject a true reptile.

    Answer

    negatives

  29. 29
    An example incorrectly labeled as a reptile, such as the salmon in the simplified model, is a false
    _____
    .
    Hint

    The model predicted the positive category even though the example was not one.

    Answer

    positive

  30. 30
    The measure of how far apart two examples are in feature space is called
    _____
    .
    Hint

    It determines whether examples are close or dissimilar.

    Answer

    distance

  31. 31
    The general distance formula based on taking differences to a power ppp is called the
    _____
    Metric.
    Hint

    This metric includes Manhattan and Euclidean distance as special cases.

    Answer

    Minkowski

  32. 32
    In the Minkowski Metric, the absolute differences between corresponding vector components are raised to the power
    _____
    .
    Hint

    This parameter determines which particular metric is being used.

    Answer

    ppp

  33. 33
    When p=1p = 1p=1 in the Minkowski Metric, the resulting distance is called the
    _____
    metric.
    Hint

    It resembles movement along city streets and avenues.

    Answer

    Manhattan

  34. 34
    When p=2p = 2p=2 in the Minkowski Metric, the resulting distance is called
    _____
    distance.
    Hint

    This is the ordinary straight-line distance in a plane.

    Answer

    Euclidean

  35. 35
    Manhattan distance differs from Euclidean distance because it measures movement along separate
    _____
    and streets rather than a straight line.
    Hint

    The example uses travel through Manhattan's city grid.

    Answer

    avenues

  36. 36
    For animal classification, representing true as 1 and false as 0 creates
    _____
    features for the Boolean properties.
    Hint

    These features have only two possible values.

    Answer

    binary

  37. 37
    Using the number of legs as an unscaled integer feature can make it dominate distance because it ranges from 0 to
    _____
    .
    Hint

    Consider the largest number of legs in the examples.

    Answer

    4

  38. 38
    Changing the number-of-legs feature from an integer to a binary feature reduces its influence on the computed
    _____
    .
    Hint

    The calculation compares feature vectors using this quantity.

    Answer

    distance

  39. 39
    The choice of feature scales is especially important because dimensions with larger numerical ranges can receive too much influence in a
    _____
    calculation.
    Hint

    Think about what happened with the number-of-legs dimension.

    Answer

    distance

  40. 40
    In distance-based learning, the choice of features and their scales can substantially affect the resulting
    _____
    .
    Hint

    The result assigns examples to categories.

    Answer

    classification

  41. 41
    A clustering algorithm begins by deciding how many
    _____
    it is trying to find.
    Hint

    This is the number of groups into which the examples will be divided.

    Answer

    clusters

  42. 42
    The initial representative examples selected by a clustering algorithm are called
    _____
    .
    Hint

    Other examples are assigned according to which representative they are closest to.

    Answer

    exemplars

  43. 43
    After selecting exemplars, each remaining training example is assigned to the group whose exemplar is
    _____
    .
    Hint

    The assignment is based on the smallest distance.

    Answer

    closest

  44. 44
    After forming clusters, the algorithm replaces the exemplars with the
    _____
    element of each group.
    Hint

    The lecture explicitly contrasts this with the mean.

    Answer

    median

  45. 45
    The clustering process repeats either for a fixed number of iterations or until there is no further
    _____
    .
    Hint

    The algorithm stops when repeated reassignment no longer alters the result.

    Answer

    change

  46. 46
    A desirable clustering has small average distances within each cluster and relatively large distances between
    _____
    .
    Hint

    Good groups are internally tight and externally separated.

    Answer

    clusters

  47. 47
    In the football example, the line equidistant from the centers of two clusters is a
    _____
    line.
    Hint

    It separates points according to which cluster center is closer.

    Answer

    dividing

  48. 48
    A new point above or below a cluster-dividing line can be assigned a label according to which cluster center it is
    _____
    to.
    Hint

    The classifier uses relative distance to the two centers.

    Answer

    closer

  49. 49
    If a new example lies almost exactly on a cluster boundary, the learner may need to reconsider the clustering or increase the number of
    _____
    .
    Hint

    The alternative suggested was to model three groups instead of two.

    Answer

    clusters

  50. 50
    Creating one cluster for every training example produces excellent within-cluster distance but poor generalization, illustrating the danger of
    _____
    .
    Hint

    The model becomes too complex and fails to provide useful labels for new data.

    Answer

    overfitting

  51. 51
    When labeled examples are available, a classifier attempts to find a surface that separates examples belonging to different
    _____
    .
    Hint

    Receivers and linemen were examples of these categories.

    Answer

    classes

  52. 52
    In a two-dimensional feature space, a linear classification boundary is represented by a
    _____
    .
    Hint

    In higher dimensions, the analogous boundary may be a plane.

    Answer

    line

  53. 53
    When one line cannot separate labeled examples, a classifier may use a sequence of line
    _____
    .
    Hint

    The more complex boundary is built from multiple pieces of lines.

    Answer

    segments

  54. 54
    A classifier that is made unnecessarily complicated to fit training examples risks
    _____
    .
    Hint

    The model may perform well on training data but poorly on new data.

    Answer

    overfitting

  55. 55
    The kkk nearest neighbor method classifies a new example by finding its kkk closest labeled examples and taking a
    _____
    .
    Hint

    The most common neighboring label determines the prediction.

    Answer

    vote

  56. 56
    If the nearby labeled examples do not provide a sufficient majority in kkk nearest neighbor, the new example may be left
    _____
    .
    Hint

    The method does not have enough agreement to assign a category.

    Answer

    unclassified

  57. 57
    In the football-player example, a labeled boundary classified players above 280 pounds as likely
    _____
    .
    Hint

    These players tend to be heavier than receivers.

    Answer

    linemen

  58. 58
    A confusion matrix compares a classifier's predictions with the actual
    _____
    .
    Hint

    Its purpose is to show which classifications were correct or incorrect.

    Answer

    labels

  59. 59
    The diagonal entries of a confusion matrix represent the
    _____
    labeled results.
    Hint

    Predicted and actual labels match in these cells.

    Answer

    correctly

  60. 60
    Accuracy is calculated as the number of correct labels divided by the total number of
    _____
    .
    Hint

    The denominator includes every classification made.

    Answer

    labels

  61. 61
    The two types of correct predictions used in accuracy are true positives and true
    _____
    .
    Hint

    These are the cases where the classifier correctly identifies both the positive and negative categories.

    Answer

    negatives

  62. 62
    A true positive occurs when the classifier labels an example as an instance of a category and it
    _____
    is one.
    Hint

    The prediction agrees with the actual category.

    Answer

    really

  63. 63
    A true negative occurs when the classifier labels an example as not being an instance and it
    _____
    is not one.
    Hint

    The negative prediction is correct.

    Answer

    really

  64. 64
    A false negative occurs when the classifier labels an example as negative even though it
    _____
    belongs to the positive category.
    Hint

    The model incorrectly rejects a true positive.

    Answer

    does

  65. 65
    Positive Predictive Value, or PPV, measures the number of true positives among all examples labeled
    _____
    .
    Hint

    The denominator consists of every predicted positive.

    Answer

    positively

  66. 66
    Sensitivity measures the percentage of actual positive examples that the classifier correctly
    _____
    .
    Hint

    It focuses on detecting the instances of interest.

    Answer

    finds

  67. 67
    Specificity measures the percentage of negative examples that the classifier correctly
    _____
    .
    Hint

    It focuses on correctly excluding non-instances.

    Answer

    rejects

  68. 68
    A classifier that labels everything as positive can achieve sensitivity of 1 but specificity of
    _____
    .
    Hint

    It fails to correctly reject any negative examples.

    Answer

    0

  69. 69
    A classifier that rejects everything can achieve specificity of 1 but sensitivity of
    _____
    .
    Hint

    It misses every positive example.

    Answer

    0

  70. 70
    The trade-off between sensitivity and specificity can be examined using an ROC, or Receiver Operator
    _____
    .
    Hint

    Complete the name of the evaluation graph.

    Answer

    Curve

  71. 71
    To evaluate whether a model generalizes, data can be divided into training data and
    _____
    data.
    Hint

    This second portion is held out from model fitting.

    Answer

    test

  72. 72
    A complex classifier that achieved training accuracy of about 0.833 but test accuracy of about 0.6 demonstrated possible
    _____
    .
    Hint

    Its performance dropped substantially on held-out data.

    Answer

    overfitting

1 of 72
Question 1 of 72

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent