{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "86e8b8f7",
   "metadata": {},
   "source": [
    "# Chapter Exercise\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "ea60c189",
   "metadata": {},
   "source": [
    "Apply the key ideas from this chapter in the connected task below. Work in your own notebook or local project. Keep your implementation, reasoning, and verification results together.\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "e4d25e1a",
   "metadata": {},
   "source": [
    "## Choose a regression model honestly\n",
    "\n",
    "1. Reuse the chapter's real housing data and define features, target, and a held-out evaluation set before fitting.\n",
    "\n",
    "2. Compare a baseline, a simple regression, and a multiple-feature model using the same evaluation metric and split. Select features using validation rather than the final test set.\n",
    "\n",
    "3. Report test performance, inspect coefficients and correlated predictors, and explain overfitting and interpretability. Record data/split settings and state what the fitted relationship does not establish.\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "d7840910",
   "metadata": {},
   "source": [
    "Return to the chapter lessons as needed: [Regression with scikit-learn](1301-linear-regression.ipynb), [Multiple Regression](1302-multiple-regression.ipynb), [Choosing Features and Avoiding Overfitting](1303-choosing-features.ipynb).\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": ".venv",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.13.16"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
