python用tsne降维_PCA、LDA、MDS、LLE、TSNE等降维算法的Python实现

整理 | 夕颜

出品 | AI科技大本营(ID:rgznai100)

【导读】网上关于各种降维算法的资料参差不齐,但大部分不提供源代码。近日,有人在 GitHub 上整理了一些经典降维算法的 Demo(Python)集合,同时给出了参考资料的链接。

  1. PCA
1ecdd812e07b050b6b8ca0f8d027f5ee.png

资料链接:https://blog.csdn.net/u013719780/article/details/78352262

https://blog.csdn.net/u013719780/article/details/78352262

https://blog.csdn.net/weixin_40604987/article/details/79632888

GitHub代码:https://github.com/heucoder/dimensionality_reduction_alo_codes/tree/master/codes/PCA

  1. KPCA
76a33233b077afac8c0fbca1989401c8.png

资料链接:https://blog.csdn.net/u013719780/article/details/78352262

https://blog.csdn.net/weixin_40604987/article/details/79632888

https://blog.csdn.net/u013719780/article/details/78352262

GitHub代码:https://github.com/heucoder/dimensionality_reduction_alo_codes/tree/master/codes/PCA

  1. LDA
647246f0ecaf1e2856c8d764ef20a686.png

资料链接:https://blog.csdn.net/ChenVast/article/details/79227945

https://www.cnblogs.com/pinard/p/6244265.html

GitHub代码:https://github.com/heucoder/dimensionality_reduction_alo_codes/tree/master/codes/LDA

  1. MDS
e18b968961022b9d41a2776a48c6ffdd.png
a262ff214811080265703f03ade6966a.png

资料链接:https://blog.csdn.net/zhangweiguo_717/article/details/69663452?locationNum=10&fps=1

GitHub代码:https://github.com/heucoder/dimensionality_reduction_alo_codes/tree/master/codes/MDS

  1. ISOMAP
989a44b9ec4818c82318beac57231aed.png

资料链接:https://blog.csdn.net/zhangweiguo_717/article/details/69802312

http://www-clmc.usc.edu/publications/T/tenenbaum-Science2000.pdf

GitHub代码:https://github.com/heucoder/dimensionality_reduction_alo_codes/tree/master/codes/ISOMAP

  1. LLE
6ff50ac053ff17a0c64b6f417873d182.png

资料链接:https://blog.csdn.net/scott198510/article/details/76099630

https://www.cnblogs.com/pinard/p/6266408.html?utm_source=itdadao&utm_medium=referral

GitHub代码:https://github.com/heucoder/dimensionality_reduction_alo_codes/tree/master/codes/LLE

  1. TSNE
b4b7a10b46a5a2d24ed5f191b35f6484.png

资料链接:http://bindog.github.io/blog/2018/07/31/t-sne-tips/

GitHub代码:https://github.com/heucoder/dimensionality_reduction_alo_codes/tree/master/codes/T-SNE

  1. AutoEncoder
9bf1b443d89cc194cf3c2f1f8b565831.png
  1. FastICA

资料链接:https://blog.csdn.net/lizhe_dashuju/article/details/50263339

GitHub代码:https://github.com/heucoder/dimensionality_reduction_alo_codes/tree/master/codes/ICA

  1. SVD

资料链接:https://blog.csdn.net/m0_37870649/article/details/80547167

https://www.cnblogs.com/pinard/p/6251584.html

GitHub代码:https://github.com/heucoder/dimensionality_reduction_alo_codes/tree/master/codes/SVD

  1. LE
126b3dc105e5fe4648e80fa4dbfa5e55.png

资料链接:https://blog.csdn.net/hustlx/article/details/50850342

https://blog.csdn.net/jwh_bupt/article/details/8945083

GitHub代码:https://github.com/heucoder/dimensionality_reduction_alo_codes/tree/master/codes/LE

  1. LPP
6f141c4bbd545b25e3df65adffb33703.png

资料链接:https://blog.csdn.net/qq_39187538/article/details/90402961

https://blog.csdn.net/xiaohen123456/article/details/82288222

GitHub代码:https://github.com/heucoder/dimensionality_reduction_alo_codes/tree/master/codes/LPP

此外,作者还指出本次整理的降维算法实现环境为 Python3.6、ubuntu18.04(windows10) ,需要的库包括 numpy、sklearn、tensorflow 和 matplotlib,且具有以下特点:

  • 每一个代码都可以单独运行,但是只是作为一个demo,仅供学习使用;
  • 其中 AutoEncoder 只是使用 AutoEncoder 简单地实现了一个 PCA 降维算法,自编码器涉及到了深度学习领域,其本身就是一个非常大的领域;
  • LE 算法的鲁棒性极差,对近邻的选择和数据分布十分敏感
  • 2019.6.20 添加了 LPP 算法,但是效果没有论文上那么好,有点迷,后续需要修改。

项目 GitHub 链接:https://github.com/heucoder/dimensionality_reduction_alo_codes

(*本文为 AI科技大本营投稿文章,转载请微信联系 1092722531)

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值