# Centering and ridge regression

> ML preparation item.

- Stable ID: `pml-book1-ex11.2`
- Area: Machine Learning
- Topic: Regression
- Origin: external
- Expected time: 15 minutes
- Skills: linear-regression, normal-equations, regularization
- Item JSON: https://mlprep.iwase.dev/data/items/pml-book1-ex11.2.json

This site does not reproduce the third-party problem.

- Source: Probabilistic Machine Learning: An Introduction — online draft dated 2025-04-18
- Document: PML Book 1 online draft (2025-04-18), Chapter 11 exercises
- Locator: Exercise 11.2, book pp. 411–412 (PDF pp. 441–442)
- Official answer PDF page(s): 26
- Original problem: https://github.com/probml/pml-book/releases/download/2025-04-18/book1.pdf#page=441
- Official answer: https://probml.github.io/pml-book/solns-public.pdf#page=26
- Answer status: official-solution
- Source caveat: The public solution manual predates the dated book draft; the exercise title and task align, but notation may differ.


## Tutoring contract

Ask for the learner's attempt, begin with the smallest useful hint, preserve item ID `pml-book1-ex11.2`, and record a real attempt with `recorded_by: "agent"` and `agent_session_id` when available using https://mlprep.iwase.dev/schema/attempt-record.json.
