我在 TfIdf 矩阵上拟合 LSA 模型。我的原始矩阵有
(20, 22096) 然后我应用 TruncatedSVD 来执行 LSI/Reduction
svd = TruncatedSVD(n_components=200, random_state=42, n_iter=10)
svdProfile = svd.fit_transform(profileLSAVectors)
print(np.shape(svdProfile)) #result (20, 20)
而不是得到 (20,200) 我得到 (20, 20)
任何人都知道为什么......?