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

  • 98Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Machine Learning Foundations

What is machine learning, and how does it differ from explicitly programmed computing?

98 questions

  1. 1

    What is machine learning, and how does it differ from explicitly programmed computing?

    Model answer

    Machine learning enables algorithms to discover patterns in data and use them to make predictions without being given every rule explicitly. Traditional programs follow rules directly specified by a programmer.

    Explanation

    In machine learning, the system learns rules from examples rather than relying only on a hand-written set of instructions.

  2. 2

    State the experience-task-performance definition of learning and explain how the three parts relate.

    Model answer

    A program learns from experience EEE with respect to tasks TTT and performance measure PPP when its performance on tasks in TTT, measured by PPP, improves with experience EEE.

    Explanation

    The framework specifies what the system does, how success is measured, and what experience helps it improve.

  3. 3

    In the robot-driving example, identify the task, performance measure, and experience.

    Model answer

    The task is driving on highways using vision sensors; performance can be measured by average distance traveled before an error or lane departure; experience consists of recorded images and steering commands from human driving.

    Explanation

    The example illustrates how task, measure, and experience make the learning definition concrete.

  4. 4

    How does machine learning use a dataset to make predictions about new data?

    Model answer

    It analyzes examples to find hidden patterns and relationships, then applies what it learned to similar data it has not encountered before.

    Explanation

    The goal is not only to describe the training data, but to use learned patterns to produce predictions on new cases.

  5. 5

    How does traditional programming differ from machine learning in the cake-identification example?

    Model answer

    Traditional programming requires people to write rules for identifying cakes, while machine learning uses examples of cakes and learns the identifying rules from them.

    Explanation

    Handwritten rules can fail when cakes differ from the cases anticipated by the programmer; learned rules can be inferred from varied examples.

  6. 6

    What is the role of data analysis and statistical tools in traditional machine learning?

    Model answer

    They help algorithms identify patterns in data and use those patterns to predict outputs and generate actionable insights.

    Explanation

    The system derives useful relationships from data instead of executing only a fixed, manually written recipe.

  7. 7

    How does learning from data enable a spam filter to identify spam?

    Model answer

    It learns from a large collection of labeled emails, identifying complex text patterns associated with spam rather than relying only on a human-written list of suspicious words.

    Explanation

    Patterns in labeled examples can adapt to changing spam language and combinations of cues.

  8. 8

    How can a recommendation system adapt when a user's preferences change?

    Model answer

    It can use the user's ongoing behavior, such as viewing history, to refine its recommendations and adjust as the user's tastes change.

    Explanation

    Adaptability means that a model can update its suggestions in response to new information about a user.

  9. 9

    Why can machine learning be useful with very large datasets?

    Model answer

    It can process large volumes of data and identify patterns across them, such as suspicious activity among vast numbers of financial transactions.

    Explanation

    Large-scale data analysis can reveal patterns that would be difficult to inspect manually.

  10. 10

    How can machine learning automate repetitive customer-service work?

    Model answer

    Chatbots can handle multi-step requests such as order tracking and returns, allowing human agents to focus on more nuanced issues.

    Explanation

    Automation assigns routine tasks to a system while preserving human attention for cases that need more judgment.

  11. 11

    What does personalization mean in machine learning, and give an example.

    Model answer

    Personalization means using an individual's behavior to tailor an experience; a music service might use listening behavior to create a customized playlist.

    Explanation

    The system uses information specific to a person rather than offering the same experience to everyone.

  12. 12

    How can machine learning help solve complex medical problems?

    Model answer

    It can detect subtle patterns in medical images, including early signs of cancer, that may be difficult for people to identify.

    Explanation

    Pattern recognition across many examples can help identify faint signals in complex data.

  13. 13

    How are artificial intelligence, machine learning, deep learning, and data science related?

    Model answer

    Artificial intelligence is the broad field of making computers intelligent; machine learning is an approach within AI that learns from data; deep learning is a specialized form of machine learning using layered neural networks; data science focuses on extracting knowledge from data and intersects with these fields.

    Explanation

    Deep learning is nested within machine learning, which is nested within AI, while data science overlaps through its use of data analysis.

  14. 14

    Why is machine learning valuable in fields with enormous quantities of data?

    Model answer

    It can analyze data at a speed and scale beyond manual human analysis, finding patterns and supporting decisions across very large numbers of variables.

    Explanation

    Fields such as physics, astronomy, and online activity can produce more data than people can practically examine directly.

  15. 15

    What type of data does each of the three main learning paradigms use?

    Model answer

    Supervised learning uses labeled data, unsupervised learning uses unlabeled data, and reinforcement learning learns by interacting with an environment rather than using a predefined static dataset.

    Explanation

    The availability of correct answers distinguishes supervised learning from unsupervised learning, while reinforcement learning is based on interaction.

  16. 16

    How does supervised learning use labels during training?

    Model answer

    It pairs inputs with known correct outputs, makes predictions, compares them with those outputs, and adjusts when its predictions are wrong.

    Explanation

    The labeled examples act like a teacher or answer key that guides learning.

  17. 17

    In the clinic example, how can supervised learning predict the status of a new patient?

    Model answer

    It learns relationships between features such as age and gender and known healthy-or-sick labels, then predicts the status of a new patient from their features.

    Explanation

    The new patient's label is unknown, so the model uses patterns learned from previously labeled patients.

  18. 18

    How does unsupervised learning differ from supervised learning in the clinic example?

    Model answer

    Unsupervised learning receives patient features without healthy-or-sick labels and searches for structures or groups, whereas supervised learning uses those known labels to learn predictions.

    Explanation

    Unsupervised learning has no answer key telling it what each patient group represents.

  19. 19

    What kind of discovery might unsupervised learning make in unlabeled patient data?

    Model answer

    It might find a previously unrecognized group of patients associated with a particular combination of age, blood pressure, and protein level.

    Explanation

    By clustering or identifying associations in unlabeled inputs, the algorithm may reveal patterns that were not specified in advance.

  20. 20

    What is the objective of reinforcement learning?

    Model answer

    It trains an agent to interact with an environment and choose actions that maximize rewards.

    Explanation

    The learner discovers effective actions from feedback rather than being given a fixed list of correct actions.

  21. 21

    How do rewards and penalties guide a reinforcement-learning agent?

    Model answer

    The agent receives positive feedback for desirable actions and negative feedback for undesirable ones, using that feedback to learn which actions are more rewarding.

    Explanation

    This is analogous to training a dog with treats and penalties rather than explaining the behavior mathematically.

  22. 22

    What are delayed rewards, and why do they matter in reinforcement learning?

    Model answer

    A delayed reward occurs when an action affects later situations and rewards, not just the immediate outcome; an agent must value actions that lead to a larger long-term payoff.

    Explanation

    A chess move with no immediate benefit may help create checkmate many moves later.

  23. 23

    How does reinforcement learning apply to chess or robot movement?

    Model answer

    Through trial and error, an agent learns action sequences that produce rewards, such as moves that lead to winning a game or actions that help a bipedal robot walk and balance.

    Explanation

    These tasks require learning effective behavior through interaction, including consequences that may occur later.

  24. 24

    Which example algorithms are associated with supervised, unsupervised, and reinforcement learning?

    Model answer

    Linear regression and support vector machines are examples for supervised learning; principal component analysis is an unsupervised method; and Q-learning is a reinforcement-learning method.

    Explanation

    These algorithms illustrate tools used for different learning setups and types of feedback.

  25. 25

    What is the general purpose of linear regression, support vector machines, PCA, and Q-learning?

    Model answer

    Linear regression fits a line to data, support vector machines form boundaries between categories, PCA reduces complex data to important components, and Q-learning learns actions using rewards.

    Explanation

    The methods address different tasks: prediction, classification, dimensionality reduction, and reward-guided action learning.

  26. 26

    What are the main stages of a machine-learning project lifecycle?

    Model answer

    A typical lifecycle proceeds from input data through data processing, feature selection, model selection, training, evaluation, and deployment in a prediction engine.

    Explanation

    The process prepares data, fits and tests a model, and then uses the resulting model on unseen data.

  27. 27

    Why must data be cleaned before training a machine-learning model?

    Model answer

    Cleaning addresses problems such as missing values and inconsistent formats so that the data can be used reliably; poor-quality input can produce poor predictions.

    Explanation

    Data preparation is important because model performance depends on the quality of the data it receives.

  28. 28

    What is imputation, and how could it handle a missing patient age?

    Model answer

    Imputation fills in a missing value; for example, a missing patient age could be replaced with the average age of the other patients.

    Explanation

    Imputation can preserve a record that might otherwise be discarded because one value is missing.

  29. 29

    What other issues, besides missing values, may data cleaning address?

    Model answer

    It may smooth noisy data and handle extreme outliers.

    Explanation

    Noise and unusual values can interfere with the patterns a model learns, so preprocessing may address them.

  30. 30

    How is a dataset represented as a matrix, and what does a row represent?

    Model answer

    A dataset can be represented as a structured mathematical grid, or matrix; each row represents one instance, such as one patient's complete profile.

    Explanation

    Matrix representation organizes real-world records into a form that algorithms can process.

  31. 31

    What does a column vector represent in a dataset?

    Model answer

    A column vector contains one feature measured across multiple instances, such as the ages of all patients in a clinic dataset.

    Explanation

    Rows describe individual examples, while columns collect the same feature across examples.

  32. 32

    Why is standardization important when features have different numeric scales?

    Model answer

    Standardization puts features on comparable scales so a feature with larger raw numbers does not dominate learning merely because of its units or magnitude.

    Explanation

    For example, square footage could otherwise outweigh the number of bedrooms in a housing model because its values are much larger.

  33. 33

    What are common targets for standardization in the described preprocessing pipeline?

    Model answer

    Features are often scaled to have a mean of zero and a standard deviation of one.

    Explanation

    This makes the scales more comparable and helps ensure that no feature dominates simply because its raw values are larger.

  34. 34

    How does feature selection differ from feature extraction?

    Model answer

    Feature selection keeps a subset of the original features, while feature extraction transforms the original data into a new, more compact set of features.

    Explanation

    Selection chooses existing variables; extraction constructs new representations from the original information.

  35. 35

    What is forward selection, and when does it stop adding features?

    Model answer

    Forward selection starts with no features and repeatedly adds the feature that helps most, stopping when adding another feature no longer improves the model.

    Explanation

    At each stage, the method tests remaining features and selects the one that reduces error most.

  36. 36

    What is backward selection, and when does it stop removing features?

    Model answer

    Backward selection starts with all features and repeatedly removes the least useful one, stopping when another removal would harm model performance.

    Explanation

    It trims the feature set while checking whether the model remains effective.

  37. 37

    Why is a machine-learning lifecycle described as iterative?

    Model answer

    Models are evaluated and tuned repeatedly; if performance is inadequate, the process can return to model selection or adjust hyperparameters before deployment.

    Explanation

    Repeated testing and refinement help reduce errors and improve accuracy rather than treating one training run as final.

  38. 38

    What is the curse of dimensionality, and why can adding features make learning harder?

    Model answer

    The curse of dimensionality is the difficulty caused by data occupying a rapidly expanding high-dimensional space; as features increase, data become sparse and models can become slower or confused.

    Explanation

    The volume of the mathematical space grows exponentially with additional dimensions, making useful patterns harder to learn.

  39. 39

    Define dimensionality reduction and state its central goal.

    Model answer

    Dimensionality reduction transforms high-dimensional data into a lower-dimensional space while preserving the essential information and patterns in the original data.

    Explanation

    The aim is not simply to discard columns indiscriminately, but to make data more compact without losing its important structure.

  40. 40

    How does reducing dimensions differ from blindly deleting data?

    Model answer

    It strategically reduces the number of features while aiming to retain underlying patterns and important information, rather than removing columns without regard to their value.

    Explanation

    The suitcase analogy captures the idea of keeping a compact set that preserves the useful essence of a larger collection.

  41. 41

    How does PCA choose its first principal component?

    Model answer

    PCA chooses an axis along the direction of greatest variance in the data, making that axis the first principal component.

    Explanation

    Variance represents spread or information in the described interpretation, so PCA seeks a direction that captures as much of it as possible.

  42. 42

    What property does the second principal component have relative to the first?

    Model answer

    It is orthogonal to the first component and captures the next-largest amount of variance.

    Explanation

    Orthogonal components meet at a right angle and represent distinct directions in the transformed space.

  43. 43

    Why can a feature with no variation provide little predictive information?

    Model answer

    If a feature has the same value for every example, it cannot distinguish among examples or help explain different outcomes.

    Explanation

    For instance, if every patient is the same age, age cannot separate one patient's status from another in that dataset.

  44. 44

    How can PCA reduce a dataset from many dimensions to a few while retaining useful information?

    Model answer

    It keeps the principal components that capture the greatest variation, allowing many original dimensions to be represented by a smaller set that retains much of the important information.

    Explanation

    The selected components are ordered by the amount of variation they capture.

  45. 45

    How can PCA improve data processing speed?

    Model answer

    By compressing data into fewer dimensions, PCA reduces the amount of information that subsequent processing must handle.

    Explanation

    A smaller representation can make computation faster.

  46. 46

    How can PCA reduce noise?

    Model answer

    Random noise often lacks strong structural variance, so retaining only the components with the most variance can discard some of that noise.

    Explanation

    This benefit depends on the noise not being represented among the major structural components.

  47. 47

    What is multicollinearity, and how can PCA address it?

    Model answer

    Multicollinearity occurs when features are highly correlated; PCA can transform them into orthogonal, uncorrelated components.

    Explanation

    The transformation gives the model a set of components that are not linearly correlated with one another.

  48. 48

    How can PCA help visualize a dataset with many dimensions?

    Model answer

    It can reduce the data to two or three principal components so the resulting points can be plotted in two or three dimensions and their clusters inspected visually.

    Explanation

    High-dimensional data cannot be directly displayed in an ordinary two- or three-dimensional graph.

  49. 49

    Why can PCA make a model's predictions harder for people to interpret?

    Model answer

    PCA creates synthetic components from combinations of original features, so a component used in a prediction may not have an intuitive meaning such as age or blood pressure.

    Explanation

    A principal component can be mathematically defined yet difficult to translate into human-readable concepts.

  50. 50

    Why must data be scaled before applying PCA?

    Model answer

    PCA is sensitive to scale; without standardization, it may focus on features with the largest raw values rather than on meaningful patterns.

    Explanation

    A large numerical range can dominate the variance calculation even if that scale difference is not substantively important.

  51. 51

    What are two other limitations of PCA?

    Model answer

    PCA assumes relationships are linear, and keeping too few components can cause actual information loss.

    Explanation

    A compact representation is useful, but overly aggressive reduction or nonlinear structure can make it inadequate.

  52. 52

    What is supervised learning, and what role do labeled examples play?

    Model answer

    Supervised learning learns a function mapping inputs to outputs from labeled input-output pairs; each training example includes the correct answer.

    Explanation

    The known outputs let the learner compare its predictions with the target answers and adjust its mapping.

  53. 53

    Why is supervised learning compared to studying flashcards with an answer key?

    Model answer

    The algorithm sees inputs paired with explicit answers, learns the relationship between them, and uses that learned relationship to answer new questions.

    Explanation

    The answers on the flashcards correspond to the target outputs in labeled training data.

  54. 54

    How does the prediction-correction loop work during supervised training?

    Model answer

    The model predicts an output, compares it with the known correct output, and adjusts its internal parameters when the prediction is wrong, repeating until performance is acceptable.

    Explanation

    The known target gives the model feedback during training.

  55. 55

    What are features and labels in the clinic example?

    Model answer

    Age and gender are features, and the healthy-or-sick status is the label.

    Explanation

    Features are the inputs used to make a prediction; the label is the target output the model is learning to predict.

  56. 56

    List the six stages of the supervised-learning workflow.

    Model answer

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

    Explanation

    The sequence moves from obtaining labeled examples to preparing and fitting a model, testing it, and using it on new cases.

  57. 57

    Why should a supervised model be evaluated on unseen examples?

    Model answer

    Testing on unseen examples shows whether the model learned patterns that generalize or merely memorized its training data.

    Explanation

    Performance on training data alone does not establish that the model can handle new cases.

  58. 58

    How can you distinguish a regression problem from a classification problem?

    Model answer

    Regression predicts a continuous numeric amount, while classification assigns an example to a discrete category.

    Explanation

    The type of target output determines which kind of supervised task is being performed.

  59. 59

    Classify predicting a house price and deciding whether an email is spam.

    Model answer

    Predicting a house price is regression because the output is a numerical amount; deciding whether an email is spam is classification because the output is a category.

    Explanation

    The distinction depends on whether the target is continuous or categorical.

  60. 60

    What does linear regression model, and how does it fit the data?

    Model answer

    It models a linear relationship between a dependent variable and one or more independent features by fitting a linear equation to observed data.

    Explanation

    For example, it can fit a line through house-price observations to capture the trend with square footage.

  61. 61

    How do simple and multiple linear regression differ?

    Model answer

    Simple linear regression uses one feature, while multiple linear regression uses more than one feature to predict the dependent variable.

    Explanation

    A house-price model using only square footage is simple; adding bedrooms, house age, or school district makes it multiple.

  62. 62

    Why is logistic regression used for classification despite its name?

    Model answer

    It predicts the probability that an example belongs to a category rather than predicting a continuous amount.

    Explanation

    Its output is used to determine category membership, so it is applied to classification tasks.

  63. 63

    Compare binary, multinomial, and ordinal classification.

    Model answer

    Binary classification has two categories; multinomial classification has three or more unordered categories; ordinal classification has three or more categories with a meaningful order.

    Explanation

    Examples include success versus failure, cat/dog/bird, and survey responses such as poor/good/excellent, respectively.

  64. 64

    How does a decision tree arrive at a prediction?

    Model answer

    It follows a hierarchy of attribute tests from a root node through branches and internal nodes until it reaches a leaf node containing the final decision.

    Explanation

    The structure resembles a flowchart that applies a sequence of questions.

  65. 65

    What do the root node, internal nodes, branches, and leaf nodes represent in a decision tree?

    Model answer

    The root starts the decision process with a question, internal nodes contain further tests, branches represent outcomes of tests, and a leaf gives the final decision.

    Explanation

    Together these parts form the tree's step-by-step route from input to prediction.

  66. 66

    What kinds of supervised tasks can decision trees handle?

    Model answer

    Decision trees can handle both classification and regression.

    Explanation

    Their hierarchical decision structure can be used for categorical outputs or numerical predictions.

  67. 67

    What is the purpose of a support vector machine's hyperplane?

    Model answer

    The hyperplane is the decision boundary that separates categories in the feature space.

    Explanation

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

  68. 68

    What are support vectors and the margin in an SVM?

    Model answer

    Support vectors are the data points closest to the decision boundary, and the margin is the distance from those points to that boundary.

    Explanation

    The margin measures the width of the separation around the hyperplane.

  69. 69

    Why does an SVM try to maximize the margin?

    Model answer

    A larger margin can reduce overfitting and help the classifier make more reliable predictions on unseen data.

    Explanation

    Maximizing the separation creates a clearer boundary between the groups.

  70. 70

    Compare hard-margin and soft-margin SVMs.

    Model answer

    A hard margin requires perfect separation, while a soft margin permits some points to cross the boundary or be misclassified.

    Explanation

    Soft margins are often more robust for messy real-world data containing outliers.

  71. 71

    What is unsupervised learning, and how does k-means illustrate it?

    Model answer

    Unsupervised learning finds patterns or groups in unlabeled data without an answer key; k-means illustrates this by partitioning data points into clusters based on similarity.

    Explanation

    The algorithm discovers group structure rather than learning from provided category labels.

  72. 72

    What does KKK represent in k-means, and who selects it?

    Model answer

    KKK is the desired number of clusters, and a human selects its value.

    Explanation

    The algorithm uses this specified number when organizing the observations.

  73. 73

    What are centroids in k-means, and how are they initialized?

    Model answer

    Centroids are the centers representing clusters; k-means initially places KKK centroids at random locations.

    Explanation

    These initial locations serve as provisional cluster centers for the first assignment step.

  74. 74

    How does k-means assign data points to clusters?

    Model answer

    Each point is assigned to the cluster whose centroid is nearest to it.

    Explanation

    In the described example, assignment is based on physical distance between points and centroids.

  75. 75

    How does k-means update its centroids?

    Model answer

    It calculates the center of the points assigned to each cluster and moves that cluster's centroid to the calculated center.

    Explanation

    The new centroid better represents the current membership of the cluster.

  76. 76

    When does the k-means iteration stop?

    Model answer

    It stops when the centroids no longer move and the point assignments no longer change.

    Explanation

    The algorithm repeats assignment and center updates until its cluster configuration stabilizes.

  77. 77

    What is an ensemble method, and why combine multiple models?

    Model answer

    An ensemble combines predictions from multiple models to achieve better accuracy and robustness than relying on a single model.

    Explanation

    Aggregating several learners can reduce errors and variance compared with depending on one potentially unreliable model.

  78. 78

    How does the crowd-guessing analogy explain ensemble predictions?

    Model answer

    One person's estimate may be inaccurate, but combining many guesses, such as by averaging them, can produce a more accurate estimate.

    Explanation

    The analogy shows why combining the outputs of several models can be more reliable than using one alone.

  79. 79

    How does boosting differ from building ensemble models independently?

    Model answer

    Boosting builds models sequentially, with each later model focusing on errors made by the preceding model, rather than building all models independently at once.

    Explanation

    Each stage uses the earlier model's mistakes to guide what it should learn next.

  80. 80

    Describe how boosting directs attention to examples a previous model predicted incorrectly.

    Model answer

    After identifying incorrect predictions, boosting gives those examples extra weight or attention so the next weak learner focuses more on getting them right.

    Explanation

    This process repeats as later learners address mistakes made by earlier learners.

  81. 81

    When may a boosting process stop adding learners?

    Model answer

    It may stop when the training data is predicted correctly or when it reaches a preset maximum number of models.

    Explanation

    These are the two stopping conditions described for the sequential process.

  82. 82

    What is overfitting, and why can repeatedly correcting training errors contribute to it?

    Model answer

    Overfitting occurs when a model fits or memorizes its training data too closely and consequently may not generalize well to new environments; repeatedly focusing on every training error can create this risk.

    Explanation

    Perfect performance on the training data does not guarantee good performance on unseen data.

  83. 83

    Why should a machine-learning model be evaluated on unseen testing data?

    Model answer

    Testing on unseen data checks whether the model generalizes beyond examples it has already encountered.

    Explanation

    Evaluation helps detect models that appear successful only because they memorized their training data.

  84. 84

    What does accuracy measure?

    Model answer

    Accuracy is the total percentage of predictions that are correct.

    Explanation

    It summarizes the proportion of correct predictions across the cases being evaluated.

  85. 85

    What information does a confusion matrix provide?

    Model answer

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

    Explanation

    Its counts can be used to examine types of prediction errors rather than only the overall percentage correct.

  86. 86

    What are precision, recall, and the F1 score used to summarize?

    Model answer

    Precision and recall are measures derived from classification outcomes, and the F1 score is their combined harmonic mean.

    Explanation

    These measures describe different aspects of classification performance using information from the confusion matrix.

  87. 87

    What do ROC and AUC refer to in model evaluation?

    Model answer

    ROC is the receiver operating characteristic curve, and AUC is the area under that curve.

    Explanation

    They are graphical evaluation tools used to assess classification performance.

  88. 88

    What does mean absolute deviation measure?

    Model answer

    Mean absolute deviation measures the average absolute distance of observations from their mean, describing the spread around that mean.

    Explanation

    A smaller deviation indicates that observations are more tightly grouped around the mean.

  89. 89

    Write the formula for mean absolute deviation and explain its symbols.

    Model answer

    The formula is MAD=1Nāˆ‘i=1N∣xiāˆ’Ī¼āˆ£\mathrm{MAD} = \frac{1}{N}\sum_{i=1}^{N}|x_i-\mu|MAD=N1ā€‹āˆ‘i=1Nā€‹āˆ£xiā€‹āˆ’Ī¼āˆ£, where xix_ixi​ is an observation, μ\muμ is the mean, and NNN is the number of observations.

    Explanation

    The formula sums each observation's absolute distance from the mean and divides by the number of observations.

  90. 90

    Why does the mean absolute deviation use absolute values?

    Model answer

    Absolute values make distances above and below the mean nonnegative, so they measure magnitude rather than direction.

    Explanation

    A point five units above the mean and one five units below it are both five units away.

  91. 91

    How should a high or low MAD be interpreted when describing error spread?

    Model answer

    A high MAD indicates errors are more widely spread, while a low MAD indicates they are more tightly grouped.

    Explanation

    MAD describes the average distance from the mean, so it indicates how consistent the values are.

  92. 92

    How does collaborative filtering recommend a product or movie?

    Model answer

    It identifies users with similar preferences; if a similar user likes an item that the current user has not seen, the system may recommend that item.

    Explanation

    For example, if two users both like movies A and B, a recommendation system may suggest movie C to one after the other likes it.

  93. 93

    How can a bank's machine-learning system detect a suspicious credit-card transaction?

    Model answer

    It rapidly evaluates details such as location, time, purchase history, and merchant history, then flags transactions that differ from expected patterns.

    Explanation

    A purchase in another country shortly after a local purchase may be identified as an anomaly.

  94. 94

    How can machine learning support early tumor detection?

    Model answer

    It can learn pixel patterns from many historical medical images and identify image variations associated with early-stage tumors.

    Explanation

    The learned patterns may reveal signs that are difficult for a person to see in an individual image.

  95. 95

    How does machine learning support self-driving vehicles?

    Model answer

    It can use experience from sensor data, such as images and steering actions, to improve driving performance in changing road conditions.

    Explanation

    The system learns task-relevant patterns rather than relying only on a complete hand-written list of driving rules.

  96. 96

    Give two ways machine learning has been applied to scientific or medical discovery.

    Model answer

    It can help discover new antibiotics and identify subtle patterns in medical data, such as signs of disease in images.

    Explanation

    These examples show how pattern recognition can support discovery and diagnosis.

  97. 97

    Why is machine learning useful when decisions involve billions of variables or enormous data volumes?

    Model answer

    It can search large datasets and process many variables rapidly, enabling analysis that would be impractical to perform manually.

    Explanation

    Its speed, scale, and pattern-recognition capacity can exceed the limits of human analysis.

  98. 98

    Name several fields in which machine learning has substantial real-world applications.

    Model answer

    Machine learning is used in finance, medicine, entertainment, and robotics.

    Explanation

    Examples include fraud detection, medical-image analysis, recommendations, and systems that learn to walk or balance.

1 of 98
Question 1 of 98

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent