yuns
2.1 Linear Algebra 본문
반응형
2.1.1 Basic Concepts
- Scalar: A number
- Vector: A column of ordered numbers x=[x1x2⋮xn]
- norm of vector: the length
- Lp norm: ||x||p=(∑ni=1|xi|p)1/p
- L1 norm: ||x||1=(∑ni=1|xi|)
- L2 norm: ||x||2=√∑ni=1xi2 --> used to measure the length of vectors
- L∞ norm: ||x||∞=maxi|xi|
- the distance of two vectors x1,x2 is Dp(x1,x2)=||x1−x2||p
- a set of vectors x1,x2,⋯,xm are linearly independent iff there does not exist a set of scalars λ1,λ2,⋯,λm, which are not all 0, such that λ1x1+λ2x2+⋯+λmxm=0
- norm of vector: the length
- Matrix: 2-dimensional array A=[a11a12⋯a1na21a22⋯a2n⋮⋮⋮⋮am1am2⋯amn] where A∈Rm×n
- Matrix Product: For A∈Rm×n and B∈Rn×p, matrix product of AB is denoted as C∈Rm×p and calculated as Cij=n∑k=1AikBkj
- Features
- (AB)C = A(BC) --> always true
- AB = BA --> not always true
- Features
- Determinant: det(A)=∑k1k2⋯kn(−1)τ(k1k2⋯kn)a1k1a2k2⋯ankn
- Inversion Matrix: If matrix A is a square matrix, the inverse matrix of A satisfies A−1A=I
- Transpose: ATij=Aji
- Hadamard product: Cij=AijBij where A∈Rm×n, B∈Rm×n and C∈Rm×n
Hadamard product (matrices) - Wikipedia
The Hadamard product operates on identically shaped matrices and produces a third matrix of the same dimensions. In mathematics, the Hadamard product (also known as the element-wise, entrywise[1][2]:ch. 5 or Schur[3] product) is a binary operation that tak
en.wikipedia.org
2.1.2 Eigendecomposition (고유값 분해)
- Let A be a matrix in Rn×n, v∈Cn and λ∈C Av=λv
- λ : eigenvalue of A
- v: eigenvector of A

- Let V=[v1v2⋯vn] (V: invertible matrix)
- Eigendecomposition of A(diagonalization) A=Vdiag(λV−1)
2.1.3 Singular Value Decomposition(특이값 분해 SVD)
eigendecomposition(고유값 분해)와 같이 행렬을 대각화하는 방법
- singular value
- r: the rank of ATA
- 0<σr≤⋯≤σ2≤σ1 such that 1≤i≤r
- vi is an eigen vector of ATA with corresponding eigenvalue sigma2i.
- singular value of A is σ1,σ2,⋯,σr.
- singular value decomposition A=U∑VT
- U∈Rm×m, V∈Rn×n and ∑ (where ∑ij=σi (iff i=j≤r))
반응형
'graph deep learning > #2 Basics of Math and Graph' 카테고리의 다른 글
2.2 Probability Theory (0) | 2020.11.04 |
---|