-
Notifications
You must be signed in to change notification settings - Fork 135
Description
Hello,
I am receiving the following error when using the Lfnmf method (with nnsvd seed). This data works fine with other methods (for instance NMF, LSNMF and SNMF):
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/IPython/core/interactiveshell.py", line 3441, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 83, in
fit = nmf()
File "/home//.local/lib/python3.9/site-packages/nimfa/models/nmf.py", line 118, in call
return self.factorize()
File "/home//.local/lib/python3.9/site-packages/nimfa/methods/factorization/lfnmf.py", line 172, in factorize
self.update()
File "/home//.local/lib/python3.9/site-packages/nimfa/methods/factorization/lfnmf.py", line 239, in update
w_1 = sum(self.H[k, j] * self.V[i, j] / (dot(self.W[i, :], self.H[:, j])[0, 0] + 1e-5)
File "/home//.local/lib/python3.9/site-packages/nimfa/methods/factorization/lfnmf.py", line 239, in
w_1 = sum(self.H[k, j] * self.V[i, j] / (dot(self.W[i, :], self.H[:, j])[0, 0] + 1e-5)
File "/usr/local/lib/python3.9/dist-packages/numpy/matrixlib/defmatrix.py", line 193, in getitem
out = N.ndarray.getitem(self, index)
IndexError: index 1213 is out of bounds for axis 1 with size 1213