matlab svd降维测试数据集,数据降维--SVD&CUR

f813220c9c6dd94bb70956c00ef9186b.png

1c940f95a38238513653aab5f7c1ba48.png

矩阵的秩

026b9dc240cdddf0e94ec201847ac456.png

秩即维度

18cf8e346495676339965f3410e34e92.png

7f09c9253c2bb252025d4e6a0a8154f5.png

7645a5ff3877009a52afcbcf13635e6f.png

SVD

672e99545daf50ebc30afca09e26bca9.png

3b082f817f8017136a6a0d23a39c6006.png

c18b825e4a22458128172820e22d2d7f.png

使用SVD降维

44ddf0fad78b26bebc9f8d835c44275e.png

SVD示例

eaaeb8d7a7fdfb446e4876ac8ef1f254.png

082f366accc5636a874d9d318054f0fb.png

50ea49f89298500e22e4f36108f8104c.png

We have used three columns for U, Σ, and V,the columns of U and V correspond to concepts.The first is “science fiction”and the second is “romance.” It is harder to explain the third column’sconcept, but it doesn’t matter all that much, because its weight, as given by the third nonzero entry in Σ, is very low compared with the weights of the first two concepts.

Let us think of the rows of A as people and the columns of A as movies. Then matrix U connects people to concepts. For example, the person Joe, who corresponds to row 1 of A, likes only the concept science fiction. The value 0.13 in the first row and first column of U is smaller than some of the other entries in that column, because while Joe watches only science fiction, he doesn’t rate those movies highly. The second column of the first row of U is 0, because Joe doesn’t rate romance movies at all. The matrix V relates movies to concepts. The 0.56,0.59 and 0.56 in each of the first three columns of the first row of VT indicates that the first three movies –Matrix, Alien, and Star Wars – each are of the science-fiction genre, while the 0’s in the last two columns of the first row say that these movies do not partake of the concept romance at all. Likewise, the second row of VTtells us that the movies Casablanca and Titanic are exclusively romances.

Finally, the matrix Σ gives the strength of each of the concepts.In our example, the strength of the science-fiction concept is 12.4, while the strength of the romance concept is 9.5. Intuitively,the science-fiction concept is stronger because the data provides more moviesof that genre and more people who like them.

6ea7703dcce36f7243ed81671a031a37.png

d3115f60300f045615b0b33759c3fbae.png

c47e0ee17a653c0c7bb890f5b1b61fb8.png

bf33e88a93af628dcbf88db9b2ef604b.png

b134cb27ddaec12ef65b661f87d5faec.png

fde3dc197cb26e55dc1ff4a3b1a29e64.png

74b8f8add679e43cd187e654e886c4b0.png

0e1e825667686dc25e2d07fbbde3cec5.png

84ea9094fc5783ed2a5a522c9c7e70b4.png

a96ff259f2c900a446ff708015ee1ece.png

c3f20f3cd107225bca001f6118d72109.png

8ed65ef46ec65892e1f6927a7fc4347f.png

e7bcf39a20a4d8e2cc2f3d2746490ff5.png

29502ae5d8929038f22edf323d82221e.png

7d171d1746a9f275b69f1b06eb54eadd.png

df1b0fc4931cd69c5a58db4edcdc7576.png

ea7631d8fa410b14d446366ceffa1caf.png

14ebc8d99e83875d11295772b8d342f3.png

8d17973100931ef4159214d1580e2fc1.png

CUR分解

88561df0563c335416964366f9f49478.png

a64d3de1799b7f9c2f71c905789ddec2.png

1b68bf76f1bae6238c06c826d1554e5d.png

5568dcade73de07bfc4214e3e00c8131.png

6227353342fda77aff62f6908cc0b295.png

Computing U

e0296983a4e008e1a0c5bfef41a094b8.png

CUR: Provably good  approx. to SVD

6fa805d94b7a1c11a9a6e8aa02f139e4.png

393335c0bae91c37a3c7be51f6554891.png

SVD和CUR比较

d8270c6593b5586f945f1b535648db4c.png

参考文献

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值