heucoder / dimensionality_reduction_alo_codes Goto Github PK
View Code? Open in Web Editor NEW特征提取/数据降维:PCA、LDA、MDS、LLE、TSNE等降维算法的python实现
License: Apache License 2.0
特征提取/数据降维:PCA、LDA、MDS、LLE、TSNE等降维算法的python实现
License: Apache License 2.0
S = np.linalg.inv(Sw)*SB
Sw和SB都是ndarray,那么这里的乘号含义应该是矩阵各个位置相乘。如果我没有搞错的话,应该改为矩阵乘法(.dot)才对吧?
reconstruct版里边的实现和这个一样。我不确定仓库里是否有其他类似问题。
(写作业的时候发现对不上,研究了好久。说实话,numpy里边一种乘号还能有两种意义的,实在是令人震惊...)
Thank you very much for sharing your code. I want to use tSNE to visualize my dataset. How can I transform the dataset? In the tSNE example, the input is (n, d), and my image dataset is (n, c, h, w)
from sklearn import datasets
iris_data = datasets.load_iris()
X= iris_data.data
Y= iris_data.target
用上述代码测试了一下,差异很大呢
我照着老师的算法写的代码跑出来也是这个结果
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.