{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "Q8MTV1Z4AQ"
    }
  ],
  "body": "\n## Summary\n\nThe elastic net fits a linear model by penalised least squares.\nIts penalty combines the $\\ell^1$ penalty of the [[lasso|KZ226116HW]] and the squared $\\ell^2$ penalty of [[ridge regression|3KZW2930V2]].\nIt keeps the variable selection of the lasso, since some coefficients are set exactly to zero.\nThe ridge part makes the problem strictly convex.\nIt also lets groups of strongly correlated regressors enter the model together, where the lasso tends to pick one of them.\nIt was proposed by Hui Zou and Trevor Hastie.\n\n## Explanations\n\n### L1 human\n\nThe lasso likes to keep one regressor out of a group of near copies and drop the rest.\nRidge regression keeps them all but never drops anything.\nThe elastic net mixes the two penalties with two tuning parameters, so it can drop useless regressors while sharing the weight among correlated useful ones.\nIf the ridge parameter is zero, it is the lasso; if the lasso parameter is zero, it is ridge regression.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "62J07",
      "62J05"
    ],
    "name": "Elastic net",
    "same_as": {
      "wikidata": "Q5353562",
      "wikipedia": "Elastic net regularization"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Elastic_net_regularization"
      }
    ],
    "tag": "TKQPE0Q05Y"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/TKQPE0Q05Y/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/TKQPE0Q05Y.md",
  "msc": [
    "62J07",
    "62J05"
  ],
  "name": "Elastic net",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/TKQ/TKQPE0Q05Y.md",
  "status": null,
  "tag": "TKQPE0Q05Y",
  "uri": "m2://TKQPE0Q05Y",
  "url": "https://tamnd.github.io/math2/wiki/elastic-net/",
  "writing": {
    "tag": "TKQPE0Q05Y",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
