SlideShare a Scribd company logo
Singular Value Decomposition



















































































T
r
V
U
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x



1
n
m
A 
is
A = (orthogonal) (diagonal) (orthogonal)
T
V
U
A 

8)
T
V
U
A 
 T
r
r
r
T
T
v
u
v
u
v
u
A 

 


 
2
2
2
1
1
1
Applications of the SVD
/. Image processing
G. Strang, Linear Algebra and its Applications p444












x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
picture matrix
Suppose a satellite takes a picture,
and wants to send it to earth. The
picture may contain 1000 by 1000
"pixels"—little squares each with a
definite color. We can code the colors,
in a range between black and white,
and send back 1,000,000 numbers
Applications of the SVD
/. Image processing
It is better to find the essential information in the 1000 by 1000
matrix, and send only that.
T
r
r
r
T
T
v
u
v
u
v
u
A 

 


 
2
2
2
1
1
1
G. Strang, Linear Algebra and its Applications p444
If only 60 terms are kept, we send 60 times 2000 numbers instead of a million.
Suppose we know the SVD.
The key is in the singular values.
Typically, some are significant and others are extremely small.
If we keep 60 and throw away 940, then we send only the
corresponding 60 columns of U, and V.
The other 940 columns are multiplied by small singular values
that are being ignored. In fact, we can do the matrix
multiplication as columns times rows:
Applications of the SVD
T
v
u 1
1
1

T
v
u 2
2
2
 T
v
u 3
3
3
 T
v
u 4
4
4

T
v
u 5
5
5
 T
v
u 6
6
6
 T
v
u 7
7
7

T
v
u 8
8
8

the SVD of a 32-times-32 digital image A is computed
the activities are lead by Prof. Per Christian Hansen.
Applications of the SVD
1
A 2
A 3
A 4
A
5
A 6
A 7
A 8
A
T
s
s
s
T
T
s v
u
v
u
v
u
A 

 


 
2
2
2
1
1
1
r
s 
G. Strang “ at first you see nothing, and suddenly you recognize everything.”
Applications of the SVD
T
s
s
s
T
T
s v
u
v
u
v
u
A 

 


 
2
2
2
1
1
1
r
s 
If A is symmetric
How to compute SVD (by hand)
Eigenvalue Decomposition
rs
eigenvecto
]
,
,
,
[ 2
1 m
S
S
S
S 

If A is real n-by-n matrix, then 1


 S
S
A
)
,
,
,
( 2
1 n
diag 

 


T
Q
Q
A 
 I
Q
QT

Example: A































2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
5
0
0
3
4
1
1
4
Q  T
Q
How to compute SVD (by hand)
T
V
U
A 

T
T
T
U
V
A 

)
)(
( T
T
T
T
U
V
V
U
AA 


T
T
T
U
U
AA 






)
(
)
( T
AA
A 
 
)
)(
( T
T
T
T
V
U
U
V
A
A 


T
T
T
V
V
A
A 


)
(
)
( A
A
A T

 
symmetric
is
T
AA
symmetric
is
A
AT
How to compute SVD (by hand)
T
V
U
A 

T
T
T
U
V
A 

)
)(
( T
T
T
T
U
V
V
U
AA 

 T
T
T
U
U
AA 

Example:











0
0
1
1
1
1
A 







2
2
2
2
A
A
W T 0
2
2
2
2
)
det( 






I
W
0
4
2
1



















1
1
,
1
1
2
1
2
2
1
1 v
v
0
2
2
1




1
1
1
1
Av
u

 






1
1
2
2
1
A











0
2
1
2
1
1
u )
Null(AA
for
basis
l
orthonorma
, T
3
2 u
u











0
0
0
0
2
2
0
2
2
T
AA










 
0
2
1
2
1
2
u











1
0
0
3
u








































2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
0
0
0
0
0
2
1
0
0
0
0
0
0
1
1
1
1
Range(A) Rank(A)
Null(A)
)
)(
( T
T
T
T
V
U
U
V
A
A 

 T
T
T
V
V
A
A 







)
(
)
( T
AA
A 
 
)
(
)
( A
A
A T

 





















x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
Matrix
Bidiagonal
Diagonal
How to compute SVD (Algorithm)
















x
x
x
x
x
















x
x
x
x
x
x
x
x
x
>>[U,S,V] = svd(A)
Example:
Singular Value Decomposition
9) If A is a square matrix then
0
2
1 


 n


 
1
2


A
10) If A is a square matrix then
0
2
1 


 n


 
