bringtree / question_embedding

这个仓库的issues里记录了许多奇奇怪怪的东西(100+)。
1 stars 1 forks source link

PCA #122

Open bringtree opened 6 years ago

bringtree commented 6 years ago

协方差矩阵 中 最大的前N个特征值 的N个特征向量 作为基向量

bringtree commented 6 years ago

image

bringtree commented 6 years ago

最大化方差 image

bringtree commented 6 years ago

转成拉格朗日问题 image

bringtree commented 6 years ago

转化成求特征值 image

bringtree commented 6 years ago

然后求所有 特征值中 top K就行了