기초 수학 및 확률 및 통계 기본
기본적 수학 개념 : Vector
Scalar : single number
- 0th order tensor
- example : 1,−0.2,...
Vector : array of numbers
- 1st order tensor
- example : v=[0.1,0.7,−0.2]
- 속도나 물리적인 힘처럼 "방향"이 있는 것
- Zero Vector (null vector) : vector의 시점과 종점이 동일
- 크기가 0, addcitive identity(항등원) in a vector space
- example : [00], 굵은 글씨로 0 또는 0로 표시
Types of Vector
-
Unit Vector
- 크기가 1
- example : [1/21/2]
-
Row Vector
- v=[0.1,0.7,−0.2]
-
Column Vector
- v=⎣⎢⎡0.10.7−0.2⎦⎥⎤
Vector Operations
- Addition
- Scalar Multiplication
- Dot Product
- For v=[a1...an],u=[b1...bn],v⋅u=∑i=1naibi where the size of each vector is equal.
Note)v⋅u=vuT
Norm
- Motivation
어떻게 하면 주어진 벡터의 길이 또는 크기를 정의(측정)할 수 있을까?
- Definition
- A norm on a vector space V is a function, ∣∣x∣∣:V→R
- x→∣∣x∣∣s.t.∀λ ∈Randx,y∈V the followings hold
- Absolutely homogenous : ∣∣λx∣∣=∣λ∣∣∣x∣∣
- Triangle inequality :∣∣x+y∣∣≤∣∣x∣∣+∣∣y∣∣
- Positivie definite : ∣∣x∣∣≥0and∣∣x∣∣=0 if and only if x=0
- example
- The length of xinR2,whichimpliesL2norm
- ∣∣x∣∣2=(x12+x22)1/2=x12+x22
Note)LpNorm:=(∑i=1n∣xi∣p)1/p
Further Topics
Matrix : 2-D array
- 2nd order tensor
- example : A = ⎣⎢⎡0.11.3−0.50.2−1.40.6⎦⎥⎤
Tensor
- 만약 2차원보다 더 큰 차원을 표현하고 싶다면 ??