Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Training Systems Using Python Statistical Modeling

You're reading from   Training Systems Using Python Statistical Modeling Explore popular techniques for modeling your data in Python

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781838823733
Length 290 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Curtis Miller Curtis Miller
Author Profile Icon Curtis Miller
Curtis Miller
Arrow right icon
View More author details
Toc

Principal component analysis

Now, let's look at our first approach to dimensionality reduction, using PCA. In this section, we will learn all about PCA. We will see what PCA does, and also show approaches to evaluating the quality of principal components.

We'll start with a dataset. This dataset lies in some dimensional space. In each dimension, the data varies. There's no necessary relationship in this variation. Furthermore, there could be correlations between the coordinates. This is better represented using the following diagram:

With PCA, we find a new feature space based on linear combinations of the original feature space, with new features, called principal components, as shown in the following diagram:

The principal components are all uncorrelated. Additionally, the variance of the dataset with respect to each principal component is decreasing. The first...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime