Practice free →
HomeClaudeaifoundationslinear_regression_and_supervised_learning › Closed-form normal equations require XᵀX to be

Closed-form normal equations require XᵀX to be

AHave negative determinant
BSingular
CInvertible (i.e., X has full column rank — no perfectly collinear features)
DDiagonal
Answer & Solution
Correct answer: C. Invertible (i.e., X has full column rank — no perfectly collinear features)
If XᵀX is singular (features collinear or n < d), the inverse doesn't exist. Practical fix: ridge regression θ = (XᵀX + λI)⁻¹ Xᵀy, which is always invertible for λ > 0.
Solve this in the app — Claude practice & 24k+ MCQs →
Related questions