Practice free →
HomeClaudeaifoundationslinear_regression_and_supervised_learning › The design matrix X for n training examples with…

The design matrix X for n training examples with d features (plus intercept) has shape

An × (d + 1)
Bn × n
Cd × d
Dd × n
Answer & Solution
Correct answer: A. n × (d + 1)
X stacks training examples as ROWS; (d+1) columns include the d features plus the x₀ = 1 intercept term.
Solve this in the app — Claude practice & 24k+ MCQs →
Related questions