1. Home
  2. Explore
  3. Mathematics
  4. Principal Component Analysis

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Principal Component Analysis

  • 44Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: SVD Approximation
The singular value decomposition expresses a rank-rrr matrix as a sum of
rank-one pieces.

44 questions

  1. 1
    The singular value decomposition expresses a rank-rrr matrix as a sum of
    _____
    rank-one pieces.
    Hint

    The number matches the matrix's rank.

    Answer

    rrr

    Explanation

    A matrix of rank rrr can be decomposed into rrr rank-one pieces using its singular value decomposition.

  2. 2
    Each rank-one piece in the singular value decomposition has the form
    _____
    times a row vector.
    Hint

    Think of the left-hand vector in the decomposition.

    Answer

    a column vector

    Explanation

    Each piece is formed from a column vector from the left singular vectors and a row vector given by the transpose of a right singular vector.

  3. 3
    In the singular value decomposition, the columns of both the left and right singular-vector matrices are
    _____
    .
    Hint

    They are mutually perpendicular and have unit length.

    Answer

    orthonormal

    Explanation

    The left and right singular vectors are each orthonormal sets.

  4. 4
    The Eckart-Young Theorem compares the error for any rank-kkk matrix BBB with the error for
    _____
    .
    Hint

    This is the truncated SVD approximation.

    Answer

    AkA_kAk​

    Explanation

    For the stated norms, the theorem says that the distance from AAA to any rank-kkk matrix BBB is at least the distance from AAA to AkA_kAk​.

  5. 5
    In machine learning, the goal is to learn important facts about the data rather than simply
    _____
    all the training data.
    Hint

    Contrast extracting useful patterns with reproducing every example.

    Answer

    copying

    Explanation

    The lecture contrasts learning important information from data with merely copying the entire training set.

  6. 6
    The rank-kkk approximation keeps the
    _____
    singular-value pieces of the matrix.
    Hint

    These components preserve the most important information according to the lecture.

    Answer

    largest

    Explanation

    The leading singular values and their associated pieces are treated as the important information in the matrix.

  7. 7
    The theorem's rank restriction matters because adding two rank-222 matrices can produce a matrix with rank as high as
    _____
    .
    Hint

    Ranks can add when matrices are summed.

    Answer

    444

    Explanation

    The sum of two rank-222 matrices can have rank up to 444, so rank-constrained matrices do not behave like a simple linear space.

  8. 8
    The L2 norm of a vector is its ordinary Euclidean
    _____
    in the corresponding dimensional space.
    Hint

    It is the hypotenuse measure familiar from the Pythagorean theorem.

    Answer

    length

    Explanation

    The L2 norm is the square root of the sum of the squared vector components, giving the vector's Euclidean length.

  9. 9
    The L1 norm of a vector is found by adding the magnitudes of its components without first
    _____
    .
    Hint

    Unlike the L2 norm, this calculation does not use component squares.

    Answer

    squaring them

    Explanation

    The L1 norm adds the absolute values of the components directly; it does not square them and then take a square root.

  10. 10
    The infinity norm of a vector is the
    _____
    component magnitude.
    Hint

    It selects one extreme component rather than combining all of them.

    Answer

    largest

    Explanation

    The infinity norm is the largest magnitude among the vector's components.

  11. 11
    A vector is called sparse when it has mostly
    _____
    components.
    Hint

    Sparse vectors contain relatively few nonzero entries.

    Answer

    zero

    Explanation

    The lecture defines sparsity as having mostly zero components.

  12. 12
    Minimizing a function using the L1 norm often produces a
    _____
    vector.
    Hint

    The result tends to have only a few nonzero components.

    Answer

    sparse

    Explanation

    A key property highlighted for L1 minimization is that the minimizing vector is often sparse.

  13. 13
    The method associated with minimizing using the L1 norm is also called
    _____
    .
    Hint

    It is a named approach used in signal processing and sensing.

    Answer

    basis pursuit

    Explanation

    The lecture identifies basis pursuit as another name associated with the L1 approach.

  14. 14
    Compared with an L1-minimizing solution, an L2 least-squares solution may contain many
    _____
    components that are small in magnitude.
    Hint

    These entries are not exactly zero, even if each is small.

    Answer

    nonzero

    Explanation

    Squaring small components makes them contribute little to the L2 objective, so least squares can yield many small nonzero entries rather than a sparse solution.

  15. 15
    One advantage of a sparse answer is that its few nonzero components are easier to
    _____
    .
    Hint

    The small number of active entries makes the result more understandable.

    Answer

    interpret

    Explanation

    A solution with only a few nonzero components can make it clearer which features or components account for the result.

  16. 16
    A norm is homogeneous: multiplying a vector by a scalar multiplies its norm by the scalar's
    _____
    .
    Hint

    The norm measures size, so a negative scalar cannot make it negative.

    Answer

    absolute value

    Explanation

    Homogeneity means that the norm of a scalar multiple is the absolute value of the scalar times the original norm.

  17. 17
    The triangle inequality states that the norm of a sum of two vectors is no greater than the
    _____
    of their norms.
    Hint

    The combined length cannot exceed the route that travels along both sides of a triangle.

    Answer

    sum

    Explanation

    For vectors vvv and www, the triangle inequality is ∥v+w∥≤∥v∥+∥w∥\|v+w\| \leq \|v\|+\|w\|∥v+w∥≤∥v∥+∥w∥.

  18. 18
    A norm must be
    _____
    for every nonzero vector.
    Hint

    A nonzero object cannot have size zero under a norm.

    Answer

    positive

    Explanation

    Positivity is a required norm property; the lecture also notes that the norm of a nonzero vector is positive.

  19. 19
    For a matrix, the L2 norm is its largest
    _____
    .
    Hint

    It measures the matrix using the most dominant SVD component.

    Answer

    singular value

    Explanation

    The matrix L2 norm is the largest singular value of the matrix.

  20. 20
    The Frobenius norm treats all matrix entries as one long vector, squares them, sums them, and takes the
    _____
    .
    Hint

    This is the same final operation used in the vector L2 norm.

    Answer

    square root

    Explanation

    The Frobenius norm is the square root of the sum of the squares of all matrix entries.

  21. 21
    The nuclear norm of a matrix is the
    _____
    of its singular values.
    Hint

    It combines every singular value rather than selecting only the largest.

    Answer

    sum

    Explanation

    The nuclear norm is defined as the sum of the matrix's singular values.

  22. 22
    The three matrix norms emphasized for the rank-kkk approximation theorem are L2, Frobenius, and
    _____
    .
    Hint

    This norm adds the singular values.

    Answer

    nuclear

    Explanation

    The lecture states the Eckart-Young result for the L2, Frobenius, and nuclear norms.

  23. 23
    The matrix L2, Frobenius, and nuclear norms discussed in the lecture can each be computed from the matrix's
    _____
    .
    Hint

    These quantities come directly from the SVD.

    Answer

    singular values

    Explanation

    The selected norms depend only on singular values: the L2 norm uses the largest, the nuclear norm sums them, and the Frobenius norm is determined by their squared magnitudes.

  24. 24
    For a matrix, the triangle inequality bounds the L2 norm of A+BA+BA+B by the L2 norm of AAA plus the L2 norm of
    _____
    .
    Hint

    The bound uses the two matrices being added.

    Answer

    BBB

    Explanation

    The matrix L2 norm satisfies ∥A+B∥2≤∥A∥2+∥B∥2\|A+B\|_2 \leq \|A\|_2+\|B\|_2∥A+B∥2​≤∥A∥2​+∥B∥2​.

  25. 25
    In the Netflix recommendation example, the data form a large matrix of subscriber-to-movie
    _____
    with missing entries.
    Hint

    Subscribers had not seen every movie, so some entries were absent.

    Answer

    rankings

    Explanation

    The matrix records movie rankings from subscribers, but many subscriber-movie entries are missing because people had not seen every movie.

  26. 26
    The Netflix example used a minimum problem based on the
    _____
    norm to complete the incomplete matrix.
    Hint

    This matrix norm sums singular values and was selected instead of least squares.

    Answer

    nuclear

    Explanation

    The lecture describes nuclear norm minimization as the appropriate approach for completing the incomplete Netflix rankings matrix.

  27. 27
    In the MRI example, a shorter scan can leave missing entries because the system did not collect enough measurements to form a complete
    _____
    .
    Hint

    The missing measurements belong to the data representation being completed.

    Answer

    matrix

    Explanation

    If a scan is stopped too soon, some image data are missing, and matrix completion can be used to estimate them; the nuclear norm is cited as useful for this task.

  28. 28
    A diagonal matrix with diagonal entries 4,3,2,14,3,2,14,3,2,1 has singular values
    _____
    .
    Hint

    For this diagonal example, the singular values are visible on the diagonal.

    Answer

    4,3,2,14,3,2,14,3,2,1

    Explanation

    The diagonal entries in the example are the singular values, listed from largest to smallest.

  29. 29
    For the diagonal matrix with entries 4,3,2,14,3,2,14,3,2,1, the best rank-222 approximation retains the entries
    _____
    .
    Hint

    Keep the two largest singular-value components.

    Answer

    444 and 333

    Explanation

    The truncated SVD keeps the two largest components, so the rank-222 approximation retains 444 and 333.

  30. 30
    The suggested competing rank-222 construction using diagonal values 3.5,3.5,1.53.5,3.5,1.53.5,3.5,1.5 also requires off-diagonal entries to keep its rank low; those entries make its total error
    _____
    .
    Hint

    The apparent improvement on the diagonal comes at a cost elsewhere in the matrix.

    Answer

    larger

    Explanation

    Although the proposed matrix is closer on some diagonal entries, the off-diagonal entries needed to maintain rank 222 make its overall error greater than that of the truncated SVD approximation.

  31. 31
    If A=UΣVTA=U\Sigma V^TA=UΣVT with orthogonal UUU and VVV, multiplying by orthogonal matrices does not change the singular values in
    _____
    .
    Hint

    Orthogonal factors alter the singular vectors, not the central diagonal matrix.

    Answer

    Σ\SigmaΣ

    Explanation

    Left or right multiplication by an orthogonal matrix changes the orthogonal factors in the SVD but leaves the singular-value matrix unchanged.

  32. 32
    Multiplying a vector by an orthogonal matrix preserves its L2 norm because it acts like a rotation that leaves its
    _____
    unchanged.
    Hint

    A rotation changes direction but not size.

    Answer

    length

    Explanation

    The Euclidean length of a vector is invariant under orthogonal transformations; algebraically, this follows from QTQ=IQ^TQ=IQTQ=I.

  33. 33
    For a matrix with SVD A=UΣVTA=U\Sigma V^TA=UΣVT, left multiplication by an orthogonal matrix QQQ changes the left factor to
    _____
    while leaving Σ\SigmaΣ unchanged.
    Hint

    Combine the new matrix with the original left singular-vector factor.

    Answer

    QUQUQU

    Explanation

    The product is QA=QUΣVTQA=QU\Sigma V^TQA=QUΣVT. Since QUQUQU is orthogonal, this is an SVD with the same singular values.

  34. 34
    The rank-approximation problem is called orthogonally invariant because orthogonal transformations preserve the relevant matrix
    _____
    .
    Hint

    The measure of matrix size remains unchanged.

    Answer

    norms

    Explanation

    Orthogonal multiplication changes the singular vectors but not the singular values, so the norms discussed that depend on singular values remain unchanged.

  35. 35
    In PCA, the data are centered by subtracting the mean so that each data row has mean
    _____
    .
    Hint

    Centering shifts the average to the origin.

    Answer

    zero

    Explanation

    Subtracting the average height and average age from their respective rows gives each row mean zero.

  36. 36
    For height-and-age data, centering can make some centered ages or heights negative because values are measured relative to the
    _____
    .
    Hint

    A value below the central reference becomes negative after subtraction.

    Answer

    average

    Explanation

    After subtracting a variable's average, observations below the average have negative centered values and observations above it have positive values.

  37. 37
    The PCA example represents nnn people measured on two variables, height and age, as a data matrix with
    _____
    rows.
    Hint

    There is one row for each measured variable.

    Answer

    two

    Explanation

    The two rows represent height and age, while the columns represent the nnn data points.

  38. 38
    In the PCA example, the desired relationship between centered height and age is modeled as a
    _____
    .
    Hint

    The lecture seeks a linear relation between the two measurements.

    Answer

    line

    Explanation

    PCA is presented as seeking the best line relating the centered height and age data in this example.

  39. 39
    Ordinary least squares measures the residual from a data point to the fitted relation in the direction used by the regression setup, whereas PCA minimizes distances measured
    _____
    to the line.
    Hint

    These errors are measured at right angles to the fitted line.

    Answer

    perpendicular

    Explanation

    PCA minimizes the sum of squared perpendicular distances from the points to the line, which differs from the usual least-squares regression objective.

  40. 40
    The ordinary least-squares problem for Ax≈bAx\approx bAx≈b leads to the normal equations
    _____
    .
    Hint

    They involve the transpose of the design matrix multiplied by the matrix itself.

    Answer

    ATAx=ATbA^T A x=A^T bATAx=ATb

    Explanation

    Minimizing the usual squared residuals yields the normal equations ATAx=ATbA^T A x=A^T bATAx=ATb.

  41. 41
    In statistics, the sample covariance matrix is computed from observed samples rather than from a theoretical probability
    _____
    .
    Hint

    The alternative is a mathematical model for how the data are generated.

    Answer

    distribution

    Explanation

    The word sample indicates that the covariance is estimated from the collected data, rather than derived from a theoretical probability distribution.

  42. 42
    Covariance captures not only the variation in each variable but also the
    _____
    between variables, such as whether greater age tends to accompany greater height.
    Hint

    It describes how two quantities vary together.

    Answer

    link

    Explanation

    The covariance matrix records each variable's variance and the relationship between pairs of variables.

  43. 43
    For centered data stored with variables as rows and observations as columns, the sample covariance matrix in the lecture is formed from AATAA^TAAT and normalized by
    _____
    .
    Hint

    The lecture notes that one degree of freedom is accounted for when centering.

    Answer

    N−1N-1N−1

    Explanation

    The sample covariance matrix is given as AAT/(N−1)AA^T/(N-1)AAT/(N−1), where NNN is the number of data points.

  44. 44
    The PCA objective differs from ordinary least squares because it minimizes squared distances from the data points to the line in the
    _____
    direction.
    Hint

    The distance is measured at a right angle rather than along a coordinate axis.

    Answer

    perpendicular

    Explanation

    Ordinary least squares uses residuals defined by the regression setup, while PCA's line-fitting objective sums squared perpendicular distances to the line.

1 of 44
Question 1 of 44

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent