PCA、LDA、MDS、LLE、TSNE等降维算法的Python实现


整理 | 夕颜
出品 | AI科技大本营(ID:rgznai100)
 
【导读】网上关于各种降维算法的资料参差不齐,但大部分不提供源代码。近日,有人在 GitHub 上整理了一些经典降维算法的 Demo(Python)集合,同时给出了参考资料的链接。
 
  1. PCA
        640?wx_fmt=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
        640?wx_fmt=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
        640?wx_fmt=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
        640?wx_fmt=png               640?wx_fmt=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
        640?wx_fmt=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
        640?wx_fmt=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
        640?wx_fmt=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
        640?wx_fmt=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
        640?wx_fmt=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
        640?wx_fmt=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


精彩推荐



640?wx_fmt=png

推荐阅读

640?wx_fmt=png

你点的每个“在看”,我都认真当成了AI

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值