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

Study methods

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

Machine Learning Fundamentals

  • 87Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Machine Learning Basics
Machine learning is a subset of
that enables computer systems to perform tasks without being explicitly programmed.

87 questions

  1. 1
    Machine learning is a subset of
    _____
    that enables computer systems to perform tasks without being explicitly programmed.
    Hint

    Think of the broader field concerned with creating intelligent computer systems.

    Answer

    artificial intelligence

  2. 2
    Unlike traditional programming, machine learning avoids relying entirely on explicitly coded
    _____
    and conditions.
    Hint

    These are manually written instructions such as If or Else statements.

    Answer

    rules

  3. 3
    A machine-learning algorithm learns from a set of
    _____
    data before making predictions on new examples.
    Hint

    This data is used during the learning phase.

    Answer

    training

  4. 4
    Training data may be either
    _____
    or unlabeled, depending on the machine-learning approach.
    Hint

    In one case, the correct target or class is provided for each example.

    Answer

    labeled

  5. 5
    After learning from training data, a machine-learning model should make predictions on
    _____
    data that it has never seen before.
    Hint

    This data is not part of the original training examples.

    Answer

    new

  6. 6
    The ability of a model to perform well on previously unseen examples is called
    _____
    .
    Hint

    It refers to applying learned patterns beyond the training data.

    Answer

    generalization

  7. 7
    Determining whether an email is spam or not spam is an example of a
    _____
    classification problem.
    Hint

    The prediction has exactly two possible classes.

    Answer

    binary

  8. 8
    In the spam-filtering example, the two classes are
    _____
    and not spam.
    Hint

    This is the unwanted category the filter is designed to detect.

    Answer

    spam

  9. 9
    The email message itself, including its text or tokenized text, serves as the model's
    _____
    .
    Hint

    This is the information supplied to a system for prediction.

    Answer

    input

  10. 10
    Modern spam detection can use
    _____
    learning to classify messages as spam or not spam.
    Hint

    This is the type of learning associated with multilayer neural architectures.

    Answer

    deep

  11. 11
    A traditional rule-based system begins by studying the problem and writing a set of
    _____
    rules.
    Hint

    The rules are manually specified in the program.

    Answer

    hard-coded

  12. 12
    If a rule-based solution performs poorly, developers return to the
    _____
    board to revise the model.
    Hint

    The phrase describes reconsidering the design from the beginning.

    Answer

    drawing

  13. 13
    A major drawback of traditional systems is that they may contain a long set of
    _____
    rules.
    Hint

    The rules can become numerous and difficult to understand.

    Answer

    complex

  14. 14
    Hard-coded rules may become
    _____
    over time when the behavior or data patterns change.
    Hint

    They are no longer useful or current.

    Answer

    obsolete

  15. 15
    Thousands of lines of manually written code can make a system difficult and expensive to
    _____
    .
    Hint

    This involves updating, fixing, and managing an existing codebase.

    Answer

    maintain

  16. 16
    Because hard-coded rules cannot cover every possible new case, they may fail to be adaptable to all
    _____
    .
    Hint

    Think of different forms or examples of incoming data.

    Answer

    instances

  17. 17
    When a legitimate email is incorrectly labeled as spam, the system has produced a false
    _____
    .
    Hint

    The system predicted the presence of spam when it was absent.

    Answer

    positive

  18. 18
    Speech recognition is difficult to solve with hard-coded rules because speech frequencies must be converted into a
    _____
    .
    Hint

    The system must assign spoken input to a category or interpretation.

    Answer

    classifier

  19. 19
    In the machine-learning approach, a training set is used to train an algorithm to make the
    _____
    .
    Hint

    These are the outputs produced for new data.

    Answer

    predictions

  20. 20
    After training, the quality of a machine-learning algorithm is checked using its
    _____
    .
    Hint

    This measures how often the model's predictions are correct.

    Answer

    accuracy

  21. 21
    A labeled training set is used in
    _____
    learning because the examples include target labels.
    Hint

    The model learns under the guidance of known answers.

    Answer

    supervised

  22. 22
    A training set without labels is used in
    _____
    learning.
    Hint

    The algorithm must find structure without provided target values.

    Answer

    unsupervised

  23. 23
    Training a model offline in batches and later replacing the production model is called
    _____
    learning.
    Hint

    The data is processed in groups rather than continuously.

    Answer

    batch

  24. 24
    The term
    _____
    learning describes training that occurs continuously or on the fly as new instances arrive.
    Hint

    It is the opposite of offline or batch learning.

    Answer

    online

  25. 25
    A model that predicts a numerical value, such as one produced by regression, is an example of
    _____
    learning.
    Hint

    This category focuses on predicting an output value.

    Answer

    predictive

  26. 26
    A model that classifies new data points into existing categories or instances is called an
    _____
    -based model.
    Hint

    The term refers to assigning new points to known examples or regions.

    Answer

    instance

  27. 27
    KNN is an example of an instance-based model because it assigns new data points to nearby existing
    _____
    .
    Hint

    The example describes spatial areas containing known points.

    Answer

    regions

  28. 28
    A spam filter could combine instance-based learning, supervised learning, and
    _____
    learning.
    Hint

    This approach updates the filter as new messages arrive.

    Answer

    online

  29. 29
    The choice among learning approaches is generally
    _____
    -specific rather than universally fixed.
    Hint

    Different tasks may require different combinations of methods.

    Answer

    problem

  30. 30
    In offline learning, a new model is trained using newly collected data and then eventually replaces the model in
    _____
    .
    Hint

    This is the environment where the currently deployed model operates.

    Answer

    production

  31. 31
    Offline or batch retraining may occur after collecting more data over a period of six to eight months, a year, or up to
    _____
    years.
    Hint

    The content gives a range ending at this number of years.

    Answer

    two

  32. 32
    A change in the distribution of model features is called
    _____
    drift.
    Hint

    This drift concerns changes in the input data distribution.

    Answer

    data

  33. 33
    Data drift can cause a model's performance to start
    _____
    because the model was not trained for the new distribution.
    Hint

    Think of a decline in predictive quality.

    Answer

    going down

  34. 34
    When the relationship between targets and features is no longer predictive, the problem is called
    _____
    drift.
    Hint

    This drift concerns a change in the underlying relationship being modeled.

    Answer

    concept

  35. 35
    If autonomous vehicles make driver age unrelated to car accidents, this illustrates
    _____
    drift.
    Hint

    The predictive relationship between a feature and target has changed.

    Answer

    concept

  36. 36
    If a dataset begins containing many more older drivers and the model performs poorly on them, this illustrates
    _____
    drift.
    Hint

    The example changes the distribution of an input feature.

    Answer

    data

  37. 37
    Models may need retraining when feature distributions change because the model's original
    _____
    no longer represents incoming data.
    Hint

    Think of the data used to teach the model.

    Answer

    training

  38. 38
    Online learning retrains a production model every night or as
    _____
    as possible.
    Hint

    The phrase describes updating with very little delay.

    Answer

    frequent

  39. 39
    Online learning can make a model vulnerable to degradation if the incoming
    _____
    is poor.
    Hint

    Bad inputs can progressively teach the model incorrect patterns.

    Answer

    data

  40. 40
    A fail switch can prevent replacing a production model when the newly trained model performs worse on a hard-coded
    _____
    .
    Hint

    This is a fixed collection of examples used for comparison.

    Answer

    set

  41. 41
    Threshold measures in an online-learning system are used to prevent a new model from making performance
    _____
    .
    Hint

    They stop updates that would reduce quality.

    Answer

    worse

  42. 42
    A Twitter bot that begins producing nonsense may be suffering because the data fed into its model was very
    _____
    .
    Hint

    The problem concerns low-quality training or update data.

    Answer

    bad

  43. 43
    The first stage of a machine-learning project is to understand the
    _____
    problem.
    Hint

    The model should address the organization's practical use case.

    Answer

    business

  44. 44
    A practitioner should define the problem with the project's
    _____
    .
    Hint

    These are the people connected to the business need and its outcomes.

    Answer

    stakeholders

  45. 45
    Asking questions of stakeholders helps establish a full
    _____
    of the machine-learning project.
    Hint

    This describes the boundaries and complete extent of the work.

    Answer

    scope

  46. 46
    Stakeholders can provide valuable guidance because they have worked with the problem for much
    _____
    than the data scientist.
    Hint

    The comparison concerns the amount of time spent in the domain.

    Answer

    longer

  47. 47
    The second major project stage is exploratory
    _____
    analysis.
    Hint

    This stage investigates patterns, quality, and relationships in the dataset.

    Answer

    data

  48. 48
    Exploratory data analysis may produce useful dashboards and insights even without building a sophisticated
    _____
    model.
    Hint

    The content names a particular advanced modeling method as something not always necessary.

    Answer

    XGBoost

  49. 49
    After initial EDA, practitioners should meet with stakeholders to determine whether the analysis is on the right
    _____
    .
    Hint

    The phrase asks whether the work is progressing appropriately.

    Answer

    track

  50. 50
    Plotting a target against features can help a practitioner form initial
    _____
    about which features may be predictive.
    Hint

    These are tentative ideas that can later be tested.

    Answer

    hypotheses

  51. 51
    During EDA, practitioners should examine correlations between the target and features as well as correlations among the
    _____
    .
    Hint

    The second type of correlation involves relationships among input variables.

    Answer

    features

  52. 52
    ETL stands for Extract, Transform, and
    _____
    .
    Hint

    It is the final step in the data-processing acronym.

    Answer

    Load

  53. 53
    An ETL architecture prepares raw data sources by cleaning and possibly
    _____
    them before modeling.
    Hint

    This combines information from multiple sources.

    Answer

    merging

  54. 54
    A reusable data process should be organized into a
    _____
    so that future data follows the same transformations.
    Hint

    This carries data through a sequence of repeatable steps.

    Answer

    pipeline

  55. 55
    The presentation recommends prioritizing data understanding and collection over building a very
    _____
    model.
    Hint

    The word describes an unnecessarily sophisticated model.

    Answer

    fancy

  56. 56
    The power of good
    _____
    can outperform the power of a good model.
    Hint

    This is the information from which models learn.

    Answer

    data

  57. 57
    Checking for missing values is part of data preparation and
    _____
    .
    Hint

    This stage corrects problems and inconsistencies in the data.

    Answer

    cleaning

  58. 58
    Replacing or adjusting missing values is called
    _____
    .
    Hint

    This is a standard technique for filling in absent data.

    Answer

    imputation

  59. 59
    If an age variable contains impossible negative values, the practitioner should consider minimum or maximum
    _____
    .
    Hint

    This limits values to an acceptable range.

    Answer

    capping

  60. 60
    Combining age and gender into a new input is an example of feature
    _____
    .
    Hint

    This process creates or transforms variables to improve representation.

    Answer

    engineering

  61. 61
    The process of converting raw data through consistent transformations for future requests is organized as a data
    _____
    .
    Hint

    It automates a repeatable sequence of data-processing steps.

    Answer

    pipeline

  62. 62
    Luigi is described as a framework for
    _____
    data and modeling processes.
    Hint

    It organizes processes according to dependencies.

    Answer

    pipelining

  63. 63
    At the modeling stage, data can be divided into
    _____
    and testing sets.
    Hint

    One set is used to fit the model, while the other evaluates it.

    Answer

    training

  64. 64
    A modeling procedure that evaluates a model across multiple partitions of data is called
    _____
    -validation.
    Hint

    The term describes repeatedly crossing among different data splits.

    Answer

    cross

  65. 65
    Classification, regression, and clustering are examples of different
    _____
    approaches.
    Hint

    These approaches specify how a machine-learning problem is addressed.

    Answer

    modeling

  66. 66
    For geographical problems, KNN may outperform a linear model because KNN provides spatial
    _____
    and geographical constraints.
    Hint

    This technique uses nearby points or regions to produce locally informed predictions.

    Answer

    smoothing

  67. 67
    Decision trees and neural networks may be suitable for problems represented by a
    _____
    structure.
    Hint

    The content describes these models as inherently related to this type of structure.

    Answer

    graph

  68. 68
    A recurring neural network or moving average model is appropriate for
    _____
    data.
    Hint

    This data is ordered according to time.

    Answer

    time series

  69. 69
    Stakeholders should be told which evaluation
    _____
    the model is optimizing.
    Hint

    Examples include Gini, precision, recall, and RMSE.

    Answer

    metric

  70. 70
    Precision and recall are evaluation metrics commonly used for
    _____
    models.
    Hint

    These metrics assess predicted categories and their errors.

    Answer

    classification

  71. 71
    RMSE and Gini are examples of evaluation metrics used for models other than typical
    _____
    models.
    Hint

    The content contrasts these metrics with precision and recall.

    Answer

    classification

  72. 72
    Overfitting occurs when training accuracy is very
    _____
    while testing accuracy is very low.
    Hint

    The model performs extremely well on the data it learned from.

    Answer

    high

  73. 73
    An overfit model has learned noise from the
    _____
    set rather than only the underlying signal.
    Hint

    This is the data used to fit the model.

    Answer

    training

  74. 74
    A model with excessive sensitivity to differences among datasets is described as having high
    _____
    .
    Hint

    This term refers to instability across different samples.

    Answer

    variance

  75. 75
    High bias occurs when a model imposes too much personal
    _____
    instead of trusting the data.
    Hint

    This is a preconceived view built into the model.

    Answer

    opinion

  76. 76
    A model that assumes a flat relationship despite a clear curve in the data demonstrates high
    _____
    .
    Hint

    The model's overly simple assumption prevents it from capturing the signal.

    Answer

    bias

  77. 77
    A good model should balance bias and
    _____
    rather than having an extreme amount of either.
    Hint

    The two concepts are commonly discussed together as a trade-off.

    Answer

    variance

  78. 78
    Increasing the complexity of models such as XGBoost or neural networks can raise training accuracy while lowering
    _____
    accuracy.
    Hint

    This accuracy measures performance on data not used for fitting.

    Answer

    testing

  79. 79
    When model complexity increases toward overfitting, testing error tends to go
    _____
    .
    Hint

    This indicates worsening performance on unseen data.

    Answer

    up

  80. 80
    When model complexity increases toward overfitting, training error tends to go
    _____
    .
    Hint

    The model fits the training data more closely.

    Answer

    down

  81. 81
    A model that is too simple and has high training and testing error is described as
    _____
    .
    Hint

    It has not captured enough of the relationships in the data.

    Answer

    underfit

  82. 82
    A model that is too simple may fail because it has not sufficiently considered the
    _____
    between variables.
    Hint

    These describe how targets and features relate to one another.

    Answer

    relationships

  83. 83
    Deployment is the stage in which the trained model is placed into a
    _____
    environment for use.
    Hint

    This is where a model serves real users or business processes.

    Answer

    production

  84. 84
    Before deploying a model, a data scientist should consult
    _____
    to determine the best technical approach.
    Hint

    These professionals understand the systems and infrastructure that will host the model.

    Answer

    engineers

  85. 85
    A machine-learning model may be only one component of a much larger
    _____
    .
    Hint

    The model can be embedded within a broader operational workflow.

    Answer

    process

  86. 86
    One possible environment for deploying a model is an AWS
    _____
    instance.
    Hint

    This is Amazon's virtual server service.

    Answer

    EC2

  87. 87
    After deployment, practitioners should communicate their findings and deliver the model to the
    _____
    .
    Hint

    These are the people who defined or depend on the business problem.

    Answer

    stakeholders

1 of 87
Question 1 of 87

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent