{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "Z855M8QN2H"
    }
  ],
  "body": "\n## Summary\n\nA tensor decomposition writes a multi-way array as a combination of simpler pieces.\nIt plays the role that a matrix factorization plays for matrices.\nThe canonical polyadic (CP) decomposition writes the tensor as a sum of simple tensors.\nThe Tucker decomposition combines a small core tensor with one factor matrix per mode.\nThe shortest CP decomposition has length equal to the [[tensor rank|W84NTF77M0]].\nTensor decompositions are used to compress data and to find hidden structure in signal processing, statistics and chemistry.\n\n## Explanations\n\n### L1 human\n\nThink of a cube of numbers, such as ratings indexed by user, product and month.\nA CP decomposition writes the cube as a sum of a few \"outer products\" of three vectors, one for each direction.\nEach term is a simple pattern: a group of users who like a group of products during certain months.\nFor example, the cube with entries $a_{ijk} = x_i y_j z_k$ is a single term, so it has a decomposition with one piece.\nThis extends the idea of the [[singular value decomposition|000NPTMX6J]] from tables to cubes.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "kind": "concept",
    "msc": [
      "15A69",
      "15A23",
      "65F55"
    ],
    "name": "Tensor decomposition",
    "same_as": {
      "wikidata": "Q30103009",
      "wikipedia": "Tensor decomposition"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Tensor_decomposition"
      }
    ],
    "tag": "VWV7TA2AJX"
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/VWV7TA2AJX/",
  "links": null,
  "markdown": "https://math2.tamnd.com/node/VWV7TA2AJX.md",
  "msc": [
    "15A69",
    "15A23",
    "65F55"
  ],
  "name": "Tensor decomposition",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/VWV/VWV7TA2AJX.md",
  "status": null,
  "tag": "VWV7TA2AJX",
  "uri": "m2://VWV7TA2AJX",
  "url": "https://math2.tamnd.com/wiki/tensor-decomposition/",
  "writing": {
    "tag": "VWV7TA2AJX",
    "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
      }
    ]
  }
}
