You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thank you for making this the factorization module nmf available.
That said, I can't try your example because I can't install the nmf package, even after installing the cvxopt, numpy packages.
I finally installed pymf3, but the example doesn't work.
Thanks in advance for your help.
`import numpy as np
import pymf3 as pymf
data = np.array([[1.0, 0.0, 2.0], [0.0, 1.0, 1.0]])
nmf_mdl = pymf.nmf(data, num_bases=2, niter=10)
nmf_mdl.initialization()
nmf_mdl.factorize()
Hi,
Thank you for making this the factorization module nmf available.
That said, I can't try your example because I can't install the nmf package, even after installing the cvxopt, numpy packages.
I finally installed pymf3, but the example doesn't work.
Thanks in advance for your help.
`import numpy as np
import pymf3 as pymf
data = np.array([[1.0, 0.0, 2.0], [0.0, 1.0, 1.0]])
nmf_mdl = pymf.nmf(data, num_bases=2, niter=10)
nmf_mdl.initialization()
nmf_mdl.factorize()
AttributeError Traceback (most recent call last)
in
2 import pymf3 as pymf
3 data = np.array([[1.0, 0.0, 2.0], [0.0, 1.0, 1.0]])
----> 4 nmf_mdl = pymf.nmf(data, num_bases=2, niter=10)
5 nmf_mdl.initialization()
6 nmf_mdl.factorize()
AttributeError: module 'pymf3' has no attribute 'nmf'
`
The text was updated successfully, but these errors were encountered: