Computational Physics, Python, Linear Algebra, Svd, Code.
lam=100; lr=0.05 for i in range(1000): upd_t(t_vectors,t_W,t_H,lr) if i % 100 == 0: report_t(t_vectors,t_W,t_H) lr *= 0.9 for i in range(1000): upd_t(t_vectors,t_W,t_H,lr) if i % 100 == 0: report_t(t_vectors,t_W,t_H) lr *= 0.9 plt.plot(t_H.cpu().numpy()[0]) t_W.mm(t_H).max() tensor(0.3829)