Start learning →

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.
Practise this question with Quill — Claude →

Keep practising Linear Regression and Supervised Learning

Browse all Linear Regression and Supervised Learning questions for Claude, or explore more Aifoundations topics.

Start a Linear Regression and Supervised Learning lesson →
Related questions