Introduction to Machine Learning
- 74Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
74 questions
- 1The classic definition describes machine learning as giving computers the ability to learn without being_____programmed.
Hint
Think of the contrast between learning from data and having a person specify every rule.
Answer
explicitly
Explanation
The classic definition describes machine learning as enabling computers to learn without being explicitly programmed.
- 2In Mitchell’s definition of learning, the three components are experience, task, and_____measure.
Hint
This component specifies how success on the task is evaluated.
Answer
performance
Explanation
A program learns from experience with respect to a task when its performance, measured by a performance measure, improves.
- 3In Mitchell’s definition, experience is another way to refer broadly to_____used for learning.
Hint
It can include examples gathered from many different sources.
Answer
data
Explanation
Experience corresponds broadly to data, including human-labeled, real-world, web, or synthetic data.
- 4A program is said to learn when its performance on a task improves as it gains more_____.
Hint
This is the part of the definition that represents what the system learns from.
Answer
experience
Explanation
Mitchell’s definition connects learning to improved task performance resulting from experience.
- 5A performance measure is important because it gives learning a_____to optimize toward.
Hint
Consider what tells a learning process whether it is getting better.
Answer
goal
Explanation
A performance measure, such as accuracy or winning rate, provides a goal that guides learning.
- 6For a game-playing system, the game is the task, game data is the experience, and the_____is a performance measure.
Hint
This measure reflects how often the system succeeds in the game.
Answer
winning rate
Explanation
In the game example, the task is playing the game, experience is data, and winning rate measures performance.
- 7The lecture identifies_____and linear algebra as important mathematical prerequisites for machine learning.
Hint
This mathematical subject studies uncertainty and random events.
Answer
probability
Explanation
Probability and linear algebra are important prerequisites for understanding the course material.
- 8The course emphasizes mathematical derivations and modeling formulations more than_____.
Hint
The emphasis is on understanding algorithmic ideas rather than primarily implementing code.
Answer
programming
Explanation
The course focuses on mathematical foundations and the ideas behind algorithms, rather than programming practice.
- 9Under the course AI-tools policy, students cannot copy tool-generated results directly into their_____.
Hint
Think of the work that students turn in for assessment.
Answer
submission
Explanation
AI tools may be used with restrictions, including not copying their results directly into a submission.
- 10The course frames AI tools as collaborators, not as systems that should generate code directly for a student’s_____.
Hint
The restriction concerns work being submitted in response to course prompts.
Answer
questions
Explanation
The policy allows tools as collaborators but does not allow generated code to go directly into students’ questions or submissions.
- 11The stated purpose of the AI-tools restriction is to encourage students to train_____.
Hint
The policy focuses on the learner’s own understanding rather than training an automated agent.
Answer
yourself
Explanation
The instructor presents the restriction as a way to encourage learning by the student rather than training an agent to do the work.
- 12The lecture argues that model-training methods remain similar to earlier approaches, while the way people_____models has changed greatly.
Hint
The contrast is between how models are trained and what people do with them afterward.
Answer
use
Explanation
The lecture distinguishes relatively stable training methodology from newer ways of interacting with models, such as prompting them.
- 13In supervised learning, training examples include both inputs and their corresponding_____.
Hint
These are the values the model is trained to predict.
Answer
outputs
Explanation
Supervised learning uses paired inputs and outputs, so the model can learn a mapping from one to the other.
- 14In the house-price example, square footage is the input and house price is the_____.
Hint
This is the quantity the model is asked to predict.
Answer
output
Explanation
The model receives square footage as input and predicts the corresponding house price as output.
- 15The notation x commonly represents an example’s_____in machine learning.
Hint
It is the information given to a model before it makes a prediction.
Answer
input
Explanation
The lecture uses x for inputs and y for outputs.
- 16The notation y commonly represents the_____that a model is trying to predict.
Hint
For a house-price model, this is the price.
Answer
output
Explanation
The lecture uses y to denote the output corresponding to an input x.
- 17When a prediction target is a continuous quantity such as a house price, the task is called_____.
Hint
This task type is used for numerical values that can vary continuously.
Answer
regression
Explanation
Regression predicts continuous outputs, such as prices.
- 18When a model assigns an input to one of several discrete labels, the task is called_____.
Hint
This task type selects among categories rather than predicting a continuous number.
Answer
classification
Explanation
Classification assigns labels, such as house or townhouse, to inputs.
- 19A model that decides whether a property is a house or a townhouse is solving a two-class_____problem.
Hint
The output is one of two discrete categories.
Answer
classification
Explanation
House and townhouse are discrete labels, so predicting between them is classification.
- 20In a two-dimensional classification example, a line that divides the input plane into regions acts as a_____.
Hint
It assigns examples to categories based on which side of the dividing boundary they fall.
Answer
classifier
Explanation
A classifier can separate the plane into regions and assign a different class to inputs in each region.
- 21The terms features and inputs have both been used for the values provided to a_____.
Hint
These values describe an example before the prediction is made.
Answer
model
Explanation
Features and inputs both refer to the values given to a machine-learning model.
- 22A label is an output assigned to a particular_____.
Hint
Labels pair with the examples whose categories or outcomes they describe.
Answer
input
Explanation
Labeling means providing a designated output for an input; labels may be supplied by humans or machines.
- 23In image classification, raw image pixels are the input and the image’s main object is the_____.
Hint
This is the discrete category the model predicts for an image.
Answer
label
Explanation
Image classification maps raw pixels to a discrete label identifying the main object, such as a bird or cat.
- 24A bounding box can be specified by the coordinates of its bottom-left and top-right corners, for a total of_____numerical values.
Hint
Each corner is described using two coordinates.
Answer
four
Explanation
The two corners each require two coordinates, so the bounding box is represented by four numerical values.
- 25In machine translation, the source-language text is the input and the translated text is the_____.
Hint
It is the text produced in the target language.
Answer
output
Explanation
Machine translation learns a mapping from text in one language to text in another.
- 26A supervised data set has inputs paired with labeled_____.
Hint
These provide the target values used during training.
Answer
outputs
Explanation
Supervised learning relies on examples that include both inputs and their corresponding target outputs.
- 27In unsupervised learning, a data set contains inputs but no provided_____.
Hint
The model is not given the target answers that supervised learning uses.
Answer
outputs
Explanation
Unsupervised learning starts with inputs alone, without labeled outputs or an explicitly specified prediction target.
- 28Because unsupervised data have no labels, the learning goal is often to discover patterns or_____in the data.
Hint
This is something that may be present even when target answers are unavailable.
Answer
structure
Explanation
Unsupervised methods aim to extract patterns or structure from data without labels.
- 29The kind of structure found in an unlabeled data set can depend on the_____used to analyze it.
Hint
Different analytical approaches can reveal different patterns in the same data.
Answer
methodology
Explanation
The lecture notes that what counts as interesting structure may depend on the method applied.
- 30A method that groups data points according to similarity is called_____.
Hint
It creates groups of related examples without needing labels.
Answer
clustering
Explanation
Clustering finds data points that are similar to one another and places them in groups.
- 31In gene-expression analysis, grouping individuals with similar expression patterns can help identify different_____.
Hint
The groups may be used to study diseases or symptoms associated with patterns of genes.
Answer
types
Explanation
Clustering gene-expression data can reveal groups of individuals with distinct patterns and help researchers investigate disease or symptom relationships.
- 32A document-term table can represent each document by counting how often each_____occurs in it.
Hint
The table records the frequency of textual units across documents.
Answer
word
Explanation
The document example counts occurrences of each word; similar frequency patterns can reveal related documents and terms.
- 33Reordering documents and terms in a frequency table can reveal groups with similar_____.
Hint
The groups become more visible when related rows or columns are placed together.
Answer
patterns
Explanation
Sorting the document-term table can expose clusters of documents and words with similar frequency patterns.
- 34The technique named for finding structure in the document-word example is_____.
Hint
It is an abbreviation mentioned in connection with document and word relationships.
Answer
LSA
Explanation
The lecture identifies LSA as a technique used for analyzing structure in document-word data.
- 35A numerical representation of a word as a vector is called a word_____.
Hint
It places words in a numerical space where relationships can be represented geometrically.
Answer
embedding
Explanation
Word embeddings encode words as vectors, which can capture semantic similarities and relationships.
- 36In a word embedding space, semantically similar words can have vectors that are close to one_____.
Hint
The geometry reflects similarity through the distance between representations.
Answer
another
Explanation
Words with related meanings, such as the names of some capital cities, can have nearby vectors.
- 37In word embeddings, a direction can encode a relationship such as the relationship between a country and its_____.
Hint
The lecture illustrates this relation using countries and their major cities.
Answer
capital
Explanation
Vector directions can represent relationships; moving in a learned direction from a country may lead toward its capital’s representation.
- 38The word embeddings described in the lecture were learned from_____data rather than labeled examples.
Hint
The training corpus did not need human-provided target labels for each word.
Answer
unlabelled
Explanation
These embeddings were learned from unlabeled text, such as Wikipedia, by using patterns in the text.
- 39Deep learning uses a neural network whose nodes are compared to neurons and whose edges are compared to_____.
Hint
These are the connections between neurons in the brain analogy.
Answer
synapses
Explanation
The lecture uses a brain analogy in which network nodes resemble neurons and edges resemble synapses.
- 40The edges in a neural network correspond to learned model_____.
Hint
These are numerical quantities adjusted during training.
Answer
parameters
Explanation
The lecture describes network edges as corresponding to parameters, with modern models containing very large numbers of them.
- 41A neural network produces predictions by processing an input, such as an image, and outputting a_____.
Hint
For image classification, this is the predicted object category.
Answer
label
Explanation
In the image example, the network receives the image and produces a class label.
- 42To train a model, a loss function measures how well its predictions match the desired_____.
Hint
These are the target values associated with the training inputs.
Answer
outputs
Explanation
A loss function evaluates prediction errors and supplies a quantity that training seeks to reduce.
- 43The procedure used to automatically compute gradients through a complex network is called_____.
Hint
It propagates information backward through the network to calculate parameter gradients.
Answer
back propagation
Explanation
Back propagation efficiently computes gradients for complex models, enabling gradient-based training.
- 44The course presents deep learning as a technique that has enabled many modern machine-learning_____.
Hint
These include tasks involving images and language.
Answer
applications
Explanation
Deep learning provides techniques that underpin applications such as image recognition and language modeling.
- 45A large language model is described as a general-purpose model trained on massive_____data sets.
Hint
The data are not necessarily supplied with task-specific target labels.
Answer
unlabelled
Explanation
The lecture characterizes large language models as general-purpose models learned from massive unlabeled data.
- 46Unlike a model built for one narrow prediction, a general-purpose language model can address many different_____.
Hint
The lecture contrasts a single-task system with a model able to respond to a wide range of requests.
Answer
tasks
Explanation
Large language models are presented as general-purpose systems that can handle many tasks rather than just one.
- 47Predicting the next token in a language model is fundamentally a_____problem because the next token is chosen from discrete options.
Hint
The model selects among categories rather than predicting a continuous measurement.
Answer
classification
Explanation
Each possible next token is a discrete choice, so next-token prediction can be viewed as classification.
- 48When a language model predicts the next token, it selects from a vocabulary of discrete_____.
Hint
Each candidate word or token is one possible output category.
Answer
choices
Explanation
The model predicts one next token from a set of possible tokens, making the output a discrete choice.
- 49A language model’s response can depend on how the user phrases a request; this is why_____matters.
Hint
It is the practice of wording inputs to guide a model’s response.
Answer
prompting
Explanation
The lecture notes that models may respond differently depending on how a question or instruction is phrased.
- 50Training a model to respond more reliably to user instructions is described as making it more responsive to_____.
Hint
These are directions given by the user to the model.
Answer
instructions
Explanation
Instruction-focused training aims to make models follow users’ orders and respond appropriately to directions.
- 51Supervised fine-tuning is commonly abbreviated as_____.
Hint
The abbreviation has three letters and refers to a supervised training approach.
Answer
SFT
Explanation
SFT stands for supervised fine-tuning, one form of supervised learning used in building models.
- 52The course plans to cover the architecture and loss functions used to_____large language models.
Hint
These choices are part of the model-building process.
Answer
train
Explanation
The course overview includes the architectures and loss functions used to train large language models.
- 53A diffusion model can generate realistic images by starting from_____.
Hint
The process transforms a disordered starting signal into a structured image.
Answer
noise
Explanation
The lecture describes diffusion models as generating realistic images from noise or instructions.
- 54The image-generation example is unsupervised because it uses images without provided_____.
Hint
The model learns from the images themselves rather than category answers attached to each one.
Answer
labels
Explanation
The example uses collections of realistic images without labels and trains a model to generate additional images.
- 55Reinforcement learning is suited to tasks that require making_____decisions over time.
Hint
Each decision occurs as part of a sequence rather than as an isolated prediction.
Answer
sequential
Explanation
Reinforcement learning is commonly used when actions are taken in sequence and later choices depend on earlier ones.
- 56In a sequential decision task, the action chosen now can affect the system’s_____.
Hint
A poor movement, for example, may lead to a later failure that cannot easily be undone.
Answer
future
Explanation
Actions have consequences for later states and decisions, creating dependencies across time.
- 57Robot walking is a reinforcement-learning example because the robot must repeatedly choose_____.
Hint
These include decisions about how to move its arms and legs.
Answer
actions
Explanation
A robot learns movement by choosing actions, observing their consequences, and adjusting its behavior.
- 58Traditional supervised and unsupervised learning often begin with a fixed data set, whereas reinforcement learning can collect data_____.
Hint
The system gathers new experience by acting and receiving feedback.
Answer
interactively
Explanation
Reinforcement learning can alternate between gathering experience and training, instead of relying only on a fixed data set.
- 59A reinforcement-learning method can improve through trial and_____.
Hint
The system tries a strategy, observes the consequences, and learns from failures as well as successes.
Answer
error
Explanation
Trial and error allows an agent to use feedback from its actions to improve its behavior.
- 60A sequence of actions and observations gathered during an attempt is called a data_____.
Hint
It records the path through a sequence of states and decisions.
Answer
trajectory
Explanation
A trajectory contains sequential information from an attempt, such as a robot’s actions and observations before it falls or succeeds.
- 61In automatic theorem proving, a model can generate candidate proofs, which are then checked and the correct ones are selected as new training_____.
Hint
The verified examples can be used in a later round of training.
Answer
data
Explanation
Correctly verified generated proofs can be added to the data used to train the model again.
- 62Repeatedly generating successful examples, adding them to training, and generating more can create a_____effect.
Hint
Each round builds on the model and data produced by earlier rounds.
Answer
bootstrapping
Explanation
The lecture describes a bootstrapping effect in which newly generated correct examples support further improvement and data collection.
- 63In a language-model reinforcement-learning setup, a separate module can assign generated text a_____.
Hint
This value indicates whether the generated response is considered good.
Answer
reward
Explanation
A reward signal evaluates generated text and can guide updates that encourage better responses.
- 64The reward signal guides updates so that the language model produces better text in the next_____.
Hint
The updated model generates new responses after training on feedback.
Answer
round
Explanation
The reward is used to improve the model’s future generations through iterative training.
- 65Stochastic token generation involves sampling from a probability_____.
Hint
It assigns probabilities to possible next tokens before one is selected.
Answer
distribution
Explanation
At each generation step, the model produces a probability distribution over possible tokens and samples one.
- 66Because sampling a token is not a differentiable operation in the traditional sense, directly backpropagating through the full generation process can be difficult; reinforcement learning methods address this issue using_____.
Hint
This technique is used to optimize a policy when decisions involve sampling.
Answer
policy gradient
Explanation
Policy gradient methods can train models that make stochastic decisions even when the sampling steps are not differentiable in the usual way.
- 67In language generation, each sampled token can be treated as a decision, and the sequence is sequential because each token affects later_____.
Hint
The model conditions its next generation step on what it has already generated.
Answer
tokens
Explanation
Generated tokens form a sequence: earlier outputs condition the model’s later outputs.
- 68The use of reinforcement learning for language models is not fundamentally contradictory to its use in robotics; it is a different_____.
Hint
The two applications use a shared framework but emphasize different kinds of decisions.
Answer
viewpoint
Explanation
The lecture presents robot actions and language-model token generation as related sequential decision problems, viewed in different contexts.
- 69The course plans to discuss how machine-learning software and hardware can be made more_____.
Hint
This concerns making algorithms work efficiently with the systems that run them.
Answer
compatible
Explanation
Machine-learning systems work includes improving the fit between software, algorithms, and hardware.
- 70If an algorithm runs twice as fast, its runtime for the same work is reduced to about one-half, illustrating why computational_____matters.
Hint
Improving this can reduce time and the resources needed to run a model.
Answer
efficiency
Explanation
Efficiency improvements can have major practical value because large-scale model computation is expensive.
- 71The course intends to use toy examples to explain fundamental techniques rather than focusing primarily on real-world_____.
Hint
The emphasis is on core methods rather than surveying every domain where they are used.
Answer
applications
Explanation
The course overview says it focuses on foundational techniques and uses simplified examples to demonstrate them.
- 72The course emphasizes how models are tuned and trained rather than teaching students mainly how to use tools such as coding assistants to write_____.
Hint
This is the output produced by programming tools.
Answer
code
Explanation
The course focuses on the fundamental technology for training and tuning models, not primarily on using coding assistants to produce programs.
- 73An additional planned topic concerns the fairness and_____impact of AI.
Hint
This includes considering how AI affects people and society.
Answer
social
Explanation
The course overview identifies fairness and social impact as important topics for AI, including effects on employment.
- 74One reason the social impact of AI matters is that AI may replace many_____.
Hint
The concern relates to changes in employment caused by AI systems.
Answer
jobs
Explanation
The lecture raises the possibility of AI replacing jobs as a reason to consider its broader social effects.

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