Let A
be a matrix of dimension m×n, representing the original data set.
The QR decomposition, [Q, R] = qr (A)
produces:
Upper triangular matrix
R
of the same dimension asA
Unitary matrix
Q
so that A = Q*R
If [m, n] = size (A)
, then
Q
is m-by-m
and
R
is m-by-n
How can I use QR-Decomposition to reduce the dimension (reduce the number of columns or features) of A
?