{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "GTBMW9QXST"
    }
  ],
  "body": "\n## Summary\n\nLinear discriminant analysis assigns an observation to one of several classes with a rule whose decision boundaries are hyperplanes.\nIt is the optimal rule when each class has a [[multivariate normal distribution|0XN3K7RSZY]] and all classes share one [[covariance matrix|0V7G6WMFK0]].\nIn practice the means and the common covariance are estimated from labelled data.\nIt is closely tied to Fisher's linear discriminant, which also gives a dimension reduction.\n\n## Explanations\n\n### L1 human\n\nTwo kinds of flowers differ on average in petal length and width, but the measurements overlap.\nLinear discriminant analysis draws a straight line through the plane of measurements and calls every flower on one side the first kind.\nThe line is placed using the class averages and the shared spread, measured by the [[Mahalanobis distance|P546TSFBK2]].\nFor one measurement with class means $-1$ and $1$, equal variances and equal sizes, the rule simply looks at the sign of the measurement.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "62H30"
    ],
    "name": "Linear discriminant analysis",
    "same_as": {
      "wikidata": "Q1228929",
      "wikipedia": "Linear discriminant analysis"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Linear_discriminant_analysis"
      }
    ],
    "tag": "ZATS7NV9WD"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/ZATS7NV9WD/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/ZATS7NV9WD.md",
  "msc": [
    "62H30"
  ],
  "name": "Linear discriminant analysis",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/ZAT/ZATS7NV9WD.md",
  "status": null,
  "tag": "ZATS7NV9WD",
  "uri": "m2://ZATS7NV9WD",
  "url": "https://tamnd.github.io/math2/wiki/linear-discriminant-analysis/",
  "writing": {
    "tag": "ZATS7NV9WD",
    "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
      }
    ]
  }
}
