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

  • 41Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: SVD Approximation

How can a rank-rrr matrix AAA be represented using its singular value decomposition?

41 questions

  1. 1

    How can a rank-rrr matrix AAA be represented using its singular value decomposition?

    1. A

      As a sum of rrr rank-one terms, each formed from a left singular vector, a singular value, and a right singular vector

    2. B

      As a product of rrr rank-one matrices whose vectors need not be orthogonal

    3. C

      As a sum of rrr diagonal matrices, each formed from two eigenvectors of AAA

    4. D

      As a sum of rrr rank-one terms whose left and right vectors are necessarily identical

    Correct answer
    A

    As a sum of rrr rank-one terms, each formed from a left singular vector, a singular value, and a right singular vector

    Explanation

    The SVD expresses AAA as a sum of rrr rank-one pieces built from its singular vectors and singular values. The left singular vectors are orthonormal, as are the right singular vectors.

  2. 2

    What distinguishes the singular vectors in the SVD from arbitrary vectors in a rank-one decomposition?

    1. A

      The left singular vectors are orthogonal, but the right singular vectors are unrestricted

    2. B

      The left singular vectors are identical to the right singular vectors, and both sets are normalized

    3. C

      The left singular vectors are orthonormal, and the right singular vectors are also orthonormal

    4. D

      The singular vectors are chosen to make every rank-one piece have the same size

    Correct answer
    C

    The left singular vectors are orthonormal, and the right singular vectors are also orthonormal

    Explanation

    A key feature of the SVD is that its left singular vectors form an orthonormal set and its right singular vectors form an orthonormal set.

  3. 3

    If a matrix has many singular-value terms but only a limited computational budget is available, what does retaining the first kkk SVD terms accomplish?

    1. A

      It keeps the kkk largest singular-value pieces as a compact representation of important data information

    2. B

      It keeps the kkk smallest singular-value pieces to remove the most prominent patterns

    3. C

      It guarantees an exact representation whenever kkk is smaller than the matrix rank

    4. D

      It replaces the matrix with a rank-kkk representation whose terms all have equal size

    Correct answer
    A

    It keeps the kkk largest singular-value pieces as a compact representation of important data information

    Explanation

    The lecture presents the largest singular-value pieces as the important information to retain when a full matrix representation is impractical. Keeping the first kkk pieces gives a rank-kkk approximation.

  4. 4

    What does the Eckart–Young theorem say about AkA_kAk​, the matrix formed from the first kkk SVD pieces of AAA?

    1. A

      It is an exact representation of AAA whenever AAA has more than kkk singular values

    2. B

      It is the best approximation to AAA among matrices of every possible rank

    3. C

      It is a best rank-kkk approximation to AAA under the stated matrix norms

    4. D

      It is the only rank-kkk matrix that can be written using singular vectors

    Correct answer
    C

    It is a best rank-kkk approximation to AAA under the stated matrix norms

    Explanation

    The theorem states that AkA_kAk​, formed from the first kkk SVD pieces, is at least as close to AAA as any other rank-kkk matrix, for the specified norms.

  5. 5

    Which comparison expresses the best-approximation claim for a rank-kkk matrix BBB?

    1. A

      The comparison is valid only when BBB is diagonal and AAA is not

    2. B

      The error from AAA to BBB is always smaller than the error from AAA to AkA_kAk​

    3. C

      The two errors are equal whenever BBB and AkA_kAk​ both have rank kkk

    4. D

      The error from AAA to BBB is at least as large as the error from AAA to AkA_kAk​

    Correct answer
    D

    The error from AAA to BBB is at least as large as the error from AAA to AkA_kAk​

    Explanation

    For the norms discussed, the theorem says that any rank-kkk candidate BBB has error no smaller than AkA_kAk​; in symbols, |A-B|\geq|A-A_k|$.

  6. 6

    For the diagonal matrix with diagonal entries 4,3,2,14,3,2,14,3,2,1, what is its best rank-222 approximation according to the SVD truncation described in the lecture?

    1. A

      The diagonal matrix with entries 4,0,2,04,0,2,04,0,2,0

    2. B

      The diagonal matrix with entries 3.5,3.5,0,03.5,3.5,0,03.5,3.5,0,0

    3. C

      The diagonal matrix with entries 4,3,0,04,3,0,04,3,0,0

    4. D

      The diagonal matrix with entries 0,0,2,10,0,2,10,0,2,1

    Correct answer
    C

    The diagonal matrix with entries 4,3,0,04,3,0,04,3,0,0

    Explanation

    The singular values of this diagonal example are 4,3,2,14,3,2,14,3,2,1. A rank-222 truncation retains the two largest, giving diagonal entries 4,3,0,04,3,0,04,3,0,0.

  7. 7

    Why might a rank-222 matrix that seems closer to a diagonal matrix on its diagonal entries still be a worse approximation overall?

    1. A

      Any nonzero diagonal entries automatically increase the rank beyond two

    2. B

      The SVD theorem compares only diagonal entries and ignores all other entries

    3. C

      A rank-222 approximation is not allowed to contain diagonal entries

    4. D

      Keeping the rank low may require off-diagonal entries that add to the total approximation error

    Correct answer
    D

    Keeping the rank low may require off-diagonal entries that add to the total approximation error

    Explanation

    A competing rank-222 construction can improve some diagonal entries but require nonzero off-diagonal entries. Those additional discrepancies can make its overall norm error larger than that of the SVD truncation.

  8. 8

    What is the vector L2L_2L2​ norm of v=(v_1,\ldots,v_n)$?

    1. A

      The square root of the sum of the squared components

    2. B

      The largest absolute value among the components

    3. C

      The sum of the absolute values of the components

    4. D

      The sum of the components divided by their number

    Correct answer
    A

    The square root of the sum of the squared components

    Explanation

    The vector L2L_2L2​ norm is the usual Euclidean length: \sqrt{v_1^2+\cdots+v_n^2}.

  9. 9

    How is the vector L1L_1L1​ norm defined in the lecture?

    1. A

      By selecting the component with the greatest absolute value

    2. B

      By adding the absolute values of the components without squaring them

    3. C

      By adding the squared components without taking a square root

    4. D

      By taking the square root of the sum of the squared components

    Correct answer
    B

    By adding the absolute values of the components without squaring them

    Explanation

    The vector L1L_1L1​ norm adds the magnitudes of the components: \sum_i |v_i|$.

  10. 10

    What is the vector L_\infty$ norm?

    1. A

      The sum of all absolute values in the vector

    2. B

      The square root of the sum of all squared components

    3. C

      The average of the vector’s absolute component values

    4. D

      The largest absolute value among the vector’s components

    Correct answer
    D

    The largest absolute value among the vector’s components

    Explanation

    The L_\inftynormisthemaximummagnitudeofanycomponent:norm is the maximum magnitude of any component:normisthemaximummagnitudeofanycomponent:max⁡i∣vi∣\max_i |v_i|maxi​∣vi​∣.

  11. 11

    What outcome is associated in the lecture with minimizing an objective using the L1L_1L1​ norm?

    1. A

      A minimizing vector that must have the largest possible number of nonzero components

    2. B

      A minimizing vector that is often sparse, with mostly zero components

    3. C

      A minimizing vector whose components are all small but nonzero

    4. D

      A minimizing vector whose components are all equal in magnitude

    Correct answer
    B

    A minimizing vector that is often sparse, with mostly zero components

    Explanation

    The lecture explains that L1L_1L1​ minimization often produces sparse solutions, meaning that most components are zero. This is useful because the remaining nonzero components can be easier to interpret.

  12. 12

    What contrast does the lecture draw between typical L1L_1L1​ and L2L_2L2​ minimizers?

    1. A

      L1L_1L1​ yields many small components, whereas L2L_2L2​ always yields mostly zero components

    2. B

      L1L_1L1​ and L2L_2L2​ necessarily produce the same minimizing vector

    3. C

      L1L_1L1​ often yields mostly zero components, whereas L2L_2L2​ least squares may yield many small components

    4. D

      L1L_1L1​ minimizes the largest component, whereas L2L_2L2​ minimizes the number of nonzero components

    Correct answer
    C

    L1L_1L1​ often yields mostly zero components, whereas L2L_2L2​ least squares may yield many small components

    Explanation

    The lecture contrasts sparse L1L_1L1​ solutions with least-squares L2L_2L2​ solutions that can contain many small components. The sparse solution may be easier to interpret.

  13. 13

    Which statement describes homogeneity, a property required of a norm?

    1. A

      A vector’s norm is the number of its nonzero components

    2. B

      Scaling a vector by a scalar scales its norm by the scalar’s absolute value

    3. C

      A vector’s norm is unchanged when the vector is multiplied by any scalar

    4. D

      Adding two vectors always gives a norm equal to the sum of their norms

    Correct answer
    B

    Scaling a vector by a scalar scales its norm by the scalar’s absolute value

    Explanation

    Norm homogeneity means |cv|=|c||v|.Thusscalingby. Thus scaling by .Thusscalingby2$ doubles the norm, while scaling by a negative number also scales it by that number’s absolute value.

  14. 14

    What does the triangle inequality require of a norm?

    1. A

      The norm of a sum is always greater than each individual norm

    2. B

      The norm of a sum is always equal to the sum of the individual norms

    3. C

      The norm of a sum is no greater than the sum of the individual norms

    4. D

      The norm of a sum is the product of the individual norms

    Correct answer
    C

    The norm of a sum is no greater than the sum of the individual norms

    Explanation

    The triangle inequality states that |v+w|\leq|v|+|w|$. Geometrically, the direct distance across a triangle cannot exceed the combined lengths of its other two sides.

  15. 15

    Which description matches the matrix L2L_2L2​ norm introduced in the lecture?

    1. A

      The sum of all singular values of the matrix

    2. B

      The largest singular value of the matrix

    3. C

      The square root of the sum of the squared matrix entries

    4. D

      The largest absolute value among the matrix entries

    Correct answer
    B

    The largest singular value of the matrix

    Explanation

    The matrix L2L_2L2​ norm discussed is the largest singular value, \sigma_1$.

  16. 16

    How is the Frobenius norm computed from a matrix’s entries?

    1. A

      Add the absolute values of all entries without squaring them

    2. B

      Take the square root of the sum of the squares of all entries

    3. C

      Take the largest singular value of the matrix

    4. D

      Add the singular values and divide by the matrix rank

    Correct answer
    B

    Take the square root of the sum of the squares of all entries

    Explanation

    The Frobenius norm treats the matrix as a long vector: it squares all entries, adds them, and takes the square root.

  17. 17

    How is the nuclear norm of a matrix defined in the lecture?

    1. A

      As the sum of the absolute values of its diagonal entries

    2. B

      As its largest singular value

    3. C

      As the square root of the sum of its squared entries

    4. D

      As the sum of its singular values

    Correct answer
    D

    As the sum of its singular values

    Explanation

    The nuclear norm is the sum of the singular values, \sum_i σi\sigma_iσi​.

  18. 18

    For which matrix norms does the lecture state the Eckart–Young best rank-kkk approximation result?

    1. A

      The matrix L2L_2L2​, Frobenius, and nuclear norms discussed in the lecture

    2. B

      Only the Frobenius norm and the sum of absolute entries

    3. C

      Only the matrix L2L_2L2​ norm and the maximum-entry norm

    4. D

      Every possible matrix norm, without exception

    Correct answer
    A

    The matrix L2L_2L2​, Frobenius, and nuclear norms discussed in the lecture

    Explanation

    The lecture identifies the matrix L2L_2L2​, Frobenius, and nuclear norms as norms for which the truncated SVD gives a best rank-kkk approximation. It explicitly notes that the result does not hold for every possible matrix norm.

  19. 19

    Why can low-rank matrix methods help with a recommender system built from user ratings?

    1. A

      The ratings matrix has missing entries, and the system aims to infer unobserved preferences

    2. B

      The system replaces each rating with the average rating of all users

    3. C

      The ratings are necessarily orthogonal, so their singular values directly name products

    4. D

      Every user rates every item, so the system needs only to sort complete rows

    Correct answer
    A

    The ratings matrix has missing entries, and the system aims to infer unobserved preferences

    Explanation

    A ratings matrix is incomplete because users have not rated every item. Matrix completion methods can estimate missing entries from the observed ratings and thereby support recommendations.

  20. 20

    What does the nuclear norm contribute to the matrix-completion examples discussed?

    1. A

      It guarantees that every missing entry equals the average of its row

    2. B

      It ensures that a matrix with missing entries has full rank

    3. C

      It converts all observed entries into singular values without estimation

    4. D

      It can be used in a completion problem to estimate missing entries in a large matrix

    Correct answer
    D

    It can be used in a completion problem to estimate missing entries in a large matrix

    Explanation

    The lecture describes nuclear-norm minimization as a useful approach to completing incomplete matrices, including recommendation data and MRI measurements.

  21. 21

    Why may an MRI image require matrix completion when a scan is shortened?

    1. A

      A short scan changes the image matrix into a vector with no recoverable structure

    2. B

      A shorter scan may leave some measurements unobserved, so the missing information must be estimated

    3. C

      A shorter scan records every entry but makes all observed values identical

    4. D

      A longer scan produces missing entries that a shorter scan automatically restores

    Correct answer
    B

    A shorter scan may leave some measurements unobserved, so the missing information must be estimated

    Explanation

    The lecture explains that shorter scanning can leave some matrix measurements unobserved. Completion methods can estimate the missing information to help reconstruct the image.

  22. 22

    Which two kinds of applications are specifically mentioned as using nuclear-norm matrix completion?

    1. A

      Recommendation data and MRI imaging

    2. B

      Image compression and population growth

    3. C

      Speech recognition and planetary motion

    4. D

      Weather forecasting and chemical reaction modeling

    Correct answer
    A

    Recommendation data and MRI imaging

    Explanation

    The lecture points to incomplete movie-rating data for recommendations and incomplete measurements in MRI as examples where nuclear-norm completion is useful.

  23. 23

    What kind of extra consideration did the lecture say played a role in the Netflix recommendation competition, in addition to matrix mathematics?

    1. A

      A method for replacing all ratings with movie release dates

    2. B

      A proof that every subscriber had rated every movie

    3. C

      A rule that users’ preferences were independent of their viewing

    4. D

      Some understanding of how people make ratings or preferences

    Correct answer
    D

    Some understanding of how people make ratings or preferences

    Explanation

    The lecture says the competition involved both a large incomplete-matrix problem and some psychology of how people voted or expressed preferences.

  24. 24

    What happens to the singular values of A=U h\Sigma V^T if an orthogonal matrix QQQ multiplies AAA on the left?

    1. A

      They become the eigenvalues of QQQ

    2. B

      They stay the same because QA=(QU)ΣVTQA=(QU)\Sigma V^TQA=(QU)ΣVT is still an SVD

    3. C

      They are all multiplied by the largest singular value of QQQ

    4. D

      They are reversed because left multiplication swaps the singular-vector sets

    Correct answer
    B

    They stay the same because QA=(QU)ΣVTQA=(QU)\Sigma V^TQA=(QU)ΣVT is still an SVD

    Explanation

    Since QQQ and UUU are orthogonal, QUQUQU is orthogonal. Thus QA=(QU)ΣVTQA=(QU)\Sigma V^TQA=(QU)ΣVT has the same diagonal singular-value matrix \Sigma$.

  25. 25

    Why does multiplying a vector by an orthogonal matrix preserve its L2L_2L2​ length?

    1. A

      Orthogonal transformations set every vector’s length equal to one

    2. B

      Orthogonal transformations preserve inner products, so they preserve the squared length

    3. C

      Orthogonal matrices replace each component with its absolute value

    4. D

      Orthogonal matrices preserve only the sum of a vector’s components

    Correct answer
    B

    Orthogonal transformations preserve inner products, so they preserve the squared length

    Explanation

    For an orthogonal matrix QQQ, QTQ=IQ^TQ=IQTQ=I. Therefore (Qv)T(Qv)=vTQTQv=vTv(Qv)^T(Qv)=v^TQ^TQv=v^Tv(Qv)T(Qv)=vTQTQv=vTv, so the L2L_2L2​ length is unchanged.

  26. 26

    How does an orthogonal change of coordinates affect the singular values of a matrix?

    1. A

      It leaves them unchanged because it changes singular-vector directions but not the middle diagonal matrix

    2. B

      It changes them unless the matrix is diagonal to begin with

    3. C

      It multiplies them by the entries of the orthogonal matrices

    4. D

      It replaces them with the singular values of the orthogonal matrices

    Correct answer
    A

    It leaves them unchanged because it changes singular-vector directions but not the middle diagonal matrix

    Explanation

    In an SVD, orthogonal multiplication on the left or right can be absorbed into the orthogonal singular-vector factors. The diagonal matrix of singular values remains unchanged.

  27. 27

    What does it mean in this setting to say the approximation problem is orthogonally invariant?

    1. A

      Applying orthogonal transformations preserves only the matrix’s trace

    2. B

      Applying orthogonal transformations does not change the singular values or the relevant matrix norms

    3. C

      Applying orthogonal transformations changes the rank but preserves the number of entries

    4. D

      Applying orthogonal transformations makes every matrix diagonal

    Correct answer
    B

    Applying orthogonal transformations does not change the singular values or the relevant matrix norms

    Explanation

    The lecture uses orthogonal invariance to explain that multiplying by orthogonal matrices preserves the singular values and the norms based on them, so the approximation structure is unchanged.

  28. 28

    If QQQ is orthogonal, which expression is an SVD of QAQAQA, given A=UΣVTA=U\Sigma V^TA=UΣVT?

    1. A

      (QU)QΣVT(QU)Q\Sigma V^T(QU)QΣVT

    2. B

      (QU)ΣVT(QU)\Sigma V^T(QU)ΣVT

    3. C

      UΣ(QV)TU\Sigma(QV)^TUΣ(QV)T

    4. D

      U(QΣ)VTU(Q\Sigma)V^TU(QΣ)VT

    Correct answer
    B

    (QU)ΣVT(QU)\Sigma V^T(QU)ΣVT

    Explanation

    Left multiplication gives QA=QUΣVTQA=QU\Sigma V^TQA=QUΣVT. Because the product QUQUQU is orthogonal, this has the same SVD diagonal \Sigma$.

  29. 29

    In the height-and-age example, what does arranging measurements as a data matrix with people as columns mean?

    1. A

      Each row contains one person’s pair of measurements

    2. B

      Each column contains one person’s height and age measurements

    3. C

      Each entry gives the average height and age for the entire group

    4. D

      Each column contains all people’s heights followed by all people’s ages

    Correct answer
    B

    Each column contains one person’s height and age measurements

    Explanation

    The example places the variables in rows and the samples in columns. Thus each column is a two-component vector containing one person’s height and age.

  30. 30

    What is the purpose of subtracting each variable’s average before analyzing the data in the PCA example?

    1. A

      It forces every sample to have the same height and age

    2. B

      It removes the relationship between the variables

    3. C

      It makes all variables have variance one

    4. D

      It centers the data so each variable has mean zero

    Correct answer
    D

    It centers the data so each variable has mean zero

    Explanation

    Subtracting the mean of each row centers the observations around zero. The centered values in each variable then sum to zero.

  31. 31

    After subtracting a variable’s mean from all its sample values, what is true of the centered values for that variable?

    1. A

      They are all nonnegative

    2. B

      They sum to zero

    3. C

      They all equal the original mean

    4. D

      Their squared values sum to zero

    Correct answer
    B

    They sum to zero

    Explanation

    The mean is the average of the sample values. Subtracting it from every value makes the centered values sum to zero.

  32. 32

    Why can centered age values be negative without implying that a person has a negative actual age?

    1. A

      A negative centered value means that the person’s actual age is zero

    2. B

      Centering converts all ages into measurement errors

    3. C

      Centering reverses the direction of the age scale

    4. D

      A negative centered value means the person’s age is below the sample average

    Correct answer
    D

    A negative centered value means the person’s age is below the sample average

    Explanation

    The centered value is the actual measurement minus the average measurement. It can be negative when a person’s age is below the average age.

  33. 33

    What two kinds of information does the sample covariance matrix capture for height and age?

    1. A

      Variation within each variable and the relationship between the variables

    2. B

      The maximum value of each variable and the number of samples

    3. C

      The measurement units and the order in which samples were collected

    4. D

      The average of each variable and the rank of the data matrix

    Correct answer
    A

    Variation within each variable and the relationship between the variables

    Explanation

    The covariance matrix includes the variances of height and age on its diagonal and describes how the two variables vary together in its off-diagonal entries.

  34. 34

    What does the word “empirical” indicate when describing a covariance matrix?

    1. A

      It is necessarily an exact description of the population distribution

    2. B

      It contains no information about variation among samples

    3. C

      It is calculated from observed data rather than specified by a theoretical probability distribution

    4. D

      It is calculated only from a theoretical model rather than observed samples

    Correct answer
    C

    It is calculated from observed data rather than specified by a theoretical probability distribution

    Explanation

    Empirical means based on information from the data. The sample covariance is computed from observed samples rather than derived solely from a proposed theoretical distribution.

  35. 35

    According to the lecture, what covariance matrix is formed from centered data with variables in rows and NNN samples in columns?

    1. A

      The product ATAA^TAATA without any normalization

    2. B

      A normalized form of ATAA^TAATA, using the number of variables as the divisor

    3. C

      A normalized form of AATAA^TAAT, using NNN or, conventionally, N−1N-1N−1 as the divisor

    4. D

      The product A+ATA+A^TA+AT, divided by the number of rows

    Correct answer
    C

    A normalized form of AATAA^TAAT, using NNN or, conventionally, N−1N-1N−1 as the divisor

    Explanation

    With variables as rows and samples as columns, the sample covariance is formed from AATAA^TAAT and normalized by the sample count, commonly N−1N-1N−1 rather than NNN.

  36. 36

    Why does the lecture give N−1N-1N−1 as the conventional covariance divisor after centering the data?

    1. A

      Using N−1N-1N−1 forces the covariance matrix to have rank N−1N-1N−1 in every case

    2. B

      One degree of freedom is accounted for when the sample mean is estimated and removed

    3. C

      The divisor corrects for the number of variables rather than the number of samples

    4. D

      The data matrix has exactly N−1N-1N−1 rows after centering

    Correct answer
    B

    One degree of freedom is accounted for when the sample mean is estimated and removed

    Explanation

    The lecture motivates the N−1N-1N−1 divisor by noting that one degree of freedom has been used in estimating and subtracting the mean. It also notes that this divisor does not affect the computation being discussed there.

  37. 37

    What quantity does the PCA line-fitting setup minimize, in contrast to ordinary least squares?

    1. A

      The difference between the mean of each variable and the fitted line

    2. B

      The sum of squared vertical errors in predicting one variable from the other

    3. C

      The sum of squared perpendicular distances from the data points to the line

    4. D

      The sum of absolute differences between every pair of data points

    Correct answer
    C

    The sum of squared perpendicular distances from the data points to the line

    Explanation

    The PCA setup described measures each point’s perpendicular distance to the line and minimizes the sum of squared distances. Ordinary least squares instead measures errors in a designated response direction.

  38. 38

    In ordinary least squares for a model Ax≈bAx\approx bAx≈b, what errors are minimized?

    1. A

      The squared components of the residual b−Axb-Axb−Ax

    2. B

      The squared perpendicular distances from all data points to the fitted line

    3. C

      The squared deviations of the columns of AAA from their means only

    4. D

      The squared differences between the singular values of AAA and bbb

    Correct answer
    A

    The squared components of the residual b−Axb-Axb−Ax

    Explanation

    Least squares minimizes the sum of squared residual components in b−Axb-Axb−Ax. In a line-fitting interpretation, these are errors in the chosen response direction, rather than perpendicular distances to the line.

  39. 39

    What equations characterize a least-squares solution to Ax≈bAx\approx bAx≈b in the lecture?

    1. A

      The eigenvalue equations Ax^=λbA\hat{x}=\lambda bAx^=λb

    2. B

      The covariance equations AATx^=ATbAA^T\hat{x}=A^TbAATx^=ATb

    3. C

      The normal equations ATAx^=ATbA^TA\hat{x}=A^TbATAx^=ATb

    4. D

      The SVD truncation equations Akx=bA_kx=bAk​x=b

    Correct answer
    C

    The normal equations ATAx^=ATbA^TA\hat{x}=A^TbATAx^=ATb

    Explanation

    Ordinary least squares leads to the normal equations ATAx^=ATbA^TA\hat{x}=A^TbATAx^=ATb. The lecture contrasts solving these equations with PCA’s perpendicular-distance objective.

  40. 40

    Why are PCA line fitting and ordinary least-squares regression not the same problem, even when both seek a best line?

    1. A

      They minimize different errors: PCA uses perpendicular distances, while least squares uses residuals in a chosen response direction

    2. B

      PCA requires uncentered data, while least squares requires centered data

    3. C

      PCA fits only nonlinear curves, while least squares fits only straight lines

    4. D

      PCA uses no matrix operations, while least squares always uses an SVD

    Correct answer
    A

    They minimize different errors: PCA uses perpendicular distances, while least squares uses residuals in a chosen response direction

    Explanation

    PCA minimizes squared perpendicular distances to the line. Least-squares regression minimizes squared errors in a designated response direction, so the two objectives can produce different best-fit lines.

  41. 41

    What limitation of PCA does the lecture contrast with the capabilities needed to model more complex data?

    1. A

      PCA is a linear method, whereas complex deep-learning models may require nonlinear functions

    2. B

      PCA works only with complete data, whereas deep learning requires missing data

    3. C

      PCA cannot use matrices, whereas deep learning is based entirely on matrices

    4. D

      PCA requires nonlinear functions, whereas deep learning is necessarily linear

    Correct answer
    A

    PCA is a linear method, whereas complex deep-learning models may require nonlinear functions

    Explanation

    The lecture characterizes PCA as a linear method and notes that modeling serious data with deep learning requires nonlinear functions.

Question 1 of 41
Question 1 of 41

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent