Git Product home page Git Product logo

pymf's People

pymf's Issues

Error Can't import factorial from scipy 0.10

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

ImportError trying to import factorial from scipy

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

eigen_symmetric in pymf/svd.py not compatible with scipy 0.9.0 or later

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

vectors in W do not correspond to actual data points after CHNMF computation

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.