Multi-Output Linear Prediction
- 27Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
27 questions
- 1When extending linear prediction from two variables to multiple variables, the input x is represented as a_____.
Hint
Think about the structure that can hold multiple values organized in rows and columns.
Answer
matrix
- 2For one input x and multiple outputs y1, y2, y3, you can use_____separate prediction formulas.
Hint
Consider how many formulas are needed for each output.
Answer
multiple
- 3In the machine learning framework, the input data is organized as a matrix where each_____represents a different example or person.
Hint
In a table, each horizontal line corresponds to one record.
Answer
row
- 4The output y can have multiple columns, meaning there are multiple_____to predict simultaneously.
Hint
Think about what each column in y represents.
Answer
outputs
- 5To handle categorical text values in the input, they are either converted to numbers or_____.
Hint
What can you do with a column that cannot be easily converted to numbers?
Answer
discarded
- 6An extra column of_____is added to the input matrix X to incorporate the bias term.
Hint
What constant value is used in that column to allow the bias to be learned?
Answer
ones
- 7The bias term corresponds to the_____in simple linear regression.
Hint
In the equation y = mx + b, what does b represent?
Answer
y-intercept
- 8The parameter w0 is multiplied by the constant column of_____in the matrix multiplication.
Hint
The column consists of a single repeated number.
Answer
ones
- 9The process of calculating w from the available data is called_____or learning.
Hint
What term describes using labeled data to fit a model?
Answer
training
- 10The error for a single prediction is the difference between the predicted y and the_____y.
Hint
What is the real observed value called?
Answer
actual
- 11To avoid positive and negative errors canceling each other out, we use the_____of the error.
Hint
What mathematical operation makes all errors positive?
Answer
square
- 12The average of squared errors is called the_____error.
Hint
This metric is often abbreviated as MSE.
Answer
mean square
- 13To find the optimal w that minimizes the mean square error, we take the_____of the error function.
Hint
What calculus operation finds the direction of steepest ascent?
Answer
gradient
- 14Setting the gradient to zero and solving gives the_____equation: w=(XTX)−1XTy.
Hint
This equation provides a closed-form solution for linear regression.
Answer
normal
- 15The matrix XTX has dimensions d x_____, where d is the number of features.
Hint
The result of multiplying a d×n matrix by an n×d matrix.
Answer
d
- 16The product XTy results in a matrix of size d x_____, where m is the number of outputs.
Hint
Multiply a d×n matrix by an n×m matrix.
Answer
m
- 17The number of rows in the weight matrix w is equal to the number of_____in the input.
Hint
Each row corresponds to a column in the input matrix X.
Answer
features
- 18In the example, the bias term w0 gives a base credit score of_____points.
Hint
This is the constant term when all other inputs are zero.
Answer
426
- 19For each additional year of age, the credit score changes by_____points.
Hint
This coefficient is negative, indicating a decrease in score with age.
Answer
-60
- 20Each additional year with the current employer adds_____points to the credit score.
Hint
This coefficient is positive and relatively large.
Answer
149
- 21Each extra thousand dollars of income increases the credit score by_____points.
Hint
This coefficient is small but positive.
Answer
3.7
- 22In the machine learning framework, the predictor function is denoted as_____of x.
Hint
This is a letter used to represent the learned function.
Answer
g
- 23The ideal, perfect predictor function is denoted as_____of x.
Hint
This function would give the exact output with no error.
Answer
f
- 24In linear regression, the optimal w can be_____directly using the normal equation.
Hint
This contrasts with methods that require iteration.
Answer
calculated
- 25When the parameters cannot be calculated directly, we can use an_____process of guessing and adjusting.
Hint
This process repeats steps to gradually improve the estimate.
Answer
iterative
- 26Through iterations, we try different versions of g until the_____becomes small enough.
Hint
This is the difference between predictions and actual values.
Answer
error
- 27A good predictor g(x) approximates the unknown_____function f(x).
Hint
This is the perfect but unknown mapping from inputs to outputs.
Answer
ideal

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