Machine Learning Basics

Which of the following describes principal component analysis (PCA)?

  1. ASelecting the few features that best predict the correct-answer labels and discarding all the other features to make the data smaller
  2. BDividing data into a predetermined number of groups so that similar items fall in the same group
  3. CFinding new, mutually orthogonal axes in order, starting from the direction in which the spread (variance) of the data is largest, and representing the data with few axes
Show answer and explanation

Answer: C. Finding new, mutually orthogonal axes in order, starting from the direction in which the spread (variance) of the data is largest, and representing the data with few axes

Principal component analysis is a representative dimensionality-reduction method that represents data with many variables using fewer variables while losing as little information as possible. It finds, in order, the direction of greatest variance in the data as the first principal component, the direction of greatest variance orthogonal to it as the second principal component, and so on, and represents the data with only the leading components. It is a kind of unsupervised learning that uses no correct-answer labels and is used for visualizing data and for preprocessing before training. If the variables have different units or scales, the result is pulled toward variables with large values, so the data is often standardized first.

  • A. Choosing features with the labels is feature selection. PCA uses no labels and builds new axes that combine the original variables.
  • B. This describes clustering (k-means and others).
  • C. Correct. Mutually orthogonal axes (principal components) are found in order of decreasing variance.
Practice this topic Back to topic

Related calculators

Books on Machine Learning Basics Ad

As an Amazon Associate I earn from qualifying purchases.

More Machine Learning Basics questions

  1. When data is split into training, validation and test sets, which of the following is the main use of the validation set?
  2. When 5-fold cross-validation (k-fold cross-validation with k = 5) is performed on 1000 data points, how many data points are used for each round of training?
  3. Which of the following is seen when overfitting is occurring?
  4. Which of the following is correct when a model's error is considered in terms of bias and variance?
  5. Which of the following correctly describes regularization and related methods for reducing overfitting?