Non-linear Optimization

Least square method

1. Generalized pseudo-inverse

Simply Define :
A x = b , A ∈ R m × n Ax=b, A \in \mathbb{R}^{m\times n} Ax=b,ARm×n
The solution can be generally defined as :
x = A + b x=A^+b x=A+b
Assume r a n k ( A ) = r rank(A) = r rank(A)=r, then deploy BC decomposition method:
A m × n = B m × r C r × n A_{m\times n} = B_{m\times r}C_{r\times n} Am×n=Bm×rCr×n
The generalized pseudo-inverse of A A A is:
A + = C T ( C C T ) − 1 ( B T B ) − 1 B T A^{+} = C^T(CC^T)^{-1}(B^TB)^{-1}B^T A+=CT(CCT)1(BTB)1BT

If r = m r = m r=m(row full rank)
A = E A A = EA A=EA

If r = n r = n r=n(column full rank)

A = A E A=AE A=AE
Then, we can deduce that if matrix A A A is row full rank, the generalized pseudo-inverse of A A A is:
A + = A T ( A A T ) − 1 A^+=A ^T(AA^ T)^ {−1} A+=AT(AAT)1
If A A A is column full rank, A + A^+ A+ is:
A + = ( A T A ) − 1 A T A^ + =(A ^T A) ^{−1} A^ T A+=(ATA)1AT

2. Singular value decomposition (SVD)

Define:
A = U Σ V T , A ∈ R m × n A=U\Sigma V^T, A \in \mathbb{R}^{m\times n} A=UΣVT,ARm×n

The least square problem is:
min ⁡ ∥ A x − b ∥ 2 2 \min \| Ax-b \| ^2 _2 minAxb22
When m > n = r a n k ( A ) m>n=rank(A) m>n=rank(A), it is overdetermined equations:
A = ( U 1 , U 2 ) ( Σ 1 0 ) V T A = (U_1,U_2) (\begin{matrix} \Sigma_1 \\ 0 \end{matrix}) V^T A=(U1,U2)(Σ10)VT
U 1 ∈ R m × r U_1 \in \mathbb{R}^{m\times r} U1Rm×r , x x x can be described as:

x = V Σ 1 − 1 U 1 T b x = V\Sigma_1^{-1}U_1^T\bm b x=VΣ11U1Tb

When n > m = r a n k ( A ) n>m=rank(A) n>m=rank(A), then:
A = U T ( Σ 1 0 ) ( V 1 T V 2 T ) A = U^T (\begin{matrix} \Sigma_1 & 0 \end{matrix}) (\begin{matrix} V_1^T \\ V_2^T \end{matrix}) A=UT(Σ10)(V1TV2T)
V 1 T ∈ R r × n V_1^T \in \mathbb{R}^{r\times n} V1TRr×n, thus:
x = V 1 Σ 1 − 1 U T b x = V_1\Sigma_1^{-1}U^T\bm b x=V1Σ11UTb

Reference:

  1. 矩阵SVD分解
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值