{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "AHYMBCMW11"
    }
  ],
  "body": "\n## Summary\n\nThe Huber loss is a [[loss function|3BTG6VVCGZ]] that is quadratic for small residuals and linear for large ones.\nIt combines the efficiency of [[least squares|0BYTQ4X1HC]] for well-behaved data with the resistance of absolute loss to outliers.\nPeter Huber introduced it in 1964 to define a robust [[M-estimator|4503R8BVF8]] of location, and it is now also common in regression and machine learning.\n\n## Explanations\n\n### L1 human\n\nSquared error punishes a residual of $10$ a hundred times as much as a residual of $1$, so a single outlier can dominate a fit.\nAbsolute error is gentler on outliers but has a sharp corner at zero.\nThe Huber loss uses squared error near zero and switches to a straight line beyond a cutoff $\\delta$.\nSo small errors are treated as in least squares, while large errors count only in proportion to their size.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "62F35",
      "62G35"
    ],
    "name": "Huber loss",
    "same_as": {
      "wikidata": "Q17027770",
      "wikipedia": "Huber loss"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Huber_loss"
      }
    ],
    "specializes": [
      "3BTG6VVCGZ"
    ],
    "tag": "RATW595XR9"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/RATW595XR9/",
  "links": [
    {
      "field": "specializes",
      "target": "3BTG6VVCGZ"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/RATW595XR9.md",
  "msc": [
    "62F35",
    "62G35"
  ],
  "name": "Huber loss",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/RAT/RATW595XR9.md",
  "status": null,
  "tag": "RATW595XR9",
  "uri": "m2://RATW595XR9",
  "url": "https://tamnd.github.io/math2/wiki/huber-loss/",
  "writing": {
    "tag": "RATW595XR9",
    "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
      }
    ]
  }
}
