SlideShare a Scribd company logo
Principal Component Analysis(PCA)
Presented By:
Vishal Gour
Deep Learning
Contents
1. Theory
2. Mathematical Calculation
3. Python Implementation
Principal Component Analysis(PCA) lecture
Principal Component Analysis(PCA) lecture
Principal Component Analysis(PCA) lecture
What if we get rid of non-important features?
1.Faster Training.
2.Data Visualization becomes easier.
Principal Component Analysis(PCA) lecture
Principal Component Analysis(PCA) lecture
Principal Component Analysis(PCA) lecture
Principal Component Analysis(PCA) lecture
Principal Component Analysis(PCA) lecture
PCA is called the dimensionality
reduction technique as it can help
reduce dimensions.
Mathematical Implementation
X 2.5 0.5 2.2 1.9 3.1 2.3 2 1 1.5 1.1
Y 2.4 0.7 2.9 2.2 3.0 2.7 1.6 1.1 1.6 0.9
X’ = 1.81, Y’ = 1.91 C = [cov(x,x) cov(x,y)
cov(y,x) cov(y,y)]
Cov(x,y) =
X X-X’ (X-X’)(X-X’)
2.5 0.69 0.476
0.5 -1.31 1.7161
Y Y-Y’ (Y-Y’)(Y-Y’)
2.4 0.49 0.1401
0.7 -1.21 1.4641
X Y X-X’ Y-Y’ (X-X’)(Y-Y’)
2.5 2.4 0.69 0.49 0.3381
0.5 0.7 -1.31 -1.21 1.5851
Sum = 5.5490/n-1 Sum = 6.449
Sum = 5.5390
C = [0.6165 0.6154
0.6154 0.7165]
The eigenvectors of the Covariance matrix are
actually the directions of the axes where there is
the most variance(most information) and that
we call Principal Components. And
eigenvalues are simply the coefficients
attached to eigenvectors, which give
the amount of variance carried in each Principal
Component.
C – λ I = 0
[0.6165 0.6154 - λ [ 1 0 = 0
0.6154 0.7165] 0 1]
[0.6165 - λ 0.6154 = 0
0.6154 0.7165 - λ]
λ2
- 1.333λ + 0.0630 = 0
λ 1 = 0.0490
λ 2 = 1.2840
C V =
λV
Final_Data = Eigen_VectorT
X Original_dataT
Python Implementation
Principal Component Analysis(PCA) lecture
Principal Component Analysis(PCA) lecture
Principal Component Analysis(PCA) lecture
Principal Component Analysis(PCA) lecture
References
1. https://www.geeksforgeeks.org/ml-principal-component-analysispc
a/
2. https://builtin.com/data-science/step-step-explanation-principal-co
mponent-analysis

More Related Content

PPTX
Principal Component Analysis (PCA).pptx
PPTX
Principal Component Analysis in Machine learning.pptx
PDF
Mathematical Introduction to Principal Components Analysis
PPTX
PPTX
Implement principal component analysis (PCA) in python from scratch
PDF
Principal Component Analysis in Machine Learning.pdf
PPTX
pcappt-140121072949-phpapp01.pptx
PPTX
Feature selection using PCA.pptx
Principal Component Analysis (PCA).pptx
Principal Component Analysis in Machine learning.pptx
Mathematical Introduction to Principal Components Analysis
Implement principal component analysis (PCA) in python from scratch
Principal Component Analysis in Machine Learning.pdf
pcappt-140121072949-phpapp01.pptx
Feature selection using PCA.pptx

Similar to Principal Component Analysis(PCA) lecture (20)

PPTX
Principal Component Analysis PCA
PPTX
Dimensionality Reduction and feature extraction.pptx
PDF
Principal component analysis for dimesion reductions for finer data analysis
PPTX
principle component analysis.pptx
PPT
Principal Component Analysis (PCA):How to conduct PCA
PPT
Lecture 12 Principal Component Analysis in Machine Learning.ppt
PPT
pca in machine learning pca in machine learning pca in machine learning pca i...
PDF
Soham Patra_13000120121.pdf
PDF
PPTX
Easy_PCA_Presentation multivariate .pptx
PPTX
Principal component analysis in machine L
PPT
The following ppt is about principal component analysis
PPT
PPTX
Unit3_1.pptx
PPTX
ML-Lec-18-NEW Dimensionality Reduction-PCA (1).pptx
PDF
Covariance.pdf
PPTX
Principal component analysis.pptx
PPTX
Principal component analysis.pptx
PDF
Principal Component Analysis PCA
Dimensionality Reduction and feature extraction.pptx
Principal component analysis for dimesion reductions for finer data analysis
principle component analysis.pptx
Principal Component Analysis (PCA):How to conduct PCA
Lecture 12 Principal Component Analysis in Machine Learning.ppt
pca in machine learning pca in machine learning pca in machine learning pca i...
Soham Patra_13000120121.pdf
Easy_PCA_Presentation multivariate .pptx
Principal component analysis in machine L
The following ppt is about principal component analysis
Unit3_1.pptx
ML-Lec-18-NEW Dimensionality Reduction-PCA (1).pptx
Covariance.pdf
Principal component analysis.pptx
Principal component analysis.pptx
Ad

Recently uploaded (20)

PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Geodesy 1.pptx...............................................
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
composite construction of structures.pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPT
Mechanical Engineering MATERIALS Selection
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Artificial Intelligence
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Digital Logic Computer Design lecture notes
PPTX
Construction Project Organization Group 2.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Operating System & Kernel Study Guide-1 - converted.pdf
Geodesy 1.pptx...............................................
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Safety Seminar civil to be ensured for safe working.
Embodied AI: Ushering in the Next Era of Intelligent Systems
composite construction of structures.pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Mechanical Engineering MATERIALS Selection
CH1 Production IntroductoryConcepts.pptx
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
OOP with Java - Java Introduction (Basics)
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Artificial Intelligence
Foundation to blockchain - A guide to Blockchain Tech
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
UNIT 4 Total Quality Management .pptx
Digital Logic Computer Design lecture notes
Construction Project Organization Group 2.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Ad

Principal Component Analysis(PCA) lecture