def apply_uv_decomposition(self):
U, Sigma, VT = randomized_svd(self.behaviour_matrix,
n_components=15,
n_iter=10,
random_state=None)
print(U.shape)
print(VT.shape)
self.X_hat = np.dot(U, VT) # U * np.diag(Sigma)
model_fitter.py 文件源码
python
阅读 20
收藏 0
点赞 0
评论 0
评论列表
文章目录