Skip to content
Minsing Log
Go back

English Edition

PCA (Principal Component Analysis)

Data & ML

What is PCA?

Principal component: A new variable created by combining existing variables, with no correlation to one another

Background

High-dimensional data is difficult to analyze because it is challenging to compute and visualize.

Therefore, it is necessary to reduce the dimensionality of the data while preserving the distribution of the original data as much as possible. This is called dimensionality reduction.

Of course, it is possible to select and use data from only some of the necessary variables (feature selection), but since it is impossible to know in advance whether there are any close relationships among the variables, this approach cannot be considered to accurately reflect the distribution of the original data.

Uses

ex) For example, using the iris dataset

  1. Apply PCA to the sepal length and sepal width features to identify the tendency for sepal width to increase as sepal length increases
  2. Replace the two features with the PCA result to perform feature reduction

cf)

To gain an in-depth understanding of the mathematical model, I should study more linear algebra.

If you would like to follow along with an example, refer to the link: http://matrix.skku.ac.kr/math4ai-intro/W12/

If there is anything incorrect, please leave a comment

  1. PCA image: http://matrix.skku.ac.kr/math4ai-intro/W12/
  2. Content reference:http://matrix.skku.ac.kr/math4ai-intro/W12/ (There are good examples as well, so refer to the link)

Follow the journey

Get new posts by email.

Short, honest notes on building, startups, learning, failures, and retrospectives, for readers who follow the journey rather than pass through from search.

The newsletter is coming soon. Until then, follow via RSS or email me to get notified.


Share this post:

Comments

Sign in with GitHub to leave a comment.


Previous Post
Hyperparameter
Next Post
Understandable IT Knowledge for Non-Majors