Skip to content

[FAQ Bot] NEW: LinAlgError: Singular matrix when adding tiny noise (e.g., 5.00000001) t - #425

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
faq-bot/issue-424
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
faq-bot/issue-424

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

✨ FAQ NEW

Course: machine-learning-zoomcamp
Section: module-2 (This is directly about regularization in linear regression (Lesson 2.13) and normal equation inversion behavior, which belongs in the Regression module.)
Related Issue: #424

Question

LinAlgError: Singular matrix when adding tiny noise (e.g., 5.00000001) to duplicated columns—floating-point precision issue?

Decision Rationale

The proposed entry explains a specific cause of LinAlgError: Singular matrix related to floating-point precision when adding tiny noise in the Regularization portion of Lesson 2.13. Existing FAQs only cover more general singular-matrix causes (like X @ X.T vs X.T @ X) or mention regularization without this precision explanation, so this adds new, meaningful detail.

Placement Details

  • Section ID: module-2
  • Sort Order: End of section
  • Filename Slug: singular-matrix-tiny-noise-floating-point-regularization-lesson-2-13

🤖 Generated by FAQ Bot

Closes #424

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FAQ] Module 2: LinAlgError: Singular matrix instead of huge weights in the 5.00000001 regularization example

0 participants