Lecture Introduction and Logistics
- 14Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
14 questions
- 1In supervised learning, the function that maps inputs X to outputs Y is called the_____function.
Hint
Think of the term that represents a candidate model or guess.
Answer
hypothesis
- 2A training set consists of n pairs (x(i),y(i)) where x(i) is an input and y(i) is the corresponding_____.
Hint
This is the known output value used to supervise the learning process.
Answer
label
- 3When the output Y is discrete, the supervised learning task is called_____.
Hint
Think about tasks like determining whether an image contains a cat (yes/no).
Answer
classification
- 4When the output Y is continuous, the supervised learning task is called_____.
Hint
Predicting a real-valued quantity, such as house price.
Answer
regression
- 5The goal in supervised learning is to find a hypothesis that minimizes the_____function.
Hint
This function quantifies how wrong the model's predictions are on the training data.
Answer
cost
- 6Batch gradient descent uses_____training examples to compute the gradient at each step.
Hint
It processes the entire dataset before making a single update.
Answer
all
- 7In mini-batch gradient descent, the gradient is estimated using a_____of the training data.
Hint
A small random sample, often 32, 64, or 128 examples.
Answer
subset
- 8Stochastic gradient descent (SGD) uses a mini-batch of size_____to update the parameters.
Hint
It uses the smallest possible subset.
Answer
one
- 9In practice, the gradient descent algorithm is often terminated when the update becomes sufficiently_____.
Hint
The change in parameters or the norm of the gradient falls below a threshold.
Answer
small
- 10The data matrix X has rows corresponding to training examples and columns corresponding to_____, with one additional column of ones for the intercept.
Hint
These are the input variables used to predict the output.
Answer
features
- 11The condition that every local minimum of a cost function is also a global minimum is called_____.
Hint
A bowl-shaped function has this property.
Answer
convexity
- 12When a model fits the training data too closely, capturing noise rather than underlying patterns, it is said to_____.
Hint
This leads to poor generalization on new data.
Answer
overfit
- 13The learning rate alpha is typically a_____number (positive) that controls step size.
Hint
It must be chosen to ensure convergence, often decayed over time.
Answer
small positive
- 14In the context of gradient descent, a saddle point is a point where the gradient is zero but it is neither a local_____nor a local maximum.
Hint
It is a stationary point where the function increases in some directions and decreases in others.
Answer
minimum

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