Skip to content
← All questions

How is the data matrix X organized in the PCA setup shown here?

In the PCA setup shown here, the data matrix X is organized such that its rows are data points and its columns are features. Each row is treated as a D-dimensional vector.

Conditions

  • Rows correspond to data points.
  • Columns correspond to features.
  • Each row lies in RD\mathbb{R}^D.

Reasoning, step by step

  1. Identify the matrix X.
  2. Observe that the rows contain all data points.
  3. Observe that the columns contain the features of these data points.
  4. Note that each row is annotated as a vector in RD\mathbb{R}^D.

Example

The board writes X = [x11x12x_{11} x_{12} ... x1Dx_{1D}; x21x22x_{21} x_{22} ... x2Dx_{2D}; ...; xN1xN2x_{N1} x_{N2} ... x_{ND}]. Above the first row appears xi=1∈RDx_{i=1} \in \mathbb{R}^D. The narrator says rows contain all data points and columns contain the features of these data points.

Watch the explanation

Explore next

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.