2
2
2
2
1
2
r
F
A 

 


 
3
2

A 10

F
A



















































































T
r
V
U
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x



1
Singular Value Decomposition
11) If A is a square symmetric matrix then the singular values of A are
the absolute values of the eigenvalues of A.



















































































T
r
V
U
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x



1
T
T
Q
Q
Q
Q
A )
sign( 




12) If A is a square matrix then
i
n
i
A 
1
)
det(



SVD and Eigenvalue Decomposition
SVD Eigen Decomp
Uses two different
bases U, V
Uses just one
(eigenvectors)
Uses orthonormal bases
Generally is not
orthogonal
All matrices
(even rectangular)
Not all matrices
(even square)
(only diagonalizable)
1


 S
S
A
T
V
U
A 

Reduced SVD
A ̂ T
V
Û

Reduced SVD
Singular Value Decomposition
Example : Luke Olson.illinois
svd_test.m
iguana.jpg
Singular Value Decomposition
Theorem: (Singular Value Decomposition) SVD
m
m
m R
u
u
u
U 

 ]
,
,
,
[ 2
1 
If A is real m-by-n matrix, then there exist orthogonal matrices
n
n
n R
v
v
v
V 

 ]
,
,
,
[ 2
1 
such that
T
V
U
A 

where 0
2
1 


 p


  (m,n)
p min

)
,
,
( 1 p
diag 
 


A 
U T
V

Proof:
Singular Value Decomposition
First approximation to A is
T
v
u
A 1
1
1
1 

T
T
v
u
v
u
A 2
2
2
1
1
1
2 
 

second approximation to A is






T
T
T
v
u
v
u
v
u
A 


 

 


 
2
2
2
1
1
1






T
r
r
r
T
T
v
u
v
u
v
u
A 

 


 
2
2
2
1
1
1
2
2
1
)
(
inf
satisfies
also
matrix
the
,
0
with
any
For
:
Theroem
r
F
B
rank
R
B
F
B
A
A
A
A
r
n
m


















 

Singular Value Decomposition
In later years he drove a car
with the license plate:
Trefethen (Textbook author):
The SVD was discovered independently by
Beltrami(1873) and Jordan(1874) and again by
Sylvester(1889).
The SVD did not become widely known in
applied mathematics until the late 1960s, when
Golub and others showed that it could be
computed effectively.
Cleve Moler (invented MATLAB, co-founded MathWorks)
Gene Golub has done more than anyone to make the singular value
decomposition one of the most powerful and widely used tools in modern
matrix computation.

More Related Content

What's hot

Lecture 12 orhogonality - 6.1 6.2 6.3
Lecture 12   orhogonality - 6.1 6.2 6.3Lecture 12   orhogonality - 6.1 6.2 6.3
Lecture 12 orhogonality - 6.1 6.2 6.3
njit-ronbrown
 
Image Recontruction
Image RecontructionImage Recontruction
Image Recontruction
Suhas Deshpande
 
04 Multi-layer Feedforward Networks
04 Multi-layer Feedforward Networks04 Multi-layer Feedforward Networks
04 Multi-layer Feedforward Networks
Tamer Ahmed Farrag, PhD
 
Lesson 13: Rank and Solutions to Systems of Linear Equations
Lesson 13: Rank and Solutions to Systems of Linear EquationsLesson 13: Rank and Solutions to Systems of Linear Equations
Lesson 13: Rank and Solutions to Systems of Linear Equations
Matthew Leingang
 
Probabilistic Reasoning
Probabilistic ReasoningProbabilistic Reasoning
Probabilistic Reasoning
Junya Tanaka
 
L1 fuzzy sets & basic operations
L1 fuzzy sets & basic operationsL1 fuzzy sets & basic operations
L1 fuzzy sets & basic operations
Mohammad Umar Rehman
 
Application of Monte Carlo Methods in Finance
Application of Monte Carlo Methods in FinanceApplication of Monte Carlo Methods in Finance
Application of Monte Carlo Methods in Finance
SSA KPI
 
Eigenvalue eigenvector slides
Eigenvalue eigenvector slidesEigenvalue eigenvector slides
Eigenvalue eigenvector slides
AmanSaeed11
 
Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313Slideshare
 
Intelligent agents
Intelligent agentsIntelligent agents
Intelligent agents
VIKAS SINGH BHADOURIA
 
Visualizing Data Using t-SNE
Visualizing Data Using t-SNEVisualizing Data Using t-SNE
Visualizing Data Using t-SNE
David Khosid
 
Unit5
Unit5Unit5
Chapter 4: Vector Spaces - Part 4/Slides By Pearson
Chapter 4: Vector Spaces - Part 4/Slides By PearsonChapter 4: Vector Spaces - Part 4/Slides By Pearson
Chapter 4: Vector Spaces - Part 4/Slides By Pearson
Chaimae Baroudi
 
Age Estimation And Gender Prediction Using Convolutional Neural Network.pptx
Age Estimation And Gender Prediction Using Convolutional Neural Network.pptxAge Estimation And Gender Prediction Using Convolutional Neural Network.pptx
Age Estimation And Gender Prediction Using Convolutional Neural Network.pptx
Bulbul Agrawal
 
Energy-based Model for Out-of-Distribution Detection in Deep Medical Image Se...
Energy-based Model for Out-of-Distribution Detection in Deep Medical Image Se...Energy-based Model for Out-of-Distribution Detection in Deep Medical Image Se...
Energy-based Model for Out-of-Distribution Detection in Deep Medical Image Se...
Seunghyun Hwang
 
Reinforcement Learning
Reinforcement LearningReinforcement Learning
Reinforcement Learning
Salem-Kabbani
 
Fiduccia mattheyses
Fiduccia mattheysesFiduccia mattheyses
Fiduccia mattheyses
Tanvi Prabhu Dessai
 
03 Machine Learning Linear Algebra
03 Machine Learning Linear Algebra03 Machine Learning Linear Algebra
03 Machine Learning Linear Algebra
Andres Mendez-Vazquez
 
ce~cb cascode amplifier
ce~cb cascode amplifierce~cb cascode amplifier
ce~cb cascode amplifier
mrinal mahato
 
Postgraduate module theory 2013- lectures
Postgraduate  module theory 2013- lecturesPostgraduate  module theory 2013- lectures
Postgraduate module theory 2013- lectures
khudair al fauudi
 

What's hot (20)

Lecture 12 orhogonality - 6.1 6.2 6.3
Lecture 12   orhogonality - 6.1 6.2 6.3Lecture 12   orhogonality - 6.1 6.2 6.3
Lecture 12 orhogonality - 6.1 6.2 6.3
 
Image Recontruction
Image RecontructionImage Recontruction
Image Recontruction
 
04 Multi-layer Feedforward Networks
04 Multi-layer Feedforward Networks04 Multi-layer Feedforward Networks
04 Multi-layer Feedforward Networks
 
Lesson 13: Rank and Solutions to Systems of Linear Equations
Lesson 13: Rank and Solutions to Systems of Linear EquationsLesson 13: Rank and Solutions to Systems of Linear Equations
Lesson 13: Rank and Solutions to Systems of Linear Equations
 
Probabilistic Reasoning
Probabilistic ReasoningProbabilistic Reasoning
Probabilistic Reasoning
 
L1 fuzzy sets & basic operations
L1 fuzzy sets & basic operationsL1 fuzzy sets & basic operations
L1 fuzzy sets & basic operations
 
Application of Monte Carlo Methods in Finance
Application of Monte Carlo Methods in FinanceApplication of Monte Carlo Methods in Finance
Application of Monte Carlo Methods in Finance
 
Eigenvalue eigenvector slides
Eigenvalue eigenvector slidesEigenvalue eigenvector slides
Eigenvalue eigenvector slides
 
Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313
 
Intelligent agents
Intelligent agentsIntelligent agents
Intelligent agents
 
Visualizing Data Using t-SNE
Visualizing Data Using t-SNEVisualizing Data Using t-SNE
Visualizing Data Using t-SNE
 
Unit5
Unit5Unit5
Unit5
 
Chapter 4: Vector Spaces - Part 4/Slides By Pearson
Chapter 4: Vector Spaces - Part 4/Slides By PearsonChapter 4: Vector Spaces - Part 4/Slides By Pearson
Chapter 4: Vector Spaces - Part 4/Slides By Pearson
 
Age Estimation And Gender Prediction Using Convolutional Neural Network.pptx
Age Estimation And Gender Prediction Using Convolutional Neural Network.pptxAge Estimation And Gender Prediction Using Convolutional Neural Network.pptx
Age Estimation And Gender Prediction Using Convolutional Neural Network.pptx
 
Energy-based Model for Out-of-Distribution Detection in Deep Medical Image Se...
Energy-based Model for Out-of-Distribution Detection in Deep Medical Image Se...Energy-based Model for Out-of-Distribution Detection in Deep Medical Image Se...
Energy-based Model for Out-of-Distribution Detection in Deep Medical Image Se...
 
Reinforcement Learning
Reinforcement LearningReinforcement Learning
Reinforcement Learning
 
Fiduccia mattheyses
Fiduccia mattheysesFiduccia mattheyses
Fiduccia mattheyses
 
03 Machine Learning Linear Algebra
03 Machine Learning Linear Algebra03 Machine Learning Linear Algebra
03 Machine Learning Linear Algebra
 
ce~cb cascode amplifier
ce~cb cascode amplifierce~cb cascode amplifier
ce~cb cascode amplifier
 
Postgraduate module theory 2013- lectures
Postgraduate  module theory 2013- lecturesPostgraduate  module theory 2013- lectures
Postgraduate module theory 2013- lectures
 

Similar to SVD sath.ppt

Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2
Fabian Pedregosa
 
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy415.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
SujalGupta60
 
Journey to structure from motion
Journey to structure from motionJourney to structure from motion
Journey to structure from motion
Ja-Keoung Koo
 
Adaline and Madaline.ppt
Adaline and Madaline.pptAdaline and Madaline.ppt
Adaline and Madaline.ppt
neelamsanjeevkumar
 
Models
ModelsModels
Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3
Fabian Pedregosa
 
20070823
2007082320070823
20070823neostar
 
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
The Statistical and Applied Mathematical Sciences Institute
 
Density theorems for Euclidean point configurations
Density theorems for Euclidean point configurationsDensity theorems for Euclidean point configurations
Density theorems for Euclidean point configurations
VjekoslavKovac1
 
Randomized algorithms ver 1.0
Randomized algorithms ver 1.0Randomized algorithms ver 1.0
Randomized algorithms ver 1.0
Dr. C.V. Suresh Babu
 
Distributed Architecture of Subspace Clustering and Related
Distributed Architecture of Subspace Clustering and RelatedDistributed Architecture of Subspace Clustering and Related
Distributed Architecture of Subspace Clustering and Related
Pei-Che Chang
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
The Statistical and Applied Mathematical Sciences Institute
 
SVD-1 (1).pdf
SVD-1 (1).pdfSVD-1 (1).pdf
SVD-1 (1).pdf
Rahul926331
 
KAUST_talk_short.pdf
KAUST_talk_short.pdfKAUST_talk_short.pdf
KAUST_talk_short.pdf
Chiheb Ben Hammouda
 
Principal Component Analysis
Principal Component AnalysisPrincipal Component Analysis
Principal Component Analysis
Sumit Singh
 
ch3.ppt
ch3.pptch3.ppt
1533 game mathematics
1533 game mathematics1533 game mathematics
1533 game mathematics
Dr Fereidoun Dejahang
 
Chap10 slides
Chap10 slidesChap10 slides
Chap10 slides
HJ DS
 

Similar to SVD sath.ppt (20)

Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2
 
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy415.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
 
Journey to structure from motion
Journey to structure from motionJourney to structure from motion
Journey to structure from motion
 
Adaline and Madaline.ppt
Adaline and Madaline.pptAdaline and Madaline.ppt
Adaline and Madaline.ppt
 
Models
ModelsModels
Models
 
Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3
 
20070823
2007082320070823
20070823
 
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
 
Density theorems for Euclidean point configurations
Density theorems for Euclidean point configurationsDensity theorems for Euclidean point configurations
Density theorems for Euclidean point configurations
 
Randomized algorithms ver 1.0
Randomized algorithms ver 1.0Randomized algorithms ver 1.0
Randomized algorithms ver 1.0
 
Distributed Architecture of Subspace Clustering and Related
Distributed Architecture of Subspace Clustering and RelatedDistributed Architecture of Subspace Clustering and Related
Distributed Architecture of Subspace Clustering and Related
 
ML unit2.pptx
ML unit2.pptxML unit2.pptx
ML unit2.pptx
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
 
SVD-1 (1).pdf
SVD-1 (1).pdfSVD-1 (1).pdf
SVD-1 (1).pdf
 
KAUST_talk_short.pdf
KAUST_talk_short.pdfKAUST_talk_short.pdf
KAUST_talk_short.pdf
 
Principal Component Analysis
Principal Component AnalysisPrincipal Component Analysis
Principal Component Analysis
 
cswiercz-general-presentation
cswiercz-general-presentationcswiercz-general-presentation
cswiercz-general-presentation
 
ch3.ppt
ch3.pptch3.ppt
ch3.ppt
 
1533 game mathematics
1533 game mathematics1533 game mathematics
1533 game mathematics
 
Chap10 slides
Chap10 slidesChap10 slides
Chap10 slides
 

Recently uploaded

Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 

Recently uploaded (20)

Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 

SVD sath.ppt

  • 2. Applications of the SVD /. Image processing G. Strang, Linear Algebra and its Applications p444             x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x picture matrix Suppose a satellite takes a picture, and wants to send it to earth. The picture may contain 1000 by 1000 "pixels"—little squares each with a definite color. We can code the colors, in a range between black and white, and send back 1,000,000 numbers
  • 3. Applications of the SVD /. Image processing It is better to find the essential information in the 1000 by 1000 matrix, and send only that. T r r r T T v u v u v u A         2 2 2 1 1 1 G. Strang, Linear Algebra and its Applications p444 If only 60 terms are kept, we send 60 times 2000 numbers instead of a million. Suppose we know the SVD. The key is in the singular values. Typically, some are significant and others are extremely small. If we keep 60 and throw away 940, then we send only the corresponding 60 columns of U, and V. The other 940 columns are multiplied by small singular values that are being ignored. In fact, we can do the matrix multiplication as columns times rows:
  • 4. Applications of the SVD T v u 1 1 1  T v u 2 2 2  T v u 3 3 3  T v u 4 4 4  T v u 5 5 5  T v u 6 6 6  T v u 7 7 7  T v u 8 8 8  the SVD of a 32-times-32 digital image A is computed the activities are lead by Prof. Per Christian Hansen.
  • 5. Applications of the SVD 1 A 2 A 3 A 4 A 5 A 6 A 7 A 8 A T s s s T T s v u v u v u A         2 2 2 1 1 1 r s  G. Strang “ at first you see nothing, and suddenly you recognize everything.”
  • 6. Applications of the SVD T s s s T T s v u v u v u A         2 2 2 1 1 1 r s 
  • 7. If A is symmetric How to compute SVD (by hand) Eigenvalue Decomposition rs eigenvecto ] , , , [ 2 1 m S S S S   If A is real n-by-n matrix, then 1    S S A ) , , , ( 2 1 n diag       T Q Q A   I Q QT  Example: A                                2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 5 0 0 3 4 1 1 4 Q  T Q
  • 8. How to compute SVD (by hand) T V U A   T T T U V A   ) )( ( T T T T U V V U AA    T T T U U AA        ) ( ) ( T AA A    ) )( ( T T T T V U U V A A    T T T V V A A    ) ( ) ( A A A T    symmetric is T AA symmetric is A AT
  • 9. How to compute SVD (by hand) T V U A   T T T U V A   ) )( ( T T T T U V V U AA    T T T U U AA   Example:            0 0 1 1 1 1 A         2 2 2 2 A A W T 0 2 2 2 2 ) det(        I W 0 4 2 1                    1 1 , 1 1 2 1 2 2 1 1 v v 0 2 2 1     1 1 1 1 Av u          1 1 2 2 1 A            0 2 1 2 1 1 u ) Null(AA for basis l orthonorma , T 3 2 u u            0 0 0 0 2 2 0 2 2 T AA             0 2 1 2 1 2 u            1 0 0 3 u                                         2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 0 0 0 0 0 2 1 0 0 0 0 0 0 1 1 1 1 Range(A) Rank(A) Null(A) ) )( ( T T T T V U U V A A    T T T V V A A         ) ( ) ( T AA A    ) ( ) ( A A A T        
  • 10.                 x x x x x x x x x x x x x x x x x x x x x x x x x Matrix Bidiagonal Diagonal How to compute SVD (Algorithm)                 x x x x x                 x x x x x x x x x >>[U,S,V] = svd(A)
  • 11. Example: Singular Value Decomposition 9) If A is a square matrix then 0 2 1     n     1 2   A 10) If A is a square matrix then 0 2 1     n     2 2 2 2 1 2 r F A         3 2  A 10  F A                                                                                    T r V U x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x    1
  • 12. Singular Value Decomposition 11) If A is a square symmetric matrix then the singular values of A are the absolute values of the eigenvalues of A.                                                                                    T r V U x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x    1 T T Q Q Q Q A ) sign(      12) If A is a square matrix then i n i A  1 ) det(   
  • 13. SVD and Eigenvalue Decomposition SVD Eigen Decomp Uses two different bases U, V Uses just one (eigenvectors) Uses orthonormal bases Generally is not orthogonal All matrices (even rectangular) Not all matrices (even square) (only diagonalizable) 1    S S A T V U A  
  • 14. Reduced SVD A ̂ T V Û  Reduced SVD
  • 15. Singular Value Decomposition Example : Luke Olson.illinois svd_test.m iguana.jpg
  • 16. Singular Value Decomposition Theorem: (Singular Value Decomposition) SVD m m m R u u u U    ] , , , [ 2 1  If A is real m-by-n matrix, then there exist orthogonal matrices n n n R v v v V    ] , , , [ 2 1  such that T V U A   where 0 2 1     p     (m,n) p min  ) , , ( 1 p diag      A  U T V  Proof:
  • 17. Singular Value Decomposition First approximation to A is T v u A 1 1 1 1   T T v u v u A 2 2 2 1 1 1 2     second approximation to A is       T T T v u v u v u A             2 2 2 1 1 1       T r r r T T v u v u v u A         2 2 2 1 1 1 2 2 1 ) ( inf satisfies also matrix the , 0 with any For : Theroem r F B rank R B F B A A A A r n m                     
  • 18. Singular Value Decomposition In later years he drove a car with the license plate: Trefethen (Textbook author): The SVD was discovered independently by Beltrami(1873) and Jordan(1874) and again by Sylvester(1889). The SVD did not become widely known in applied mathematics until the late 1960s, when Golub and others showed that it could be computed effectively. Cleve Moler (invented MATLAB, co-founded MathWorks) Gene Golub has done more than anyone to make the singular value decomposition one of the most powerful and widely used tools in modern matrix computation.