zclfly / pymf Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/pymf
Automatically exported from code.google.com/p/pymf
scipy >= v0.10
pymf 0.1.1
python > 2.6
pymf barfs at:
>>> import pymf
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/pymf/__init__.py", line 41, in <module>
from .sivm_sgreedy import *
File "/usr/lib/python2.7/site-packages/pymf/sivm_sgreedy.py", line 25, in <module>
from vol import *
File "/usr/lib/python2.7/site-packages/pymf/vol.py", line 20, in <module>
from scipy import factorial
ImportError: cannot import name factorial
This can be fixed by editing pymf/vol.py and changing:
from scipy import factorial
to
from scipy.misc import factorial
Original issue reported on code.google.com by [email protected]
on 14 Apr 2012 at 6:48
In vol.py you're trying to do
from scipy import factorial
while for newer SciPy versions the correct way is to do
from scipy.misc.common import factorial
This is also the way you're doing it in sivm_search.py.
Original issue reported on code.google.com by [email protected]
on 21 Oct 2013 at 7:49
What steps will reproduce the problem?
1. can this program support python
csc_matrix?http://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.csc_
matrix.html
Original issue reported on code.google.com by [email protected]
on 6 Nov 2011 at 9:02
What steps will reproduce the problem?
1. python scripts/testpymf.py
What is the expected output? What do you see instead?
'module' object has no attribute 'eigen_symmetric'
What version of the product are you using? On what operating system?
PyMF-0.1.1, scipy 0.9.0, Fedora linux 64-bit
Please provide any additional information below.
replaced 'eigen_symmetric' with 'eigsh' according to
https://github.com/marinkaz/MF/issues/6 can made the testpymf.py run though,
not sure whether this is a good solution
Original issue reported on code.google.com by [email protected]
on 29 Oct 2011 at 10:05
What steps will reproduce the problem?
1. mf = pymf.CHNMF(data)
2. mf.factorize()
3. mf.W
What is the expected output? What do you see instead?
The documentation makes me believe, that I can find the columns of mf.W in
data. This, however, is not the case. The data points closest to the columns of
mf.W are stored in mf.Wmapped and are thus probably not used for the
factorization.
What version of the product are you using? On what operating system?
0.1.9 checked out of subversion 16.Nov. 2012
Please provide any additional information below.
Is this a bug, or intended behaviour? I mean, the way Wmapped is created
(selecting the closest data point), it is very probable, that the columns of
Wmapped are not on the convex hull of the data.
Original issue reported on code.google.com by [email protected]
on 16 Nov 2012 at 9:05
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.