Python与矩阵论——特征值与特征向量

Python与矩阵论——特征值与特征向量

1433065-20180808221810799-1500268176.png
1433065-20180808221822429-314653195.png

The Unknown Word

The First ColumnThe Second Column
receptive field[ri'septiv] [fild]感受野
filter滤波器['filte]
toggle movement['ta:gl]转换 ['muvment]动作
recurrent循环的[ri'ke:rent]
ReLUThe Rectified Linear Unit
rectified['rekte faie]整流器
leaky有漏洞的['liki]
tuning['tju:ning]调谐
SGDStochastic gradient descent
stochastic[ste'kae stik]随机的
hypothesis[hai'pa:thesis]假设
SVDSingular Value Decomposition 万能矩阵分解
singular['singjule(r)]奇特的
decomposition[dikamlpe'zition]分解
formatn.版式 vt.格式化

PCA 降维举例

1.X=\(\begin{bmatrix} -1 & -1 & 0 & 2 & 0 \\-2 & 0 & 0 & 1 & 1 \\ \end{bmatrix}\)\(C_x\)=\(\begin{bmatrix} 6/5 & 4/5 \\ 4/5 & 6/5 \\ \end{bmatrix}\)
2.计算\(C_x\)特征值为:\(\lambda\)=2,\(\lambda_2\)=2/5,特征值特征向量为$\begin{bmatrix} \sqrt{2} \ \sqrt{2} \ \end{bmatrix} $ ,可验证\(\Lambda\)=\(U^T\)\(C_x\)U
3.降维:\(\begin{bmatrix} 1/\sqrt{2}\ & -1/\sqrt{2}\ \end{bmatrix}\)X=\(\begin{bmatrix} -3/\sqrt{2}\ & -1/\sqrt{2}\ & 0 & 3/\sqrt{2}\ & -1/\sqrt{2}\ \end{bmatrix}\)

Gradient vector and Hessian matrix

  • Function : f(x)=2\(x_1^3+3x_2^2+3x_1^2x_2-24x_2\)
  • calculate(Gradient vector and Hessian matrix): \(\nabla\)f(x)=\(\begin{bmatrix} 6x_1^2+6x_1x_2 \\ 6x_2+3x_1^2-24 \\ \end{bmatrix}\)\(\nabla^2\)f(x)=6\(\begin{bmatrix} 2x_1+x_2 & x_1 \\ x_1 & 1 \\ \end{bmatrix}\)

The Unknown Word

The First ColumnThe Second Column
convex optimization凸规划
optimization[optemi'zetion]最优化

转载于:https://www.cnblogs.com/hugeng007/p/9446067.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值