svdsketch
Compute SVD of low-rank matrix sketch
句法
描述
例子
输入参数
输出参数
尖端
采用
svdsketch
当你提前不了解的时候,排名是指定的svds
,但你知道SVD的近似应该满足的容忍度。svds
计算SVD的最佳等级-K近似值(使用默认值"largest"
方法)。svdsketch
不保证其等级-k近似是最好的,这是它的速度优势svds
。
一种L.gorithms
svdsketch
applies a tolerance to form a low-rank matrix approximation
输入矩阵一种
。这种低级近似称为a矩阵sketch。矩阵素描只能保留重要的功能一种
,过滤不必要的信息。相对近似误差apxErr
矩阵素描旨在满足指定的公差托
:
这个过程svdsketch
遵循以形成矩阵素描是:
svdsketch
迭代地形成矩阵草图,每次迭代都会添加新列问:and new rows toB.。The new columns and rows are created by extracting features from一种
使用随机样本矩阵。您可以控制每个迭代中添加的列和行数B.L.O.ckSize
名称值对。During each iteration,
svdsketch
使用电源迭代来改善新列的正交性问:。You can adjust the number of power iterations with thenumpower杂志
名称值对。迭代以形成矩阵素描停止时间:列中的列数问:和行B.reach the specified value for
maxsubacedimension.
,迭代的数量达到最大
那O.r the relative approximation error converges (apxErr <= tol
)。提高收敛速度,
svdsketch
might increase the specified initial value forB.L.O.ckSize
从迭代到迭代如果衰退apxErr
is not sufficient.
在矩阵素描之后
形成了,svdsketch
计算奇异值分解)T.he matrix sketch via[U1,S,V] = SVD(B,'ECON')
那such that
如果svdsketch
能够过滤掉一些功能一种
based on the specified tolerance, then the resulting SVD factors contain fewer singular values and singular vectors than if a full SVD was performed on一种
。
参考
[1]余,文主,余谷,姚明李。“有效的随机算法,用于固定精度低级矩阵近似。”矩阵分析与应用中的暹罗39, no. 3 (August 2018): 1339–1359.https://doi.org/10.1137/17M1141977。