1. Home
  2. Explore
  3. Computer Science
  4. Philosophical Perspectives on Machine Learning

Study methods

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

Philosophical Perspectives on Machine Learning

  • 54Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Learning Paradigms

What problem setting is supervised machine learning designed to address?

54 questions

  1. 1

    What problem setting is supervised machine learning designed to address?

    Model answer

    It is designed for prediction from independent observations in a stable environment.

    Explanation

    These conditions define the setting in which supervised learning is commonly applied.

  2. 2

    What are the two main tasks in supervised machine learning, and how do their outcomes differ?

    Model answer

    The tasks are regression and classification. Regression predicts a continuous outcome, while classification predicts a binary or other discrete category.

    Explanation

    The type of outcome distinguishes the two tasks.

  3. 3

    What does unsupervised machine learning do when given a collection of objects?

    Model answer

    It groups objects by similarity without being given prior information about which groupings are important.

    Explanation

    The algorithm searches for similarities rather than being directed toward specified labels.

  4. 4

    How might a researcher interpret groups of documents produced by an unsupervised algorithm?

    Model answer

    After the algorithm groups similar documents, a person can read them and assign labels, such as earnings news or macroeconomic news.

    Explanation

    The labels are added by a human after grouping, not specified to the algorithm beforehand.

  5. 5

    How can dimensionality reduction become part of a supervised learning task?

    Model answer

    The method can identify themes or dimensions that are useful for predicting or classifying a specified outcome.

    Explanation

    A predictive goal guides which aspects of the data are considered important.

  6. 6

    If the goal is to understand how news relates to stock prices, why might a supervised approach to reducing text dimensions be useful?

    Model answer

    It can prioritize aspects of the text that help predict stock prices, rather than simply grouping text by general similarity.

    Explanation

    The target outcome directs the search toward relevant dimensions.

  7. 7

    Why can it be difficult to know whether unsupervised learning has produced useful groups?

    Model answer

    The groups may be similar along dimensions that do not matter for the problem being studied.

    Explanation

    Similarity alone does not establish that the discovered groups are useful for a particular objective.

  8. 8

    Why might a researcher choose unsupervised learning without using an outcome variable?

    Model answer

    They may want to avoid having the grouping process influenced by an outcome or other variable, such as a macroeconomic measure.

    Explanation

    Keeping the task separate from an outcome can be a reason to use unsupervised methods.

  9. 9

    According to the lecture, is there a distinct economist-specific reason for using unsupervised learning?

    Model answer

    Not generally; economists use it for reasons similar to those of researchers in other fields.

    Explanation

    The lecture contrasts this with regression and classification, where social-science approaches more often differ.

  10. 10

    How does classification with complex inputs differ from a simple binary prediction problem such as predicting whether an image contains a cat?

    Model answer

    The binary prediction itself is familiar, but machine learning advanced classification when the input variables, such as image pixels, are complex.

    Explanation

    The key challenge is handling complex predictors, not merely predicting a binary outcome.

  11. 11

    How can an image be represented as predictor variables for a classification model?

    Model answer

    It can be decomposed into pixels, with each pixel described by brightness in different colors, such as red, green, and blue.

    Explanation

    The pixel values form the input variables used to predict the image category.

  12. 12

    How might a researcher traditionally have engineered features to distinguish cats from dogs in images?

    Model answer

    They might identify features such as ear or paw shapes, devise ways to detect those features in pixels, and then classify images using them.

    Explanation

    This approach requires designing both the meaningful features and how to recognize them.

  13. 13

    What key task can a neural network perform that reduces the need for manually designed image features?

    Model answer

    It can learn useful features from the pixel inputs itself and use them to produce predictions.

    Explanation

    The network can discover patterns without being explicitly told to look for ears, noses, or whiskers.

  14. 14

    How does the lecture characterize neural networks as a family of models?

    Model answer

    They are a flexible family of functional forms that can work well for some data-generating processes, including image classification.

    Explanation

    Their flexibility is useful in some applications, though not necessarily all.

  15. 15

    What does it mean to say that a neural network outsources feature generation?

    Model answer

    Instead of a researcher specifying how to combine inputs into features, the algorithm searches for combinations that help make predictions.

    Explanation

    The network takes on work that would otherwise involve manually trying possible feature constructions.

  16. 16

    Why can a shared public image dataset accelerate progress in machine learning?

    Model answer

    It gives researchers a common problem and a shared way to measure success, allowing methods to be compared and improved.

    Explanation

    A common benchmark can focus competitive effort on the same goal.

  17. 17

    What makes a held-out test set useful for comparing image-classification models?

    Model answer

    It allows researchers to compare how well different models predict labels for images not used to fit them.

    Explanation

    A clear test-set measure provides an observable criterion for selecting among candidate models.

  18. 18

    Why might a researcher care less about how a model works if it performs well on a held-out set and new examples?

    Model answer

    For a prediction task, successful performance on unseen examples may be sufficient, even if the researcher does not know how the model reached its predictions.

    Explanation

    The lecture emphasizes directly evaluating predictive performance when a clear test is available.

  19. 19

    Why can neural networks be conceptually accessible even though they involve substantial technical work?

    Model answer

    A user can train a network and assess whether it works without first understanding all the mathematics behind it, although practical training involves many choices.

    Explanation

    The lecture distinguishes conceptual accessibility from the detailed work of tuning a model.

  20. 20

    Why may a predictive model need constraints beyond performing well on the data currently available?

    Model answer

    A model may need to remain useful over time, while patterns in the current data may change and cease to predict the outcome.

    Explanation

    Good performance on current data does not ensure that every learned relationship will remain stable.

  21. 21

    In the piano-playing-cat example, why might a model learn that piano-related image patterns predict cats?

    Model answer

    If piano-playing cats are common in the training images, piano-related patterns will be correlated with the cat label and can improve prediction on that dataset.

    Explanation

    A predictive model can use any features that correlate with its target in the observed data.

  22. 22

    How could a trend involving piano-playing dogs cause a cat classifier to fail?

    Model answer

    If the model relied on piano-related patterns because they predicted cats in its training data, a new prevalence of piano-playing dogs could make those patterns misleading.

    Explanation

    The association between a feature and the target can change when the data environment changes.

  23. 23

    Why might a predictive image model use a T-shirt or piano pattern rather than prioritize a cat's ears?

    Model answer

    It uses whatever patterns improve prediction in the observed data; it has no inherent understanding of which features are meaningful or likely to remain stable.

    Explanation

    Prediction based on correlation does not provide common sense about a feature's importance.

  24. 24

    What is both a strength and a weakness of a model that uses every predictive feature in its data?

    Model answer

    It can predict very well in the current environment, but it may rely on unstable patterns and perform poorly when the environment changes.

    Explanation

    Using all available predictive information can improve present fit while weakening generalizability.

  25. 25

    What does a complicated, non-monotonic prediction surface for customer churn suggest about a model?

    Model answer

    It may be using complex relationships among many predictors to achieve good predictive fit, even if the resulting relationship is difficult to interpret or generalize.

    Explanation

    A flexible model can produce patterns that are less straightforward than those from a simple logistic regression.

  26. 26

    Why might predicted churn rise and fall repeatedly as one predictor changes while others are held fixed?

    Model answer

    The model may be exploiting complex joint correlations among many predictors, so its predictions reflect fine details of their combined distribution.

    Explanation

    The apparent relationship with one variable can depend on the structure of the other variables in the data.

  27. 27

    What could happen to a complex prediction model if the joint distribution of its predictors changes?

    Model answer

    The model's predictions could break down because the relationships it exploited may no longer hold.

    Explanation

    Its performance can depend on fine details of the predictors' joint distribution.

  28. 28

    How is predictive success commonly assessed in the supervised learning setting described in the lecture?

    Model answer

    The model is evaluated on a test set, often by checking its mean squared error.

    Explanation

    Test-set performance provides a direct measure of how well predictions work on held-out observations.

  29. 29

    Why does minimizing mean squared error involve a bias–variance tradeoff?

    Model answer

    A model with some bias can predict better on new data than a more flexible, unbiased model that has high variance and overfits.

    Explanation

    The aim is good out-of-sample prediction, not necessarily zero bias in the fitted model.

  30. 30

    Why can a very rich model predict its training data perfectly but perform badly in a later class?

    Model answer

    It may overfit the observed sample, learning sample-specific details that do not generalize to new observations.

    Explanation

    A model that is too flexible can fit the data it has seen without capturing stable patterns.

  31. 31

    How do machine-learning algorithms use a family of models to find a suitable level of complexity?

    Model answer

    They use data to select among candidate models or tuning parameters, balancing simpler and richer specifications.

    Explanation

    Choosing among models is part of the process of controlling fit and generalization.

  32. 32

    How does ten-fold cross-validation estimate a model's predictive performance?

    Model answer

    The data are split into ten parts; a model is fit on nine parts and evaluated on the remaining part, with the process repeated across the folds.

    Explanation

    Each fold serves in turn as held-out data for assessing performance.

  33. 33

    How can cross-validation help choose model complexity?

    Model answer

    Researchers compare held-out prediction errors for candidate models and choose the complexity that performs best.

    Explanation

    Cross-validation estimates how well different model choices predict observations not used to fit them.

  34. 34

    Why can supervised machine learning evaluate a model without relying on many additional assumptions?

    Model answer

    When a test set and a clear outcome are available, predictive performance can be measured directly on held-out observations.

    Explanation

    The method can judge whether predictions work rather than relying only on assumptions about the model.

  35. 35

    Under what conditions does in-sample mean squared error approximate out-of-sample mean squared error in the traditional econometrics setting described?

    Model answer

    It does so when there are many more observations than parameters and the model is relatively simple.

    Explanation

    This setting differs from machine learning's use of rich models, where overfitting is a greater concern.

  36. 36

    What kinds of questions are economists often trying to answer when they focus on causal effects?

    Model answer

    They ask how an intervention or policy, such as immigration, a minimum-wage change, or a lockdown, affects an outcome.

    Explanation

    These questions concern the effect of a change, not just prediction of observed outcomes.

  37. 37

    What is a counterfactual prediction in the context of policy analysis?

    Model answer

    It predicts what would happen under an alternative condition, such as another lockdown or earlier vaccination.

    Explanation

    Counterfactuals concern outcomes under conditions that may not have occurred.

  38. 38

    Why do economists distinguish correlation from causality?

    Model answer

    A correlation may arise because variables respond to common influences, rather than because one variable causes the other.

    Explanation

    Observed association alone does not identify the causal effect of a policy or treatment.

  39. 39

    Why do economists examine standard errors even when they run an experiment?

    Model answer

    They need to assess whether an estimated result could be due to sampling variation and whether it is likely to generalize.

    Explanation

    An experimental estimate is still based on a sample and is subject to uncertainty.

  40. 40

    Why might economists combine behavioral assumptions, calibrated parameters, and functional forms in a complex macroeconomic model?

    Model answer

    There may not be enough data to determine every aspect of the model, so these ingredients help guide the construction of a data-informed theoretical model.

    Explanation

    The model can incorporate structure when the available data alone cannot pin everything down.

  41. 41

    What does an identification problem ask?

    Model answer

    It asks whether the question of interest could be answered even with infinite data.

    Explanation

    Identification concerns whether the data and research design can determine the parameter, not simply how accurately it is estimated in a sample.

  42. 42

    Why does splitting data into training and test sets fail to solve the price–sales identification problem described?

    Model answer

    If firms raise prices during periods of high demand, price and sales can be positively correlated in both sets, even though the correlation does not identify the causal effect of price.

    Explanation

    A holdout set does not remove the shared influence of demand shocks on prices and quantities.

  43. 43

    What kinds of variation can help identify the causal relationship between prices and sales?

    Model answer

    A natural experiment, other exogenous variation, or supply shocks can help isolate variation in price that is not driven by demand.

    Explanation

    The aim is to separate the price change from confounding influences such as demand shocks.

  44. 44

    Why might causal methods sacrifice goodness-of-fit?

    Model answer

    They may focus only on the variation that identifies the parameter of interest, even if using all variation would improve predictive fit.

    Explanation

    Causal estimation prioritizes identification over maximizing prediction accuracy.

  45. 45

    How do machine learning and causal econometrics address different parts of a research problem?

    Model answer

    Economists first consider identification, while machine learning can help select a suitable functional form for estimation.

    Explanation

    A flexible predictive model does not, by itself, establish that a causal effect is identified.

  46. 46

    What does the existing literature on semiparametric models contribute to combining machine learning with econometrics?

    Model answer

    It provides theoretical guidance on flexible functional forms, even though practical methods had often performed poorly.

    Explanation

    The lecture argues that machine learning can improve computational practice while drawing on existing theory.

  47. 47

    How has combining machine learning with econometrics contributed to machine-learning theory?

    Model answer

    Researchers have brought ideas from semiparametric efficiency theory into machine learning after shifting the focus from prediction toward estimation.

    Explanation

    Theoretical ideas from econometrics have helped develop methods for estimation problems.

  48. 48

    How can regularization create omitted-variable bias in a causal analysis?

    Model answer

    Model selection may discard variables that are important controls for estimating a causal effect.

    Explanation

    A variable that contributes little to prediction could still matter for controlling confounding.

  49. 49

    Why should researchers avoid automatically including every available variable in a causal model?

    Model answer

    Some variables may be unsuitable or unnecessary controls, and predictive model selection may also discard variables needed for causal adjustment.

    Explanation

    Causal modeling requires careful choices about which variables to control for, rather than simply using all available predictors.

  50. 50

    How can researchers use machine learning within a causal analysis without simply applying it to the entire problem?

    Model answer

    They can divide the problem into parts, use machine learning for selected components, and modify the objectives or optimization to suit causal estimation.

    Explanation

    This approach adapts predictive tools to the specific requirements of causal questions.

  51. 51

    What are sample splitting and cross-fitting intended to contribute to machine-learning-based estimation?

    Model answer

    They provide ways to separate parts of the estimation process, helping address theoretical concerns when flexible methods are used.

    Explanation

    The lecture identifies these techniques as contributions developed from statistical theory.

  52. 52

    How can economic structure improve counterfactual prediction when machine learning is used?

    Model answer

    Researchers can exploit known features of the problem, including structural economic relationships, while using machine learning for nonparametric parts.

    Explanation

    Combining structure with flexible estimation can guide predictions about alternative conditions.

  53. 53

    Why is it difficult to evaluate a method that estimates causal effects?

    Model answer

    The causal effect for a person is not directly observed; only the outcome under the condition they experienced is available.

    Explanation

    For example, observing someone's alertness after coffee does not reveal how alert that same person would have been without it.

  54. 54

    Why must researchers be creative when evaluating causal methods?

    Model answer

    Because the true individual causal effects are not directly observable, researchers cannot evaluate performance as simply as they can compare predictions with known test-set labels.

    Explanation

    The missing counterfactual outcome makes direct assessment of causal-effect estimates difficult.

1 of 54
Question 1 of 54

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent